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
Is the overcurrent protection set to 3A on the STSPIN840? If so, is there a way to change the trip value of the overcurrent protection to better align with its application? I want to change it so that the overcurrent trips at 1A. Thank you!
For the current limiting circuit, what’s the tolerance of when the circuit triggers. Say I have my Vref at 1V and my RSNSA is 0.5 ohms. I’m expected to trip at 2A, but could I expect to trip at 1.9A? Thank you
Hello, I am experiencing some issues when using ETH0 (LAN8670). As a test I want to use ETH1 to use LAN8650 via SPI communication. How can I use ETH1 when calling FreeRTOS_recvfrom(), FreeRTOS_sendto(), etc? I changed SPC5_USE_ETH0 as FALSE and SPC5_USE_ETH1 as TRUE but still I can’t use ETH1, I do not see any packet from ETH1’s port of Evaluation board via Wireshark in the connected PC. Questions;Is there additional #define to change if I want to use ETH1 (through SPI) but not ETH0 (through MAC)? Or do I need to call different FreeRTOS API functions? Currently I am calling some Ethernet related functions like below. UdpRxInfo.xRXSocket = FreeRTOS_socket(FREERTOS_AF_INET, FREERTOS_SOCK_DGRAM, FREERTOS_IPPROTO_UDP); FreeRTOS_setsockopt(UdpRxInfo.xRXSocket, 0, FREERTOS_SO_RCVTIMEO, &xReceiveTimeOut, sizeof(xReceiveTimeOut)); UdpRxInfo.xBindAddress.sin_addr = FreeRTOS_inet_addr("192.168.0.22"); // use Specific IP to receiveUdpRxInfo.xBindAddress.sin_port = FreeRTOS_htons(XcpPortNum);
I have a STM32U585 (edit: ...VIT6, so not the one where this doesn't work due to errata) product with Trustzone enabled, Bootlock disabled and RDP level 0.I want to bring this into ST bootloader mode from software (for easy Firmware change via USB).To my understanding that would mean implementing the last entry of Pattern 12 from AN2606 Which means the following code, executed from secure side.RCC->APB3ENR |= RCC_APB3ENR_SYSCFGEN; //clock is disabled after startup, so enable __DSB();//make sure data is written SYSCFG->RSSCMDR = 0x1C0; //pattern from AN2606, RM says any value will do? __DSB();//make sure data is written __NVIC_SystemReset(); //SW reset But all I get is a restart to SECBOOTADD0. And RSSCMDR is zeroed out afterwards, even though the RM states that it is only affected by power on reset.What am I doing wrong?
After a long time, i started to look into using the BLE_Thread_dynamic stack image on WB55 again. First without success with my own code on my own board, which I do think to remember worked before.But afterwards with the BLE_Thread_dyn example on a WB55 Nucleo Board and that doesn't work as well. This is how the FUS Info looksAnd this is where it gets stuck Any Ideas what I might be doing wrong?I already tested with and without "Start Wireless Stack" from the programmer. Not using it, makes it stop even earlier, at hci_reset.Starting to look into older stack images now.Edit: I went back up to 1.18 (using the example code from 1.24, which seems to be untouched since way back) and nothing worked :thinking_face:.
Hello! I have been using the STM32H723ZG Nucleo board and am now trying to ping the STM32 device from a PC through an Ethernet connection, but the ping is not working. For ex: ping 192.168.10.XX (STM32 Static IP) No response is received. My board setup and module details are given below.Board / Setup MCU: STM32H723ZG (Nucleo) Interface: Ethernet (RMII) PHY: (e.g., LAN8742 – please confirm) Stack: lwIP (CubeMX generated) RTOS: FreeRTOS Connection: Ethernet cable through splitter (PC ↔ STM32) PC IP: 192.168.10.XX (static) STM32 IP: 192.168.10.XX (static) STM cube IDE version: 1.18.1 Observed Behavior (STM32 side logs): STM32 successfully receives ARP requests from PC. Who has 192.168.10.50? Tell 192.168.10.100 (Captured by wireshark). 2. lwIP processes the request and generates an ARP reply. 3. ARP reply frame content (from debug log): 192.168.10.XX is at 00:80:XX:X
We are developing a project using the STM32H743ZIT6 where RTC timekeeping is a critical requirement. During field testing we noticed significant RTC drift on our board. We tested the same hardware three times — each time flashing a different RCC_LSEDRIVE_* setting to identify which drive level gives the best RTC accuracy. Sharing the full details below test results, firmware, and hardware in case others are facing the same issue.Quick Results We ran a 16-hour test measuring RTC drift on the same STM32H743ZIT6 board, flashed three times with a different RCC_LSEDRIVE_* setting each time."Drive setting Drift over ~16 hours PPM RCC_LSEDRIVE_LOW 69 seconds ~1161 RCC_LSEDRIVE_HIGH 30 seconds ~519 RCC_LSEDRIVE_MEDIUMHIGH 6 seconds ~101 RCC_LSEDRIVE_MEDIUMHIGH gave the best result by a large margin. RCC_LSEDRIVE_LOW — which is often recommended as the default — gave the worst result on our hardware.Hardware DetailsCrystalParameter Value MPN ECS-.327-6-12-TR Frequency
Hello everyone,I have encountered an issue with the STM32WB05KZ on a custom board which only allows me to flash the board under very specific conditions. The first time out of the box, everything works fine, I can flash using a ST-LINK V3-PWR straight from CUBEIDE V1.18.0. After this first time programming, the board becomes fully unresponsive to the debugger. My code does seem to run (verified by two LEDs connected to PB4 and PB5). When using STM32CubeProgrammer, the system reports that it's unable to read the Chip ID. After much trial and error, I've found that by disconnecting the reset pin from the debugger and pressing the Close Debug button in the Debug Authentication (which I haven't enabled anywhere) menu, I can connect to the board through the STMCubeProgrammer software. I was wondering if this behaviour is to be expected, because I can't find it in the Reference manual or Datasheet. And if this behaviour can be disabled. For context:- The board has a 32 MHz crystal and a
Hello,I'm sorry to bother again, but it seems there is another issue in the latest update of VSCode STM32IDE extension. While trying to Start Debugging with GDB Server (STM32Cube Debug STLink GDB Server v1.3.0), with launch.json as: "version": "0.2.0", "configurations": [ { "type": "stlinkgdbtarget", "request": "launch", "name": "STM32Cube: STM32 Launch ST-Link GDB Server", "origin": "snippet", "cwd": "${workspaceFolder}", "serverReset": "Connect under reset", "preBuild": "${command:st-stm32-ide-debug-launch.build}", "runEntry": "main", "imagesAndSymbols": [ { "imageFileName": "${command:st-stm32-ide-debug-launch.get-projects-binary-from-context1}" } ], "faultUnalignedAccess": false, "liveWatch": { "enabled": true, "samplesPerSecond": "4" }, "preRunCommands": [ "set output 16" ] } ] } The Debug starts and I get an error message as:PARSE ERROR: Argument: -cp (--stm32cubeprogrammer-path) Argument already set! Brief USAGE: C:/Users/.../AppData/Local/stm3
Device: NUCLEO-N657X0-Q Board Environment: STM32CubeIDE for Visual Studio Code Extension (v3.9.0) Description & Symptoms: The debugger loses a connection with the board with “Target not responding” and “Unable to read memory” errors. Reverting to version v3.8.0 of the extension and all of its dependencies resolves the issue. Steps to Reproduce:Set a breakpoint on the first line of the FSBL Reset_HandlerRun the debuggerStep past the following line in the Reset_Handler: mov sp, r0 Expected Behavior: Debugger is able to continue stepping through the code Actual Behavior: The device stops responding and is unable to reconnect until unplugging and plugging back in Other Notes: When running the debugger without a breakpoint set, the program runs normally. As soon as a breakpoint is set, it loses the connection.
I've seen the other post, but my issue is different. I'm now getting:Rolling back doesn't seem to be fixing this issue, even though nothing about my setup has changed since 2 weeks ago.I can't even figure out if it's the update causing this issue thanks to this utterly useless update information:Spoiler (Highlight to read)Breaking ChangesComplete architecture redesign: The tool architecture has been split into three major building blocks with the purpose of creating a flexible, maintainable and updatable platform consisting of the following blocks: GUI, CLI tools and STM32 device support.Breaking ChangesComplete architecture redesign: The tool architecture has been split into three major building blocks with the purpose of creating a flexible, maintainable and updatable platform consisting of the following blocks: GUI, CLI tools and STM32 device support.What changed?!How am I supposed to update my 3.8 configs to 3.9?
As the title says, the most recent 1.3.0 version of the extension breaks functionality of the debugger for the STM32G473CET3 MCU (and possibly others). By "breaks functionality", I mean that it does not even connect to the MCU anymore.
How would I go about implementing a USB host for a usb printer. I would like to send things through my STM32 to be printed. I’ve seen adaptations or some work done on the USB printer class as a device but I am unsure how I would do this as a host? Any ideas or already implemented libraries?
We are designing an STM32-based SOM and want to know whether STM32H7 controllers support DDR memory, or if DDR support is available only in STM32MP series. Please suggest compatible STM32 controllers and reference designs for DDR interfacing.
Hello.I would like to use ST AIoT Craft with a SensorTile Box Pro and the MKI234AA DIL24 board to have an external LSM6DSV16BX IMU (different from the onboard LSM6DSV16X).Six months ago, in December 2025, the accelerometer and gyroscope data logging from the LSM6DSV16BX was visible in the ST AIoT Craft interface, and I was able to collect data successfully.Today, I can no longer select the LSM6DSV16BX device because it is no longer visible in the available sensor choices. As a result, I am no longer able to collect data from it.I find this situation rather surprising, and I understand that ST AIoT Craft has evolved since the version I was using in December 2025.However, when creating a new project, it is still possible to select the SensorTile Box Pro and then choose the external board STEVAL-MKI234KA. The issue is that during the data logging phase, the LSM6DSV16BX sensor never appears among the available sensors, making it impossible to collect accelerometer and gyroscope data from t
Hello, I started using HAL 2.1.0 which was available as a Pack download in MX2. I recompiled my application and I observed an assert during the DAC initialization in mx_dac1_init when HAL_GPIO_Init is called. hal_gpio_config_t gpio_config; /** [GPIO Pin] ------> [Signal Name] ------> [Labels] PA4 ------> DAC1_OUT1 ------> PA4 **/ gpio_config.mode = HAL_GPIO_MODE_ANALOG; HAL_GPIO_Init(PA4_PORT, PA4_PIN, &gpio_config);Inside the HAL_GPIO_Init the assert occurs due to an incorrect pull mode. if ((mode != LL_GPIO_MODE_ANALOG) || ((mode == LL_GPIO_MODE_ANALOG) && (p_config->pull != HAL_GPIO_PULL_UP))) { // I commented out this line //ASSERT_DBG_PARAM(IS_GPIO_PULL(p_config->pull)); LL_GPIO_SetPinPull(p_gpio, io_msk, (uint32_t)p_config->pull); }I checked the MX2 configuration of the DAC output pin and the pull field is empty and cannot be changed (see screenshot). I attached the ioc2 file for reference.T
We are pleased to announce some extensions update related to STM32CubeIDE For VSCode STM32Cube Debug Core 1.3.1Fixed lowPower and watchdog functionality for specific target devices. Fixed the Hard Fault Analyzer for specific target devices. STM32Cube Debug Generic GDB Server 1.3.1Fixed lowPower and watchdog functionality for specific target devices STM32Cube Registers View 1.3.1Fixed a display issue in dual-core debug mode. Fixed a pin issue in dual-core debug mode.STM32Cube Project Manager 1.3.1Fixed the pre-validation check step for STM32CubeIDE Eclipse to CMake conversion.STM32Cube Debug Jlink GDB Server 1.3.1Fixed lowPower and watchdog functionality for specific target devices STM32Cube Debug STLink GDB Server 1.3.1Fixed lowPower and watchdog functionality for specific target devices. Ignored power pulse check in certain use cases. Fixed duplicated -cp argument usage when relying on the legacy STLink-gdbserver bundle
I am currently exploring STM32Cube AI Studio / Edge AI Cloud, but I am not very familiar with them yet. I encountered an issue during the model conversion process and would like to ask for your assistance. I am trying to analyze and convert an ONNX model exported from PyTorch using STM32Cube AI Studio or Edge AI Cloud.Development board: STM32N6570-DKWhen running Analyze / Generate Code, I encountered the following error: I would like to ask:Is this error usually caused by the ONNX model format, opset version, or unsupported operators? Are there any recommended ONNX export settings, such as opset version, dynamic shape settings, input/output naming, etc.? Could you help identify the possible cause of this error or provide further debugging suggestions? Thank you for your assistance.
Hi,Thanks for your response.Where can I get schematic of STM32100E-EVAL or similar board?
Hello, I am trying to convert my Onnx model with the ST Edge AI Core tool to the .nb format for the STM32MP25 target.While converting the model i get the following error:ST Edge AI Core v2.2.0-20266 INTERNAL ERROR: unsupported operand type(s) for *: 'int' and 'shape_struct'I could track down the error to a resize operation in the Onnx model. Here is a short snippet how the model looks like:When i remove the resize operations and downscale the 28 x 28 patches to 14 x 14 patches. Then the error is gone.So i think that the resize operation is the problem. This happens for quantized and non quantized models. Like stated here (STM32MP2 NPU description - stm32mpu), there should be some resize operations implemented at least on the GPU. Did anyone had similar issues and know how to fix them?Thank you in advance for your help.Best regardsNils
Dear all!i’m working with STM32H743ZIT6 in ETH RMII, ADC, blink led if i disable MPU, Lwip config, led will blink, when i enable MPU_Config(); SCB_EnableICache(); SCB_EnableDCache(); MX_LWIP_Init(); CPU hang, led didn’t blink, so can you help to take alook my IOC file, and share me how to config this task
Hi ,I have a board that has a STM32H562xxx , I have 4 analog inputs mapped on ADC1 IN1, IN14, IN15 and IN18 single ended … ( PA1, PA2, PA3,PA4 ), TRGO TIM8 I have DCACHE1 disabled HAL_ADC_ConvHalfCpltCallback - gives a flag the cvt is completedI have a uint16_t dmaBuffer[4]When I run it the variable dmaBuffer[0..2] have values ~220 with small oscillations and only dmaBuffer[3] with correct values from ADC1It’s the first time I used this board and 1st to have CACHE … otherwise I eventually disabled it.Can anyone help ? What info do I need to provide so I get little help make this work ?ThanksCristian
Hello I am trying to use STM32N6 with ST67W611.What works so far:STM32N6570-DK with X-NUCLEO-67W61M1, I am able to run my firmware that creates an AP and runs a web server with files from the SD card. Based on the discovery board and the ST67 nucleo, I have designed my own PCB. I have three times the exact same board. 001, 002 and 003.Board 001 works fine, AP and web server start. This is the console output:--------------- ST67W6X info ------------ST67W6X MW Version: 1.2.0AT Version: 1.0.0SDK Version: 2.0.97Wi-Fi MAC Version: 1.6.44BT Controller Version: 1.6.121BT Stack Version: 1.10.70Build Date: Nov 19 2025 11:35:01Module ID: C6AFDBD111400004 (-B)BOM ID: 2Manufacturing Year: 2025Manufacturing Week: 13Battery Voltage: 3.348 VTrim Wi-Fi hp: 5,5,5,5,5,5,4,4,4,4,5,5,5,5Trim Wi-Fi lp: 5,5,6,6,6,7,7,7,7,7,8,8,8,8Trim BLE: 4,3,3,4,5Trim
Hello,im in the process of trying to make a LED Matrix driver with the gpdma on my stm32h562. Currently, I have everything working with one buffer, but want to implement double buffering so i can fill one buffer with data, and read from the other.I was looking around on the internet on how to implement this, but i found only one thread with the same problem, but i cant figure out how to implement the solution into my project, as there is no LLIx.nextLLI definition anywhere. Im using CubeMx to generate me code. /* USER CODE BEGIN Header *//** ****************************************************************************** * File Name : linked_list.c * Description : This file provides code for the configuration * of the LinkedList. ****************************************************************************** * @attention * * Copyright (c) 2026 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be fo
I am using the STEVAL-25R300KA board with ST25PC-NFC version 3.0.2 on a PC running Windows 11.The software opens for a few seconds and then closes automatically by itself. I have already tried the following steps:Reinstalled the softwareRestarted my PCInstalled both x64 and x86 versions of the Microsoft Visual C++ Redistributable packagesChecked the Windows Event Viewer / Journal logs for any related errorsUnfortunately, none of these steps resolved the issue, and no specific error was detected in the logs.Could you please let me know what I can do to fix this problem and use the software properly?Thank you for your support.
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.