Developer support experience survey - We value your feedback
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
Howdy!I'm encountering a peculiar issue using STM32CubeMX ( version 16.6.1 ) and configuring the I2C1 peripheral with firmware version STM32Cube FW_G4 V1.6.1.In short, I'm trying to configure it for SMBus-two-wire-Interface, but this option fails to appear in the drop-down, only making SMBus-Alert-Mode available. This is a problem since the alert pin is already being utilized for a different purpose.This appears to be true for all the I2Cx on this device, and in desperation, I checked a handful of other STMG4x microcontrollers, and this issue remains present throughout. Additionally, I randomly checked STM32H7x, and it appears these did NOT share this issue, with the SMBus-two-wire-Interface option appearing as expected.We have a client with a tight deadline, and using SMBUS is essential. Any updates on when this could be fixed, or workarounds would be greatly appreciated.Thanks a million in advance!
Hi,I can't seem to find the launch configuration setting to specify a device in the JTAG chain by its position and IRpre length. I'm using a J-link programmer and I can usually do this from the command line by passing the -jtagconf x,y argument to the J-link executable. However, the debug console in VScode shows that the debug launch config called the Segger J-link GDB server without this argument. I can't seem to find how to make the debug config to append this to the J-link server call Is this supported by the STM32Cube extension?Thanks
Hello ST Community, I am working with the NUCLEO-WL55JC1 and the official Sigfox_PushButton example. When running the application, the firmware consistently fails during EEPROM emulation initialization. The execution enters E2P_Init() and stops very early inside the function. Observed behavior: After that, the application ends up in Error_Handler() The failure happens every time during startup Project details: Board: NUCLEO-WL55JC1 MCU: STM32WL55JC1 (dual-core CM4 + CM0+) Toolchain: STM32CubeIDE Firmware package: STM32CubeWL Example: Sigfox_PushButton EEPROM configuration:In sgfx_eeprom_if.h, EEPROM emulation is configured as follows: Flash page size: 0x800 (2 KB) EEPROM bank size: 2 pages (4 KB) EEPROM base address set to the last two Flash pages: EE_BASE_ADRESS = 0x0803F000 (256 KB Flash device, address range 0x08000000 – 0x0803FFFF) I already performed: Full chip erase Clean rebuild Debugging on Cortex-M4 Verification that EEPROM does
Environment:STM32CubeIDE version: 1.16.1MCU: STM32H753RTOS: Azure RTOS ThreadXDebug probe: ST-Link (V3)RTOS Proxy plugin:com.st.stm32cube.ide.mcu.externaltools.rtosproxy.win32_1.1.1.202408301240OS: WindowsIssue description:RTOS-aware debugging for ThreadX breaks completely when at least one ThreadX thread name length exceeds ~20 characters.ThreadX itself has no limitation on thread name length (thread name is CHAR *).However, STM32CubeIDE RTOS-aware debug stops working if any thread name is longer than ~20 characters.When this happens:RTOS thread list becomes incomplete or unusableSwitching between threads is not possibleCall stack for inactive threads is missingGDB console shows warnings like: warning: while parsing threads: not well-formed (invalid token) RTOS-aware debugging works correctly only when all ThreadX thread names fit into a 20-byte buffer including the null terminator (maximum 19 visible characters).The issue is 100% reproducible.Steps to reproduce:Create a Thr
I've noticed a behavior with MX25UM5124G_STM32U5x9K-DK External loader over the past 2 years that I feel is a bug. I think the bug lies within the sectorwise erase of the MX25UM5124G_STM32U5x9K-DK External loader fw. If you flash a bin to external flash using the external loader with "erase before programming" enable , there is near 100% likelihood the verification step will fail. I believe this caused by the sectorwise erase not working as intended. The work around has been to do full chip erase on external flash then attempt the flash again. This will succeed almost every time. The behavior that led me to suspect the issue lies within the external loader is when I wrote a proprietary external flasher onboard the stm32. It uses sectorwise erase and has high reliability. This proves to me that flash chip and flash driver on the STM32 are working as intended. Note: We use this proprietary flasher for customer flashing updates but still use Cubeprogrammer for developm
Hello,Due to limitations with the STM32WBA's silicon & Bluetooth stack we've had to significantly re-engineer our hardware and add an external Bluetooth chip. As part of this, we updated our SAI blocks so that one block is transmit and one is receive, and moved our PDM microphones to a SPI bus.Since we have two PDM microphones, we've followed AN5027 "Interfacing PDM Digital Microphones":In our setup, we have SPI2 SCK (mapped to PB10) connected to PA1, and connected PA9 to the DMIC_CLK line. Our plan has been to map PA1 (input) -> TIM17_CH1, which then triggers (via ITR8) TIM3_CH2 which is mapped to PA9 (output).However, I'm struggling to set up the signals properly. I am able to configure TIM17_CH1 so that I can count SPI2_SCK. However, I am unable to trigger TIM3 to count at all.I've attached my example project for the NUCLEO-WBA65RI board.Any insight on this issue?Thank you,Jonathan
Hey guys, can you help me find the datasheet for the L9790 chip? It's in the automatic transmission control unit. Thanks.
Experimenting with STM32F427 and STM32F446 I found out, that the RCC_CR.HSEBYP bit is *not* reset by Software reset. It is reset only by NRST and Power-On reset.While applications where this could lead to problems (i.e. where HSE clock source is changed on-the-fly and software after performing Software reset relies on reset state of this bit) are probably very rare, it may result in an "interesting" surprise if one stumbles upon it, and deserves to be documented.Can ST please confirm/explain and document?Thanks,JW
Hello sir/miss , According to the STM32H7 datasheet, the range of the HSE external crystal oscillator is 4M - 48MHz. However, when we used the STM32H7IIT6-EVAL evaluation board and replaced the original 25MHz surface mount passive crystal oscillator with a 48MHz passive crystal oscillator, we were unable to obtain the corresponding 48MHz frequency from the MCO-PA8 pin. Summary: All conventional passive crystals from 4M to 40MHz were tried and worked fine. However, for external passive crystals above 40MHz , just like 48MHz, the MCO output waveform frequency was 16MHz, which is 1/3 of the HSE frequency, and it was unable to output 48MHz. Please provide a solution or suggest areas where we can improve the test. Thank you very much!
The callback messages seem corrupt and I get a connection error or -162025-12-09 12-05-03.130|INFO||: Type = 0 Message = USB speed : Full Speed (12MBit/s)2025-12-09 12-05-03.130|INFO||: Type = 0 Message = Manuf. ID : 2025-12-09 12-05-03.130|INFO||: Type = 0 Message = Product ID : STMicroelectronics2025-12-09 12-05-03.130|INFO||: Type = 0 Message = SN : STM32 BOOTLOADER2025-12-09 12-05-03.130|INFO||: Type = 0 Message = DFU protocol: 1.12025-12-09 12-05-03.130|INFO||: Type = 0 Message = Board : --2025-12-09 12-05-03.130|INFO||: Type = 0 Message = Device ID : unknownShould be:2025-12-04 14-55-46.892|INFO||: Type = 0 Message = USB speed : Full Speed (12MBit/s)2025-12-04 14-55-46.892|INFO||: Type = 0 Message = Manuf. ID : STMicroelectronics2025-12-04 14-55-46.892|INFO||: Type = 0 Message = Product ID : DFU in FS Mode2025-12-04 14-55-46.892|INFO||: Type = 0 Message = SN : 2003645000002025-12-04 14-55-46.892|INFO||: Type = 0 Message = DFU protocol: 1.1|2025-12-04 14-55-46.892|INFO||: Typ
I am working on STM32H753 (with eval board EVAL 2).I am modifying an existing firmware built without libc and without startup files.I need to convert floating point variables to strings, so I want to use as little as libc as possible. I choosed newlib-nano for memory size.I compiled with `-mfpu=fpv5-d16 -mfloat-abi=hard -specs=nano.specs ...` and linked with `-mfpu=fpv5-d16 -mfloat-abi=hard -specs=nosys.specs -specs=nano.specs -u _printf_float -nostartfiles ...`I also added the definition of symbols required by the libc and reserved a memory area for the heap. I tried to write a string from a double variable with the following code (it's code for debug only, I know it may overflow the char array depending on float value):char my_string[64]; double my_double = 1.3; sprintf(my_string, "%.3f", my_double);But the content of the string (checked by dumping the memory on debugger) is `1300` and not `1.300`(i tried with different values and format specifiers)Am I missing something ?
Hi ST teams,I am currently planning to develop a project using the STWBC2 series. However, I have found that the technical resources available on the official website are very limited. Could you please provide or recommend a more comprehensive set of resources, such as the Full Datasheet, Reference Manual, and Firmware Development Guide, to support our design process?" thank you
When i give varying PWM signal at high frequency under range, the motor sometimes produces noise and gets stuck (0 speed even though pwm signal is valid). What is the issue? I feel its due to PID tuning. Kindly share PID tuning method.Thanks
Hi, i have bought a Nucleo-U575ZI-Q coupled with a X-Nucleo-67W61M1 i have upload the exemple ST67W6X_MQTT, after reading the doc i have complete the configuration and i run well. I use it with mosquitto or nanomq brokers (same results) but on both the broker inform me than the QoS=0 (with publish and subscribe) The documentation of the AT-command of ST67W indicate that i can use 0,1 or 2 for the Qos. In the exemple the drivers don't use the Qos and force it to zero. I have modify it but the result is always the same. I would like to use QoS=1 to be sure the message arrived. Have you an idea ? I have verify than the broker accept all levels in the conf. I have also publish with MQTTX(with Qos=1) and the broker notify the good level of Qos
Hello, I have an issue with my touchGFX gauge. First, let me explain what I want to do and how I currently do it. What I want is receiving data from the CANbus which is a command for the gauge to which position the needle needs to point (same as a car). These commands are direct and if I write it directly to the GUI it jumps positions. It needs to move smooth to that position. What I have now is:I receive CAN message with an interrupt. The received CAN message I put in a FreeRTOS queue.From a CanTask I extract the data from the CAN message that is relevant to me and is put in a other queue (aziQueue).In the Model.cpp tick funtion I first had this:if (osMessageQueueGetCount(aziQueueHandle) > 0) { if (osMessageQueueGet(aziQueueHandle, &aziTarget, NULL, osWaitForever) == osOK) { azi = (uint16_t)filter(aziTarget); modelListener->aziUpdate(azi); } } This was blocking the GUI, because the CAN message was send every 100ms on the bus so it slowed down the GUI upda
Hi,We're working on integrating the STM32N6 Getting Started Object Detection and the VENC SDCard examples and were wondering if we could ask some advice on memory allocation?The Object Detection example defines AXISRAM1_S and I think uses this for the camera interface and ISP - if the RAM required by the VENC is added to this then AXISRAM1_S seems to be insufficient and the linker fails.In the examples, the amount of SRAM available for the application seems to be limited by the position SRAM2 at 0x3418 0000 used by the FSBL then later for NN activations:https://github.com/STMicroelectronics/STM32N6-GettingStarted-ObjectDetection/blob/main/Doc/Boot-Overview.md#boot-from-flash-with-first-stage-boot-loaderthis states "STM32N6570-DK: 1MB of SRAM1 is reserved for the User App (see STM32N657xx.ld) and 1MB of SRAM2 is reserved for the network activations (see stm32n6-app2_STM32N6570-DK.mpool)."More detail of the higher sections of memory is given in:https://github.com/STMicroel
Hello Community,We are currently evaluating the STM32H562IGT6 microcontroller for our development project. During our review of the device’s pinout, we observed that several GPIO pins are designated as FT (5‑V tolerant). We would like to request clarification regarding the electrical behavior and long‑term reliability of these pins when subjected to a continuous 5 V digital input.Specifically, we would like to understand whether applying a constant 5 V signal to the FT‑labeled pins may have any impact on product lifetime, derating considerations, or long‑term performance degradation.The following pins are of particular interest for this inquiry:PC0FT_aPC1FT_ahPA0FT_atPA6FT_ahPA7FT_ahPC4FT_aPC5FT_ahPB1FT_ahThank you.Regards,Rajesh Matere
Hi ST Team,I am working with STM32MP257F-EV1 board and facing an issue while trying to connect the ST-Link interface using STM32CubeProgrammer.Connection setup:An external ST-LINK/V2 programmer is connected to the CN22 (ST-LINK header) on the STM32MP257F-EV1 board.Behaviour:1) Tried connecting with both SWD and JTAG modes, but the connection fails in both the cases.2) The board is detected only when connecting USB to connector CN15(USB_DRD) in DFU Mode.For your reference ,I have attached the STM32CubeProgrammer configuration screenshots and connection logs.Additionally, while reviewing the ST Community forum, I found the following discussion related to this issue.link: https://community.st.com/t5/stm32-mpus-software-development/debug-authentication-on-the-stm32mp2257f-ev1-for-st-link/td-p/708255Could you please confirm whether this behavior is expected for the STM32MP257F-EV1 and any configuration or steps to enable and validate CN22 (ST-LINK header) on STM32MP257F-EV1 board ?Thanks an
STM32CubeIDE is creating a new folder inside ".stm32cubeide\.jxbrowser-7.41.4" everytime STM32CubeIDE launches.It would be nice if the application cleaned up its junk, at least deleting old profile subfolders, as each one eats up 75MB.I just manually deleted over 75 of them dating back to October.
I'm trying to use pwm for backlight control in stm32mp257f-ev1, the same changes shown in below patch is implemented in both u-boot and kernel, i used u-boot pwm commands and it seems working but im getting this deferred probing issue in kernel logs and display turns of when entering kernel.Im in midddle of board bring up hoping for a quick reply, thanks in advance.This is the kernel log[ 0.268819] /soc@0/bus@42080000/display-controller@48010000: Fixed dependency cycle(s) with /soc@0/bus@42080000/lvds@48060000 [ 0.295408] /soc@0/bus@42080000/lvds@48060000: Fixed dependency cycle(s) with /soc@0/bus@42080000/display-controller@48010000 [ 0.308304] /soc@0/bus@42080000/display-controller@48010000: Fixed dependency cycle(s) with /soc@0/bus@42080000/lvds@48060000 [ 0.338635] /soc@0/bus@42080000/lvds@48060000: Fixed dependency cycle(s) with /soc@0/bus@42080000/display-controller@48010000 [ 0.352683] /soc@0/bus@42080000/display-controller@48010000: Fixed dependency cycle(s) with /soc@0/bus@420
hi i re-downloaded STM32 Cube IDE but i cannot find <create STM32 Project> I downloaded this sw over and over but nothing changed :(please help me with this
Hello,I searched on Google but I don't know if anyone has encountered this problem before. As we know, CubeMx and Cube IDE were recently released as two separate programs. I think this error might be related to that.The error is this: I open a project I created in CubeMx in the IDE and upload it to the chip; there's no problem up to this point. However, whenever I make an update in CubeMx, the entire update isn't reflected in the IDE (or rather, in main.c). If there were no updates at all, I would look for the problem elsewhere, but some of the configuration settings are transferred to the IDE while others are not. The most recent example I experienced was that changes to the ARR and Prescaler registers of the TIMER module were transferred to the IDE, but the changes to the PWM (CCR1) register remained the same. In this case, I had to manually change the relevant value in main.c (and it was quite difficult to notice).Look, the main problem here is that we developers ultimately trust ST
According to the STM32 datasheet, the maximum clock frequency of TIM6 and TIM17 is shown as 64 MHz, while that of TIM1 to TIM8 is shown as 200 MHz. There is a conflict in the documentation, so please confirm which one is correct. (DS14258 Rev6,page 132)The datasheet indicates that the maximum supported clock frequency of SPI is 100 MHz, but no errors are displayed when configuring 200 MHz in CubeMX. Please confirm the actual maximum clock frequency of SPI.
For the same setup the distance values jump between a very high and a very low value. Setup 1: unit facing an open space(ceiling) Result 1 Result 2 Result 3 2514, 2483, 2466, 2407, 2752, 2799, 2808, 15, 0, 0, 0, 0, 0, 0, 0, 0 2474, 2461, 2475, 3021, 2839, 16, 2808, 15, 0, 0, 0, 0, 0, 0, 0, 0 2502, 2461, 2451, 2455, 2858, 2766, 15, 15, 0, 0, 0, 0, 0, 0, 0, 0 TOF Sensor does not seem to perform well when pointing into an open space(ceiling). &nbs
So on the page https://www.st.com/content/st_com/en/stm32-mcu-product-selector.html i cannoy filter out STM32 products which have higher resolution ADC converters built in, i need high resolution input (>16bits or eq SD) and there is no way to select for that.I had more luck on Digikey parametric selector which is odd (and not as good as manufacturer parametric filter/selector)...Also for web designers, some grayscale shading change between sections, rows, columns would be helpful, dark mode (even Digikey and Wikipedia has that option now)!Any advice in case I'm missing something.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.