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
Hellow everyone, i am facing this issue that when connect my nulceo-WL55JC1 with perfectly working cable to my PC it rapidly connects and disconnects again and again i tried to update its driver and mass erase but it connect and disconnects so fast i am not able to do it and i read its quick guide and all the jumpers are in its place once is tried to upload the code to it and in between it got connect the again disconnect some behavior every time. This is the log when is was able to upload the code on it :STMicroelectronics ST-LINK GDB server. Version 5.7.0Copyright (c) 2020, STMicroelectronics. All rights reserved.Starting server with the following options: Persistent Mode : Disabled Logging Level : 1 Listen Port Number : 61234 Status Refresh Delay : 15s Verbose Mode : Disabled SWD Debug : Enabled InitWhile : EnabledWaiting for debugger connection...
Hi,Do enabling BDU also protect temperature data registers from getting refreshed while reading the data? Or is it just for accelerometer data registers? BR,KJ
Hi there, I tried to build NetXDuo stack with IPV6 and SLAAC version on H563ZI Nucleo boardHowever compilation of system libraries failed due to not linked symbols, it happened in all 3 ways of generations form CubeMX (copy all files, copy only required files, reference libraries).I.e. linker complained about lack of symbol _nx_nd_cache_add_entry and I noted filed is nx_nd_cache_add_entry.c is not compiled nor copied to project sources.
I’ve recently installed stm32cubemx2-1.1.1-X64-Windows-installer.exe on Windows 22H2, and after reboot found my PATH to be broken. I have confirmed this in a fresh VM.Before the installer, PATH is an “Expandable String” - hex(2) is REG_EXPAND_SZ[HKEY_CURRENT_USER\Environment]"Path"=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,[...]After the installer, PATH is a plain “String” / REG_SZ[HKEY_CURRENT_USER\Environment]"Path"="C:\\Users\\[...]Please resolve this ASAP (checking the uninstaller too), and consider notifying users. Re-creating the key isn’t too onerous, but could be an elusive and risky fix for many.
Hi,Can we use a ferrite bead with STM8S MCU for VCC pin along with the recommended decoupling capacitors at the VCC pin. Thanks in advance.
In the topic “STM32U5G9J-DK2 application example \"Fx_NoR_Write_Read_File\" is not working” there is a problem described which I fear still is present today. The ticket mentioned there is 180260, can someone please check if the patch mentioned is available by now?Thanks.
HiMCSDK 6.4.2when a start is aborted, it can happen, that the code can get stuck in __weak void *R3_2_TIMx_UP_IRQHandler(PWMC_R3_2_Handle_t *pHandle) while (0x0u != pHandle->pParams_str->ADCDataReg1[0]->JSQR) { /* Nothing to do */ }i added this to fix it if (true == pHandle->_Super.PWMState) {by the way I don’t like having whiles in the code at all. And if nessesary please add a timeout.In MCSDK 6.2.1 an overvoltage event, when no motor is running will also end up in a stuck while __weak void R3_2_SwitchOffPWM(PWMC_Handle_t *pHdl) while (0U == LL_TIM_IsActiveFlag_UPDATE(TIMx)) { /* Nothing to do */ } that seams to be fixed in newer versions
Hi,I bought the STEVAL-DRONE02 and STEVALFCU001V2 last week. But I couldn’t download the Android app ST BLE Drone on my smart phone which has Android version 14. Which Android version does ST_BLE_DRONE support?I checked with Google and it say:The ST BLE Drone application supports Android 4.4 and higher. It acts as a Bluetooth Low Energy (BLE) remote controller designed to work with evaluation boards like the STEVAL-FCU001V1.
Heyho,preparing the BOM for the next PCB version with the STM32H733ZGT (LQFP-144, 1024kB).And finding that these are not available at our standard webshops. :-(Started CubeMX to look for 100% pin compatible MCUs, and lo and behold: none found!But I’m pretty sure that the following types are at least pin-compatible and mostly function-compatible (some only missing stuff like hardware encryption):STM32H723ZGT, STM32H725ZGT, STM32H730ZGT, STM32H735ZGTAm I correct, or are these not pin-compatible - maybe some internal LDO / SMPS stuff or some peripheral missing that I oversaw? I’m using the following peripherals:SAI1, SAI4, I2S3, Ethernet + PTP, I2C1, I2C4, 2x OctoSPI, DAC, ADC, UART3, SDMMC2, timers, … Oh my, what a project… there’s no way I’m gonna switch to some completely different MCU. Thanks in advance!
## Setup- Module: ST67W611M1 on X-NUCLEO-67W61M1- Host MCU: STM32C562RE (NUCLEO-C562RE), Zephyr 4.4.0 st67w611m1 driver (SPI netif path equivalent to W6X_Netif_output / ST67W6X_CLI_LWIP)- Module firmware: st67w611m_mission_t02_v2.0.106.bin (X-CUBE-ST67W61 v1.3.0)- Target network: enterprise SSID managed by FortiAP (WPA2)## ProblemUnder mission T02 the station associates successfully, but DHCP nevercompletes on our enterprise AP. Host-generated DHCP DISCOVER frames sentthrough the SPI network-STA path ARE visible on the LAN (captured by a PCon the same SSID) and are byte-comparable to DISCOVERs from workingclients — yet no OFFER is ever returned.Control tests:- T01 firmware, SAME module, SAME MAC, SAME SSID: internal DHCP client gets a lease within seconds (172.16.1.26).- T02 firmware on a phone hotspot: SAME host firmware completes DORA and binds 172.30.234.14.- Other clients (ESP32, Windows, Android) on the enterprise SSID: work.So the host stack and the T02 raw frame path are prov
Hi Team, We are performing the ISO 16750-2:2023 Superimposed Alternating Voltage test on our DUT. The 12 V main supply is provided to the TPSM64406RCHR buck converter, which generates a nominal 3.3 V supply for the STM32H563VIT3Q controller.During the test, a 6 V peak-to-peak AC ripple is superimposed on the 12 V input, causing the input voltage to vary between approximately 9 V and 15 V. Under this condition, communication with the STM32 controller fails.We attempted to reflash the firmware multiple times, but the issue persisted. However, when we performed a Full Chip Erase using STM32CubeProgrammer and then reflashed the firmware, the controller started working properly.Could you help us identify the possible root cause of this issue and explain why repeated firmware flashing did not resolve it, whereas a full chip erase followed by reflashing restored normal operation? We would also appreciate recommendations for further debugging to determine whether the issue is related to power
Hi there!I'd like to use the STEVAL-CAM-M01 P-board to evaluate the VD55G0 BrightSense image sensor with the Discovery kit for the STM32N6 MCU (STM32N6570-DK). The discovery kit does have a camera connector, however, looking at the schematics it seems that the polarity of the CSI data and clock lines is swapped compared to the P-board. Everything else looks fine.Is it possible to use the P-Board with the Discovery kit without destroying either of the two? ST's marketing material (slide 33) seems to suggest it is possible but the schematics are unclear. Note that a similar question has been asked in the MCU forum, but it was suggested to ask in this forum to be sure. Also note that I'm not asking about software driver support here, only hardware compatibility.Camera connector on STM32N6 discovery kit: Connector on P-board:Thanks a lot!Michael
How can I enable HSE on STM32U375K (32pin) in Cube MX?The option to enable HSE does not seem to be available in CubeMX. However, the option to select the HSE startup time is enabled.What am I missing?Does the STM32U375K support HSE? I couldn't find anything in RM0487 that indicates otherwise.
I cannot get the VCP function of ST-LINK v3 mini working.Windows sees the com port and can open itConnected TX output of UART to pin 14 of ST-LINK 3 mini, but nothing is received on the PC side.Connected some other serial TTL-USB adapter (set to 3.3V), and it works properly.However, the serial TTL-USB adapter has a ground connection and ST-LINK's VCP has common ground with other functions.The debugger function works properly.Is the TX level of VCP 3.3 or 5 V? Does the VCP function work for anyone?Thanks,-- pa
Hi all,I'm trying to flash a fresh STM32G0x1 MCU (Device ID: 0x466, Revision ID: Rev 1.1) using ST-LINK V2 (FW: V2J48S7) in Hot Plug connect mode with Hardware reset mode, SWD frequency 100 KHz, target voltage reading 3.26V.ST-LINK connects and correctly reads the Device ID and Revision ID, but then fails with:Error: Unable to get core IDError: Unable to get core IDUPLOADING OPTION BYTES DATA...Bank: 0x00Address: 0x40022020Size: 108 BytesError: Uploading Option bytes bank: 0 failedError: Initializing the Option Bytes failedDisconnected from device. Things I've tried: 1. SWD wiring (SWDIO, SWCLK, GND, NRST, 3.3V) checked Target voltage reads 3.26V, stableTried Hot Plug + Hardware reset modeAny guidance on the issue would be appreciated.Thanks!
I created simple project using STMCubeMX2 for MCU STM32C552. I configured the clock by choosing HSIS on System MUX. When I compile and run generated code it ends in HardFault_Handler. When using PSIS option - the same result. HSISDiv3 clock works well. When I divide HSIS or PSIS clock by 2 on AHB prescaler it also works. Any idea? Thank you
I need to view all Cortex-M7 debug and trace/debug subsystem registers during debugging—similar to how peripherals like DAV, RCC, and GPIO are displayed—but they do not appear in the SFRs list; specifically, I need to view the ITM, ETM, WDT, and SWO registers.
The latest listed is v6.17.x:https://wiki.st.com/stm32mcu/wiki/Category:STM32CubeMX_errata Yes, I know that v6.18.1 errata is available here (via here) - but shouldn’t it be also linked via the wiki ?Or, if the wiki is no longer being maintained, it should point to the new location.
All previous versions listed at https://wiki.st.com/stm32mcu/wiki/Category:STM32CubeMX_errata (viz, v6.17.x back to v6.10.x) had this example under How to improve the wake-up from Stop sequences without relying on the global SystemClock_Config():(note the typo in the comment on checking LSE ready) v6.18.1 still has the exact same erratum - but now there is no example:
What is LPS22HH conversion time in OneShot mode? I do not use interrupt line and do not want to poll the device until ready. The datasheet doesn’t specify it, it specifies available ODR only.
Hi,I am working on CAN FD communication using the STM32C542RCT6. CAN FD is working properly when I use an external clock source. However, when I switch to the internal clock, the controller starts reporting errors such as Error Passive, followed by Bus-Off.My suspicion is that the internal clock may have a slight frequency deviation, which could be affecting CAN FD communication. Since this is a new controller, I would like to understand whether the internal clock can reliably support CAN FD communication or whether an external clock is required.My current CAN FD configuration is: Arbitration bit rate: 500 kbps Data bit rate: 2 Mbps Bit Rate Switching (BRS): Enabled Could you please clarify whether the internal clock can support this configuration and what could cause the controller to enter Error Passive and Bus-Off states when using it?
Hello everyone,I measure a voltage on a STM32L496 using the internal ADC and found the following issue:Setup:The voltage is scaled down via a high-impedance voltage divider (2 x 470kOhm). To avoid distortion by sampling, the voltage divider has a 100nF capacitor. Thus, the capacitive load while sampling is low and the breakdown is 1/20000 → i.e. way lower than the ADC’s resolution. So I do not have to care about source impedance limitations as described in the datasheet (Maximum ADC RAIN).Other data:VREF=VDDA=3.3V (stable) Voltage range of ADC input signal: 0 - 3V (never >3.3V)Effect:I experience a large voltage breakdown when I configure the ADC, via CubeMX generated function MX_ADC3_Init (same happens when I use ADC1). I found, that within MX_ADC3_Init the channel gets configured and the ADC sequencer register ADC_SQR1 is set (I only sample that one channel with the high-impedance voltage divider). As soon as ADC_SQR1 is set, the voltage breaks down, from anything >2.5V to appr
Hi what is the crrent state of agentic programming with cub ide? Like I want Claude code to add an EMMC driver to my existing project. Is this possible?
Hi,I am working on an offline Flyback converter utilizing a UCC28C50 primary side PWM controller. Originally, the converter was configured for Constant Voltage (CV) mode using a standard TL431 and optocoupler circuit, which operated correctly.To convert this design into a Constant Current / Constant Voltage (CC/CV) supply, I replaced the TL431 with an STMicroelectronics SEA05 advanced controller on the secondary side. My implementation strictly follows the secondary-side configuration from STMicroelectronics' application note "10W offline LED driver based on VIPER27" (DN0002/AN4376).10W offline LED driver based on VIPER27 (DN0002) Circuit Parameters and Component Values: Target Output Specifications: V_OUT = 15 V, I_OUT = 3 A (Test Target) Current Sense Resistor (R_SENSE / R16, R22): 18 mΩSEA05 Pin Configuration Components: R₁₈ = 3.75 kΩ, R₂₀ = 10 Ω, R₅ = 10 kΩ, C₈ = 100 nF, C₁₀ = 1 nF, R₁₅ = 120 kΩ, R₇ = 10 kΩ, R₆ = 51 kΩThe Problem: According to the SEA05's internal 50 mV curren
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.