Get ready for the STM32 Summit 2026 | Online, November 3
Join discussions in the Product Forums. Ask questions, learn from your peers, and share insights on ST solutions to accelerate your design journey.
Most recent activity
Hi everyone,I am learning STM32 bootloader development and I would appreciate some guidance.Hardware STM32 Nucleo-G431RB Windows PC USB-to-TTL UART converter UART communication RequirementI already have an application HEX file.My goal is to update the firmware through UART using a custom bootloader.I do not want to use: STM32CubeIDE ST-LINK STM32CubeProgrammer Any IDE during firmware update The complete firmware update should happen only through UART.What I want to achievePC↓Application (my own program)↓UART (TTL)↓Custom Bootloader↓STM32 Flash Memory↓Jump to ApplicationQuestions What should be my first step to implement this? Should my PC application send the HEX file directly, or should it first convert it into BIN? Should the bootloader parse Intel HEX records, or is it better to send binary data? What communication protocol is commonly used for custom UART bootloaders? Packet format Start byte Length CRC ACK/NACK What is the recommended fl
Hello,We are using an STM32H743 MCU with the LI10600T070IA3098-TCF LCD panel (1024×600 resolution) through a 24-bit RGB LTDC interface. We are experiencing display flickering, as shown in the attached video.Could you please help us identify the possible root cause? Kindly let us know what additional information (schematic, LTDC timing parameters, oscilloscope captures, PCB layout, etc.) would be required from our side to assist in debugging this issue.Any guidance or recommendations would be greatly appreciated.https://drive.google.com/file/d/1wClnXqdIc8OI-4y19CmWxJERnSnIYUK-/view?usp=sharing
[English was established as the common basis so that everyone in the global community can understand each other (see ST Community Terms and Conditions - STMicroelectronics Community, article 10)]Dear STMicroelectronics Technical Support,Hello,We are a company in the rail transport industry and are currently using your TL084AI operational amplifier. However, during use, we have noticed inconsistencies in the markings on the surface of the devices. I have attached an example in the image below. What does “MZE5303” mean? (Note: we currently have another batch, such as MZE4303. What does this represent?) Which characters indicate the date code (for example, the batch number)? We would appreciate your detailed explanation. Thank you in advance. 尊敬的意法半导体技术支持,您好,我们是一家铁路交通行业的公司,目前正在使用您的TL084AI运算放大器。然而,在使用过程中,我们注意到设备表面的标记存在不一致。我在附图中附上了一个例子。“MZE5303”是什么意思?(注:我们目前还有另一批,比如MZE4303。这代表什么?)哪些字符代表日期代码(例如批号)?我们希望能得到您的详细解释。提前感谢大家。
Hi, we are in the initial stage of our project and planning to use STM32H7S7I8T6, we need to have a 128MByte of external RAM as per our requirements but only 64MByte of PSRAM is available in market currently, is it possible to add two 64MByte of PSRAM to the MCU (If any please provide the guidance/design note) or any other options ?
Specific STM32H7 series MCUs have the DCMI peripheral greyed out in STM32CubeMX version 6.17.0.See this image:Hovering over the peripheral it displays "Not available: DCMI and PSSI are in exclusive choice"I opened a few projects with different MCUs and checked whether the DCMI was greyed out:STM32H723ZGIx - WorkingSTM32H725IEKx - WorkingSTM32H730ZBIx - WorkingSTM32H733ZGIx - WorkingSTM32H735IGKx - WorkingSTM32H742BITx - Not workingSTM32H743XGHx - Not workingSTM32H745BGTx - Not workingSTM32H747XGHx - Not workingSTM32H750IBTx - Not workingSTM32H753Allx - Not workingSTM32H755XIHx - Not workingThe PSSI peripheral is notably absent from the list of available peripherals (correctly as per the datasheet) in STM32CubeMX for the parts where DCMI has been disabled.This is clearly a bug in the mutually exclusive check in STM32CubeMX between the DCMI and PSSI, failing on the parts without the PSSI peripheral. See: STM32CubeMX 6.15.0 claims "DCMI and PSSI are in exclusive choice" for STM32H753ZIT
Hey,I want to enable a fast connection with the STM32WB09KE. How do i avoid that the services and characteristics are discoverd every connection? i toughts there was a option for that when using the full ble stack. But whit this firmware and mcu i don’t see it in the STM32CubeMX. So before is start is this possible with this MCU and ble firmware options? Thx in advance! Best regardsMathias
I tried to program an STM32F407-DISC1 board in CubeIDE 2.1.1 after an IDE update and after a my break from programming.With "GDB server" I get an endless "Waiting for debugger connection..." state with "Configuring GDB" in the progress tab. With "OpenOCD" everything stops at:Listening on port 3333 for gdb connectionsInfo : [STM32F407VGTx.cpu] external reset detectedAt the same time I can download a .bin file through STM32CubeProgrammer, so the cable and the IC’s seem to be fine.I have upgraded the ST-LINK firmware, installed the stsw-link009 driver, and disabled Windows Firewall — none of this helped.What else could I try?
Some applications have the need to use an external interrupt from an GPIO input that is already configured as alternate function. My use case is to use EXTI on a rising edge of SPI_NSS input to detect a terminated SPI transfer on a slave.So I need the combination of MODE_AF and EXTI_IT when configuring the GPIO input pin. Unfortunately, HAL does not support this and asserts on IS_GPIO_MODE(__MODE__) for this combination.However, STM32 MCUs usually support this combination, so it makes sense to support this in HAL.To allow this, I added some definitions in stm32g4xx_hal_gpio.h:#define GPIO_MODE_AF_IT_RISING (MODE_AF | EXTI_IT | TRIGGER_RISING) /*!< Alternate Function with External Interrupt Mode with Rising edge trigger detection */ #define GPIO_MODE_AF_IT_FALLING (MODE_AF | EXTI_IT | TRIGGER_FALLING) /*!< Alternate Function with External Interrupt Mode with Falling edge trigger detection
Hi friends, Does have processors from this family a dedicated input pin as the the input for inner LDO? It will be in the future to supply the inner LDO with the voltage Vcc/2 from the splitter like LM2665 or other. best regards zbynoB
Hi! We are using the STM32MP153 with FreeRTOS on the CoPro side and OpenEmbedded/Yocto Linux on A7 side. To save power, the CStop mode is used. We go to CStop using`HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI);`on the CoPro side and using`echo deep > /sys/power/mem_sleepsystemctl suspend`on Linux side.The CoPro is waken up by a falling edge on pin PI8 via an EXTI interrupt.The Linux also wakes up using a falling edge on pin PI8 (modified device tree).Sometimes (approx. every 10 wakeups, but I can’t reliably tell), a Hard Fault occurs on the CoPro shortly after waking up. I noticed that, when that happens, the memory area 0x10040000 through (at least) 0x10042a80 is overwritten with 0xFF. This is where the IPC shared memory is, which leads to an invalid load operation, causing the Hard Fault. Also, on Linux side, a message occurs `[ 272.028406] virtio_rpmsg_bus virtio0: output:id 4294967295 out of range`.Sometimes, the memory area of approx. 0x1003D000 through 0x100
HelloMy Nucleo-H755ZI-Q board disconnected mid-STLINK firmware update, and I am now unable to complete the process.Could you please guide me on the next steps to resolve this?
I’m designing a tag coil for the ST25DV-04k. I am planning to use the ST25 to harvest NFC energy from a phone tap for a bioimpedance sensor (MAX30002). The ST25DV will then relay the sensor measurement to the phone via NFC again. I used an online calculator to design the tag coil, and these were the parameters I chose. Parameters for tag coilHowever, I am unsure if my quality factor is too high. “59.77” is before coupling, and I assume it will be lower after that. I understand that a high Q is great for energy harvesting, but it can limit the bandwidth and garble communication between the tag and the reader.Is my Q too high right now? If so, what is the optimal Q factor range? Anything else that stands out from my coil design?
Hi,I am using TouchGFX 4.26.1 on a custom STM32N655x0 board. Most widgets (Box, Text, Button, SVG, Slider, etc.) render correctly, but Canvas Widgets such as Line, Circle, Shape, and the graph plot lines are not rendered. The graph background/grid is visible, but the plotted lines are missing.The same TouchGFX project works correctly on the STM32N657-DK, but not on the STM32N655 custom board.Is there any known limitation or additional configuration required for Canvas Widgets/NemaGFX/NeoChrom GPU2D on STM32N655? Are there any differences in Canvas Widget support between STM32N655 and STM32N657?I've attached screenshots of the designed UI and the actual output on the custom board. TouchGFX design Custom board display STM32N6570-DK’s display Thank you.
Dear Sir/Madam,We use STPS20200CG-TR Schottky diode in our unit. This diode has operating junction temperature range -40C...175C and storage temperature range -65...175C. Our unit must start operating at -55C. Will STPS20200CG-TR operate at -55C ambient temperature without being damaged and which parameters may deteriorate?Thank you,Alex
Hi community, I have been having trouble with finding the correct steval-mki217v1 motionFX 9axis fusion Sensor orientation: NED, ENU, SEU, NWU. the only resouce I had was from IKS01A1 Nucleo eXpansion board. I had tried several combination and had the best combination shown below.Please feel free to correct what I got wrong here.Could someonr confirm this sensor orientaion I use on the right is correct as well as how can I determine the north east west south from this shield?
Hi team, Reposting my earlier query as it appears to have been missed.How do I measure the peak RAM and peak Flash usage of an AI model?I need to calculate peak RAM and peak Flash from the IDE, but the model generated by ST Edge AI is in HEX format and is not included in the IDE's reported size. So, I'm adding the HEX file size to the IDE's peak RAM and peak Flash figures — is this approach correct? Details are shared below. KWS cpu+npuIDE Flash = text + data = 205,404 + 1,616 = 207,020 bytes ≈ 202.17 KBRAM = data + bss = 1,616 + 102,040 = 103,656 bytes ≈ 101.23 KBFor cpu+npu we flash the model in hex format, so we need to add the peak ram and peak flash of hex file with IDE peak ram and peak flash. model size - Total Peak Ram and Peak FlashPeak RAM = (103,656 + 22,065 = 122.77 KB) Peak Flash = (207,020 + 22,065 = 223.72 KB)
Product: STM32CubeProgrammer 2.22.0 (Linux x86-64) Interface: SWD / STLINK-V3 (dual probes) Target: STM32F427 (DEV_ID 0x419)DescriptionRunning --incremental flash against one STLINK-V3 probe while a second STLINK-V3 is physically connected (but not commanded) produces a deterministic SIGSEGV inside ST_LINKInterface::programMemory.Call chain at crash:DebugInterface::programBufferFlashLoader (@ 0x206400) FlashLoaderMng::Loader_WriteRange ST_LINKInterface::programMemory ← SIGSEGV @ 0x727b81Root cause: use-after-free on Target::loadersTarget::loaders is a BSS-global loader table shared across all code in the process. When the second probe is plugged in, the library's internal USB hotplug callback fires, rescans the bus, and rebuilds — freeing — the loader table while the incremental flash write loop holds a pointer into it. There is no lock observed on the table.The sequence at the crash site (DebugInterface::programBufferFlashLoader @ 0x206400):206631: mov 0x40(%rsp),%rdi
[PN]: EVSPIN32G06Q2S1[VERSION]: MCSDK 6.4.1[TOOL]: MC WB[DETAILS]:6step and sensorlessabout the BEMF circuit, BJT(Q2/Q5/Q8) the MCWB give me a tip should I keep the BJT and short B-E?wha’s the purpose of these BJT(Q2/Q5/Q8)?
I downloaded X-CUBE-AI, but after clicking it, the Add network button did not appear, and uninstalling and reinstalling the IDE also did not work.
The schematic is shown below. I have pulled down BOOT0 to ground through a jumper , power supply voltage is normal. Could you please help me check if there is a problem with the MCU configuration。
On a garage floor a small limestone block 150 mm by 50 mm by 20 mm on a fixed roller support XXXXXXXXXXXXXAF RSensor at A, the F and R are small wooden blocks and a roller. I pick up the electrical signal to 420 Hz. The limestone is vibrating at 460 Hz quite nicely as it is a heavily degraded block so the Sensor TileBox Pro is quite good, but should I normally see electrical signals this high, the CX1 stops at about 180.
Hello All,We are adding the IIS2MDCTR magnetic sensor in our existing product.The concern we share is that this is a magnetic sensor and will it affect the MRI machine or its results when installed in the MRI Room.Our product is an Emergency Exit Light a manadatory product but as of now without the magnetic sensor. Please share your feedback.
I am trying to make the ADC channels sample the current through some motor channels synchronised to the center of the center aligned PWM waveform to avoid switching noise.The microcontroller I am using is the STM32F411 series, and I am using the first 3 channels of Timer 2 for PWM. The 4th channel is set to "Output compare no output", and I also set the timer trigger output event selection to Output compare (OC4REF). I set the pulse of channel 4 to the TOP value of the timer so it triggers when the counter counts to the TOP (midpoint of PWM). For the ADC, i am trying to sample 4 inputs (2 phases for 2 motors) and shift the data into a buffer using DMA. I enabled scan conversion mode as well as DMA continuous requests, and set the trigger source to Timer 2 capture compare 4 event, triggered on the rising edge. The ADC global interrupt is also enabled.In code, I started timer 2 using:HAL_TIM_Base_Start(&htim2); HAL_TIM_OC_Start(&htim2, TIM_CHANNEL_4);Then, I start the ADC us
Hello ST Community,I am currently working on a hardware integration project where a Xilinx ZCU104 FPGA acts as the SPI Master, and an STM32F446RE acts as the SPI Slave. We are attempting to establish a stable full-duplex SPI communication using DMA, but we are consistently encountering a "Communication Timeout" on the Master side, and the STM32 RxBuffer remains empty (all zeros).Here are the implementation details and the troubleshooting steps we have already verified:### 1. Configuration & Code Snippet* Data Size: 8-bit SPI data size, but grouped into 4-byte (32-bit) transfers to match the FPGA's 32-bit register data width.* STM32 SPI Configuration: Slave Mode, 2 Lines Full-Duplex, CPOL=0, CPHA=0 (Mode 0), MSB First.* NSS Management: Hardware NSS Input (SPI_NSS_HARD_INPUT) on PB12.* DMA Configuration: DMA1 Stream 3 (RX) and Stream 4 (TX) enabled with circular or normal transfer.In `main.c`, we initialize the peripheral and start the listening process as follows:```c#define BUFFER_
Hi everyone,I have one question before starting one project.I am working on information system related to Philippines government services like NBI Clearance. We are thinking future version can also work on small self-service kiosk or information terminal, not only website.Main requirements are:Stable for many yearsFast boot timeLow powerTouch display supportEthernet or Wi-Fi optionQR code scanner supportUSB printer support for receipt or documentI see many people using STM32 in industrial products.Do you think STM32 is good choice for this type of public kiosk?Or better use Linux SBC like Raspberry Pi for easier software development?I want something reliable because government/public service devices may run all day without restart.Anyone already build similar public information kiosk using STM32?Thanks for any advice.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.