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
Hi,split from this thread USBX Debug Logging | CommunityI am running:CubeIDE 2.2.0 CubeMX 6.18.1 H5 MCU Package 1.7.0 FileX 6.4.0 USBX 6.4.0 ThreadX 6.4.0I guess I do not understand what the UX_ENABLE_DEBUG_LOG macro does, I assumed it would causethe USBX stack to generate a slew of debug messages, which I could post-process, and maybe shine somelight on a problem I as trying to debug. Now that I know it does nothing, I can understand why thecode doesn’t compile, as there is no need to enable UX_ENABLE_DEBUG_LOG.The change I made was just to get it to compile, in usbx/common/core/src/ux_utility_debug_log.c I disabledthe following statements, as the variable ‘source’ does not exist.#if 0 /* Calculate the string length. */ debug_location_string_length = UX_DEBUG_LOG_SIZE; _ux_utility_string_length_check(source, &debug_location_string_length, UX_DEBUG_LOG_SIZE); debug_message_string_length = UX_DEBUG_LOG_SIZ
Hello,We are using the ST67W611M1 with an STM32H573 host, X-CUBE-ST67W61 1.3.0 and mission firmware 2.0.106 (AT 1.0.0). We started on T01 and have now moved to T02. The BLE and firmware-update observations below were made on T01; please say where T02 behaves differently. BLE security1. Encrypted-only characteristics. How can a GATT server characteristic be made to require an encrypted, authenticated link? `AT+BLEGATTSCHARCRE` accepts permission 1 (READ) and 2 (WRITE), but answers ERROR to 17 (READ | READ_AUTHEN) and 34 (WRITE | WRITE_AUTHEN). Is support for the encryption and authentication permission bits planned?2. Link security level on the host. After `AT+BLESECSTART=<conn>,3` on a bonded reconnect, the module answers OK but sends no further event. Is there an event or a query that tells the host the current security level of a connection (for example a "security changed" event)? If not, is one planned?3. How many bonds does the mission firmware keep, and what happens when a
Hi,I’m seeing some odd behavior on the STM32C5 when waking the uC up using the wake-up pins from standby mode.TLDR: The uC seems to ignore the configured wake-up pin polarity and wakes up on any edge. Is this a known issue with the STM32C5 controller?In STM32CubeMX2 I configured the PWR peripheral low power mode to standby with wake-up pins 4 and 5 as wake-up sources. The signal on these pins are default high and I need the uC to wake up on a falling-edge on either pins (configuration images / generated code below).To enter the standby mode in my application I call the following two functions and the controller goes to standby successfully:HAL_PWR_LP_CleanWakeupSource(HAL_PWR_WAKEUP_SOURCE_ALL);mx_pwr_enter_low_power();Now I expect the uC to only wake up on the falling-edge trigger so I tried:Wake-pin was HIGH, put uC to standby, pulled wake-pin LOW and the uC woke-up as expected. Wake-pin was LOW, put uC to standby, pulled wake-pin HIGH and the uC woke-up. This is unexpected as it is
Hello ST Support Team,I am encountering a fatal error during the Validate phase in STM32Cube AI Studio. The Analyze phase completes successfully, but the Validate phase fails due to a DLL loading issue.1. Environment: OS: Windows 11 Tool: STM32Cube AI Studio (using ST Edge AI Core v4.1.0-20732) Target MCU: STM32F407VGT6 Model: st_mnistv1_28_tfs_int8.tflite (TFLite format, INT8 quantized, approx. 10KB weights, 17KB activations) Validation Mode: On desktop (Host simulation) 2. Error Details:The run fails with the following error:ST Edge AI Core error. DLL load failed while importing _pywrap_litert_interpreter_wrapper: 找不到指定的模块。 (The specified module could not be found.)Return code: 42949672953. Troubleshooting already tried: I understand this is likely caused by Windows 11's Smart App Control / Code Integrity blocking unsigned .pyd files in the ST Edge AI Core installation. I have already disabled Smart App Control in Windows settings and restarted my PC, but the issue persists
As the X-NUCLEO-53L9A1 board is impossible to buy from any online store I have decided to build one by myself (I have an urgent project).I have downloaded the full GERBER package from: https://www.st.com/resource/en/board_manufacturing_specification/x-nucleo-53l9a1-gerber.zipHere is its content:Can you help me in finding the drill file? Thanks in advanceMr.D
Hi everyone,I'm trying to run on-device validation of a TFLite model in STM32Cube AI Studio on a custom (non-ST) board, but the COM port dropdown in Board settings stays empty. The same setup works in STM32CubeMX with X-CUBE-AI.SETUP- Board: WeAct STM32H750VBT6 (no on-board ST-LINK)- Debugger: external ST-LINK/V2 (clone, firmware V2J37S7) over SWD, detected as "STM32 STLink"- UART: CH340 USB-TTL adapter, detected in Device Manager as "USB-SERIAL CH340 (COM16)"- Wiring: USART2, PA2 (TX) / PA3 (RX), 115200, GND shared- Model: small MLP (soc_model.tflite, 3.5 KB weights)- OS: Windows 11- STM32Cube AI Studio: 1.4.0- STM32CubeMX: [6.18.1], X-CUBE-AI 10.2.1, STM32CubeProgrammer v2.23.0WHAT WORKS- STM32CubeProgrammer connects through COM16 (UART bootloader) and through ST-LINK.- In STM32CubeMX, "Validate on target" with USART2, COM16, 115200 completes successfully (cross-accuracy RMSE ~1e-5, ~0.096 ms/inference).WHAT DOESN'T WORK IN AI STUDIO- Board settings shows UART interface USART2, RX PA
Hello everybody,I am trying to validate an AI model on the developer board NUCLEO-H5E5ZJ via STM32Cube AI Studio (1.3.0), unfortunately I get the following mistake for every run: Does anybody know what can I do to get it working?
Hello ST team,I am using the B-WB1M-WPAN1 (STM32WB1MMC) board with the BLE Full Extended Stack.My application is based on BLE_DataThroughput and operates as a bridge between an STM32G473 and a smartphone.Data can be transferred from the STM32G473 to the STM32WB1MMC using either USART1 DMA or SPI DMA, and then forwarded through BLE notifications (244 data bytes + CRC8).The application works correctly with STM32Cube_FW_WB V1.24.0 and its BLE stack.After updating the STM32WB1x BLE Full Extended Stack to the version supplied with STM32Cube_FW_WB V1.25.0, I observed the following: Both SPI transmission modes continue to work. USART1 DMA streaming no longer works correctly. BLE advertising, connection, initial handshake and commands from the smartphone still work. USART1, DMA1 and DMAMUX registers appear correctly configured. Increasing CFG_TLBLE_EVT_QUEUE_LENGTH from 5 to 10 did not resolve the issue. I also tested the original working V1.24.0 application without modifying its sourc
Hello ST team,I encountered an issue with the Save As function in STM32CubeMX V6.19.0.I am working with a B-WB1M-WPAN1 (STM32WB1MMC) project using STM32Cube_FW_WB V1.25.0 and IAR EWARM 9.70.During project migration, I opened an .ioc configuration file named BLE_Data_WB1M_FAST_01.ioc, which had been modified manually outside STM32CubeMX.After working with this configuration, I discovered that File → Save As no longer works correctly. In one attempt, the operation resulted in an "Access is denied" error.The most important observation is that Save As also fails with older, unrelated projects that were not modified.At the same time: Existing projects can still be opened. Normal Save works. Generate Code works. IAR EWARM project files are generated successfully. Workaround:I managed to continue working by manually copying the project directory to a new location, renaming the project to match the new directory name, and then using the normal Save and Generate Code commands.However, the
SetupBoard: NUCLEO-WBA65RI (STM32WBA65, Device ID 0x4B0, Rev Z), on-board ST-LINK V3, SN 0032001C3234510536303532, firmware V3J16M9B5S1 STM32CubeProgrammer 2.21.0 (macOS CLI; the Windows GUI was also tried, see below) Firmware: the OEMiRoT example from STM32CubeWBA 1.9.0 (Projects/STM32WBA65I-DK1/Applications/ROT): OEMiROT_Boot with OEMIROT_DEV_MODE, plus OEMiROT_Appli_TrustZone. Provisioned with ROT_Provisioning/OEMiROT/provisioning.sh, RDP level 0 selected. Option bytes before the incident (read with -ob displ): RDP 0xAA, TZEN 1, BOOT_LOCK 1, SECBOOTADD0 → 0x0C006000, SECWM1 sectors 0x0–0xF, WRP1A sectors 0x2–0xB, HDP1EN 1 with HDP1_PEND 0xA. OEM2 key: programmed by provisioning.sh at RDP 0 with -c port=SWD mode=UR -hardRst -lockRDP2 0xFACEB00C 0xDEADDEAD (the example key from Keys/oem2_password.txt). The log reports "Lock RDP2 password successfully done". Afterwards FLASH_NSSR (0x40022020) read 0x00080000, so OEM2LOCK = 1. OEM1 was not provisioned (OEM1LOCK = 0).What happened With R
HI SirThe image on the right shows a handheld device we are developing; the UI will be implemented using TouchGFX.The image on the left shows a customer wanting to send a image to a handheld device using software on a computer.Can this architecture be implemented in TouchGFX?
Hey ST team, why did you make this chip export-restricted (5A002)? Nobody is going to buy it for prototyping. You can’t manufacture cheap PCBs in China because of the customs restrictions, and doing small-batch PCBA in the EU is way too expensive. Because of these rules, it's insanely hard to actually use this module in practice. I think you're going to lose a ton of market share on this decision—I’m switching to the nRF9151 instead..
The .elf file is built, then I try to download it, and I get all this mess. I believe something is not getting erased from the previous run. I tried openocd, erased the file, but it is still having issues. Any ideas would helpful. ---Randy STMicroelectronics ST-LINK GDB server. Version 7.14.0Copyright (c) 2026, STMicroelectronics. All rights reserved. Starting server with the following options:Persistent Mode : DisabledLogging Level : 1Listen Port Number : 61234Status Refresh Delay : 15sVerbose Mode : DisabledSWD Debug : EnabledInitWhile : Enabled Waiting for debugger connection...Debugger connectedWaiting for debugger connection...Debugger connectedWaiting for debugger connection...-------------------------------------------------------------------STM32CubeProgrammer v2.24.0------------------------------------------------------------------- Log output file: C:\Users\Randy\AppData\Local\Temp\STM32CubeProgrammer_a01828.logST-LINK SN : 066DFF555278665067093421ST-LINK FW : V2J49M36
Hello ST team—when running on-target validation on a NUCLEO-U3C5ZI-Q board (STM32U3C5, Cortex-M33, TrustZone disabled) with ST Edge AI Core v4.1.0 and HSP acceleration enabled, our INT8 ONNX model hangs during inference and hits a 50-second serial read timeout, whereas CPU-only validation passes. The generation logs show that selecting this target downloads an online CubeMX template packaged with STM32Cube_FW_U3 firmware version 1.4.0, even though the ST Edge AI Core v4.1.0 release notes state that firmware v1.5.0 or newer is required for HSP support on STM32U3Cxx devices. Could you please update the online template service for the NUCLEO-U3C5ZI-Q to STM32Cube_FW_U3 v1.5.0 or later, and let us know if there is a supported way in the meantime to make STM32Cube AI Studio use a locally installed v1.5.0 firmware package instead of fetching the v1.4.0 online template?
Hello,I am configuring an eMMC 5.1 device on the NUCLEO-H573ZI using the SDMMC1 peripheral. I am trying to understand what the maximum speed mode I can reach with this configuration. I am aware that the eMMC would require a VCCQ that has its own 1.8 V.I found that the STM32H563 data sheet lists HS200 as supported but HS400 is not supported on the SDMMC peripheral. And the maximum clock in the listed table is 110 MHz at 1.8 V. I was not able to find any HS200/HS400 handling in the HAL.Can I get confirmation on if HS400 is possible on the board due to the SDMMC limitation? And is HS200 realistically and reasonably achievable with the HAL? Is there any STM32 parts that support HS400?Thank you.
I just started looking at the STM32C071 family as an alternative to the STM32F042 and STM32F072 we currently use. To my disappointment the USB stack for the C071 is a total mess (dozens of files and complete spaghetti) and on top of that it seems to be written by Microsoft. So there is absolutely no way we are going to use that.Did I miss some other option for the USB device library? This USBX stuff definitely is no option at all.At first glance it looks like there are no significant differences between the USB hardware of the C0 and F0 if only used as device not host. So I am wondering if I can simply use the F0 libraries (which we have debugged and optimized…) on the C0. Or are there any hidden traps?
I’ve setup a PWM timer on the STM32N6: Using the above settings, checking with a scope shows an output of about 22MHz, suggesting a clock source of something around 60MHz. I do not see this on the clock tree:This is closer:When using the internal clock source, what is the source of the timer clock? Or, is there another divider that I am not aware of?
HiWant simple 6 Steeps Hall Sensored, 12 - 24V BLDC Motor Control Examples.We Used STM32F103c8t6, With IR2101 Gate Driver and IRF3205 MosfetMotor Current Aprox 3 to 5 Ampsany ST Library available For That ?, Please Guide UsWE Used STMCube IDE
Hello,STM32G474, HRTIM Timer C, TC1/TC2 complementary with deadtime (DTEN=1).TC2 reset source = EEV4 (COMP1, level, active low).Result:- EE4FAST = 0: no effect on TC2- EE4FAST = 1: TC2 held low while EEV4 is active; TC1 unaffected; TC2 resumes normally on releaseRM0440 p. 910 says RSTx2R is "not significant when DTEN bit is set", but CubeMX allows this setting, and the EExFAST description says the event is "acting asynchronously on outputs".Is this a supported way to force output 2 inactive with deadtime enabled? And does the fast path act after the deadtime unit, so deadtime is always kept on release?Thanks.
Currently, assigning a User Label hides the pin’s name; eg, PA2 and PA3 here: Original CubeMX showed both the pin name and the User Label; eg,Please revert to always showing the pin nameThere’s room to do it; eg, above the User Label: PS:CubeMX2 v1.2.0
CubeProgrammer can identify (most?) recent STM32 boards from the ST-Link; eg, So, suggestion: Why not add a feature for CubeMX2 (and CubeMX?) to query the attached STLink, and create a project for that board ?
Hello AllI am having problems getting the STM32G474VET6 to enter bootloader mode DFU-USB.The STM32G474VET6 USB works perfectly in application mode (VCP) - no trouble there.But holding BOOT0 high (with default option bytes) and resetting it will not enter bootloader mode - I have looked over AN2606 and AND3156 and can’t see a reason why it would not run. I did have an older prototype with a STM32G474RET6 which worked just fine over USB. I have also tried to get the bootloader to workover UART1 but this also fails - can anyone see a reason bootloader would fail to run? (UART1 connected to the debug header and also works fine in the application)
I want to use the PSSI interface on the STM32N6 and in STM32CubeMX the selection for GPDMA PSSI Request is grayed out:I am forced to setup the GPDMA manually in the code. PSSI is enabled:Is something missing?My manually entered GPDMA setup:
STBC02AJR. the LDO output only 3.0V instead of 3.3V.
Hello STMicroelectronics Support Team,We are working on HyperRAM integration with the STM32N6570 using XSPI1 Port 1 in HyperBus mode.Our hardware uses the following connections: PO4 – XSPI1_CLK (CK) PO5 – XSPI1_NCLK (CK#) As per the STM32N6 hardware documentation, both CK and CK# are expected to be available for the differential clock interface.However, during our hardware testing, we observe clock activity only on PO4 (CK). PO5 (NCLK) remains constantly HIGH, even while HyperRAM transactions are taking place.Current XSPI configuration:hxspi->Init.MemoryMode = HAL_XSPI_SINGLE_MEM;hxspi->Init.MemoryType = HAL_XSPI_MEMTYPE_HYPERBUS;hxspi->Init.MemorySize = HAL_XSPI_SIZE_512MB;hxspi->Init.MemorySelect = HAL_XSPI_CSSEL_NCS1;hxspi->Init.ChipSelectHighTimeCycle = 4;hxspi->Init.FreeRunningClock = HAL_XSPI_FREERUNCLK_DISABLE;hxspi->Init.ClockMode = HAL_XSPI_CLOCK_MODE_0;hxspi->Init.WrapSize = HAL_XSPI_WRAP_NOT_SUPPORTED;hxspi->Init.SampleShifting = HAL_XSPI_SAMPLE
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.