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
Dear MCSDK users, MCSDK version 6.4.0 is now available: Download It here. This version of the new Motor Control SDK 6 series (X-CUBE-MCDSK) provides mainly FOC and 6Step improvements, here are the main changes for this version: Motor Control Features: Common: Regular conversion manager (RCM) component has been modified to reduce memory footprint and to meet the requirement of synchronizing ADC conversions "regular" and "injected". 6Step: Increased 6Step firmware architecture efficiency and reduced FLASH and RAM Memory footprint Added Initial Position Detection and On-The-Fly Startup features. Added Software Current Sensing Monitoring mode supported for series STM32C0xx/F0xx/F3xx/G0xx/G4xx. FOC: New Maximum Modulation Index (MMI) computation compatible for all sensor-less or sensor algorithms. Mitigated speed overshoot during startup. Added ICS (Isolate Current Sensors) support for profiler for F3, G4, F4, F7, and L4. Added the ability to switch to/from primary to aux
When installing some StellarStudio plugins http://*.srxstudio.org , you can meet the issue : sun.security.validator.ValidatorException: PKIX path building failed It is typical IT Issue :face_screaming_in_fear: in each corporate company. “"Path building" refers to the process of verifying a chain of certificates from a specific certificate up to a root CA (Certificate Authority) certificate. If this process fails, it means that the application could not construct a trusted path from the server's certificate to a root CA.” IMPORTANT : The customer needs to install their own root certificate in JRE StellarStudio keystore Typically this keystore is at c:\StellarStudio-5.0\eclipse\jre\\lib\security\cacerts. The keytool that is used to access the keystore is typically installed with the JRE and ready to use. Run the standard keytool to import the certificate, from c:\StellarStudio-5.0\eclipse\jre\\lib\security\cacerts. c:\StellarStudio-5.0\eclipse\jr
Dear community member, The “Analog and audio” topic is no longer supported on the ST community. The legacy content is available only by the read-only basis. If you have any requests regarding "Analog and audio” topics, check the alternative support channels at ST: Support Home.We apologies in case of any inconvenience. ST community team
The documentation of the Board descriptions format is now available on Motor Control Boards Description Wiki page, this documentation is compatible with MCSDK versions from 6.1.2. Board Descriptions are used by the ST motor-control workbench to enable users to configure their motor-control application and produce a software project that implements it following its hardware component features. Wiki Link A new documentation will arrive soon and will detail these features: Current Sensing: three-shunt-raw-currents-differential-internal-opamp-with-external-gain-and-filtered-adc-intput-hwv ICS Phase Voltage sensing feature Driver Protection feature The descVersion property is equal to 4 from version 6.2.0 of the MCSDK and the "contentVersion" property is added. For questions regarding the board manager, please respond under this post. Regards
Please go and visit our wiki pages where you can find a lot of information on our wireless product families (WB, WBA, WL) and the supported protocols: BLE, Zigbee, Thread, Matter, Lora, ... To begin your technical journey, please start from this top page: https://wiki.st.com/stm32mcu/wiki/Category:Connectivity This top page will guide you to the first steps to develop a wireless application using connectivity protocols on ST wireless microcontrollers. For BLE protocol, please visit: https://wiki.st.com/stm32mcu/wiki/Connectivity:Introduction_to_BLE_with_STM32https://wiki.st.com/stm32mcu/wiki/Connectivity:Introduction_to_Bluetooth_LE_Audio You can find information on BLE Certification, BLE Features, BLE Mesh, BLE Audio, … For Zigbee protocol, please visit: https://wiki.st.com/stm32mcu/wiki/Connectivity:Introduction_to_Zigbee You can find information on Zigbee certification, Zigbee Features, BLE-Zigbee concurrent mode, … For Tread protocol, please visit: https://wiki
Dear all, The X-CUBE-MATTER Expansion Package is now available on our official website following this link MATTER - Matter software expansion for STM32Cube - STMicroelectronics It is a reference implementation for the demonstration of Matter on STM32. It is ready for prototyping a Matter end-device on a reference development platform. Refer to STMicroelectronics Matter wiki articles at https://wiki.st.com/stm32mcu/wiki/Connectivity:Introduction_to_Matter to get started with matter for the supported STM32 platforms. Kind regards, Ouadi
Configuration NMEA command with QZSS 1.GPS $PSTMCFGCONST,2,0,0,0,0 $PSTMCFGCONST,2,0,0,2,0 1.Glonass $PSTMCFGCONST,0,2,0,0,0 $PSTMCFGCONST,0,2,0,2,0 1.Galileo $PSTMCFGCONST,0,0,2,0,0 $PSTMCFGCONST,0,0,2,2,0 1.BeiDou $PSTMCFGCONST,0,0,0,0,2 $PSTMCFGCONST,0,0,0,2,2 1.GPS & Galileo $PSTMCFGCONST,2,0,2,0,0 $PSTMCFGCONST,2,0,2,2,0 1.GPS & Glonass $PSTMCFGCONST,2,2,0,0,0 $PSTMCFGCONST,2,2,0,2,0 1.GPS & BeiDou $PSTMCFGCONST,2,0,0,0,2 $PSTMCFGCONST,2,0,0,2,2 1.Galileo & Glonass $PSTMCFGCONST,0,2,2,0,0 $PSTMCFGCONST,0,2,2,2,0 1.Galileo & BeiDou $PSTMCFGCONST,0,0,2,0,2 $PSTMCFGCONST,0,0,2,2,2 1.GPS & Galileo & Glonass $PSTMCFGCONST,2,2,2,0,0 $PSTMCFGCONST,2,2,2,2,0 1.GPS & Galileo & BeiDou $PSTMCFGCONST,2,0,2,0,2 $PSTMCFGCONST,2,0,2,2,2 2.Save on flash and 3.Reset $PSTMSAVEPAR $PSTMSRR $PSTMSAVEPAR $PSTMSRR
In order to have a quick response to your forum posts, the best way to ask the question is:- Give the version of the MCSDK used. - Say if the problem concerns a tool (MC Workbench, Motor Pilot, Motor Profiler, etc...) - Provide picture of tools interface when is possible.- Attach the STWB6 file of the project or the JSON of the board when possible.Choose a label for the post ( Motor Pilot MC Workbench, etc...), you can select it to the right of where you write the message.Here is a template that you can reuse:[PN]: Part Number of the products used[VERSION]: Version of MCSDK[TOOL]: Name of tool ( Firmware, MC WB,MC PROFILER, etc..)[DETAILS]:symptom observed or request/question details[EXPECTED BEHAVIOR]:if related to performance then what is the target[HOW TO REPRODUCE]:input, output, steps But before entering a new post, please consider to first check our Motor Control documentation available via Work Bench Tool by clicking on About -> Documentations -> Documentation -> i
I have been trying to use my stm32f769i disco board i have tried trigering the lcd tft display but even though i use bsp examplesalso im not able to tunr on the display .If any one have expereince in delaing with this issues ? could you help me sort this out!
I tried installing x-linux-ai by following the instructions in the [X-LINUX-AI Starter package] .but I was unable to install it due to an error. root@192-168-1-59:~# apt-get updateThe software package is provided AS IS, and by downloading it, you agree to bebound to the terms of the software license agreement (SLA).The detailed content licenses can be found athttps://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.https://www.st.com/resource/en/additional_license_terms/additional-license-terms-for-x-linux-isp.htmlHit:1 http://packages.openstlinux.st.com/6.2.1 scarthgap InReleaseHit:2 http://extra.packages.openstlinux.st.com/ISP/6.2.1 scarthgap InReleaseReading package lists... Doneroot@192-168-1-59:~# apt-get install x-linux-ai-toolReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneE: Unable to locate package x-linux-ai-toolroot@192-168-1-59:~# apt-get install x-linux-ai-tool My setup consists of a custom board based on the STM32MP255F, onto w
Hello,I am using an STM32U375 and trying to enter STOP3 mode without any wakeup source.Device configurationOption Bytes:IWDG_SW = 1IWDG_STOP = 0IWDG_STDBY = 1According to RM, IWDG_STOP = 0 means:Bit 17 IWDG_STOP:0: IWDG counter frozen in Stop mode1: IWDG counter running in Stop modeThe OPTR register value is:FLASH->OPTR = 0x1FEDF0AAIWDG configurationChiwdg.Instance = IWDG;hiwdg.Init.Prescaler = IWDG_PRESCALER_256;hiwdg.Init.Window = 4095;hiwdg.Init.Reload = 4095;hiwdg.Init.EWI = 0;HAL_IWDG_Init(&hiwdg);Expected timeout is approximately 32.8 seconds (LSI ≈ 32 kHz). STOP3 entry sequenceBefore entering STOP3 I clear all wakeup-related flags:CRTC->SCR = 0xFFFFFFFF;TAMP->SCR = 0xFFFFFFFF; __HAL_PWR_CLEAR_FLAG(PWR_FLAG_STOPF);__HAL_PWR_CLEAR_FLAG(PWR_FLAG_SBF); PWR->WUSCR = 0xFFFFFFFF; EXTI->RPR1 = 0xFFFFFFFF;EXTI->FPR1 = 0xFFFFFFFF; SysTick->CTRL = 0;SCB->ICSR = SCB_ICSR_PENDSTCLR_Msk; Then:CMODIFY_REG(PWR->CR1,PWR_CR1_LPMS,PWR_CR1_LPMS_0 | PWR_CR1_LPMS_1
I've been running the ST25R3916 as an NFC-A passive target on an M5Stack NFC unit (I2C, address 0x50), driven from six different hosts: a Feather RP2350 (MicroPython, Arduino, TinyGo, Rust, Zephyr) and an FT232H on a Mac (Python).What works: the chip answers REQA and anticollision from passive target memory A (UID, ATQA, SAK). The host answers the rest. I have an NTAG215 model (READ, FAST_READ, WRITE, GET_VERSION, READ_SIG, HLTA) and an ISO-DEP Type 4 NDEF tag (RATS/ATS, I/R/S blocks, chaining, WTX, DESELECT). An iPhone running NFC Tools identifies the Type 2 tag, writes an NDEF text record to it, and does the same through the Type 4 file.Timing was the hard part. A phone gives the tag about 5 ms for its first reply. Over the FT232H with pyftdi, one Type 2 command took about 11 ms. Raw MPSSE batches at 400 kHz (one USB write, one read) bring it to about 1.7 ms.My question: is there a recommended configuration for passive target mode on a board with a small antenna like this one? I set
We have a design built around the STM32G0B1NEY6TR (WLCSP52). Boards fitted with the G0B1 connect over SWD and program normally. Boards fitted with the STM32G0C1NEY6 do not connect over SWD and cannot be programmed.Going by DS13560 Rev 6, DS13564 Rev 5, ES0548 and ES0549, we expected the C1 to be a drop-in replacement:- WLCSP52 ballout is identical (MSv63196V3 in both datasheets)- Same package mechanicals, same DEV_ID (0x467), same REV_ID (0x1000)- The only errata difference is the RNG Questions:1. Is any difference between STM32G0C1NEY6 and STM32G0B1NEY6 relevant to debug access or power-up that isn't in the datasheet or errata?2. Is running VDD at 1.8 V with VDDIO2 at 3.3 V supported on the WLCSP52 C1, including with PA13/PA14 in the VDDIO2 domain?3. Do factory-fresh G0C1 parts ship with any option-byte default (e.g. securable memory, BOOT_LOCK, nBOOT_SEL) that differs from the G0B1?4. Are there known issues or field returns for this part/lot? If yes, what is the failure-analysis / RM
Hello Team,We are using STM32N657 and HyperRAM S80KS5122GABHI023 in our design. We are facing issue related to minimum 0.5ns hold time requirement of HyperRAM. We are getting hold time 0.34ns for RWDS. Same thing is also happening with Data 0-7 lines also.We are operating HyperRAM at 200MHz.Could you please suggest us how can we manually add delay in RWDS and Data lines to meet hold time requirement? Thanks
As shown in the figure above, we are using the VL53L1X to measure the height of salt blocks in a water softener, and have observed the following phenomena:1. The measured height is 5 cm more than the actual value.2. In a white plastic salt tank, the measured salt height is 7–9 cm more than the actual value near the light-transmitting areas close to the outer shell.3. In a black plastic salt tank, the measured salt height is 5 cm more than the actual value.Why is this happening?
Ok, the build configuration, item manage is grey out. That might not seem to be so bad but the linker doesn’t seem to have a good path to the linker script (fail-specified-linker-script-missing). The file STM32F411RETX_FLASH.ld is present in the root of the project. So how do I fix this if the property can’t be accessed ?
Hello everyone,I am unable to program my STM32F103RB microcontroller. The project builds cleanly (0 Error(s), 0 Warning(s)), but flashing the target consistently fails. Environment & Hardware: MCU: STM32F103RB OS: Windows IDEs tested: Keil µVision 5.3 (ARM Compiler V6.14) and PlatformIO (platform = ststm32, board = genericSTM32F103RB Symptoms & Error messages: In Keil µVision, clicking LOAD triggers Debugger - Cortex-M Error: Internal command error immediately followed by Error: Flash Download failed - Target DLL has been cancelled. After modifying debug settings, I also got Error while accessing a target resource. Resource perhaps not available or a wrong access was attempted. In PlatformIO, uploading fails as well, confirming the issue is independent of Keil. In Windows Device Manager, under Ports (COM & LPT), only a generic USB Serial Device (COM5) (Périphérique série USB (COM5)) appears, with no dedicated STMicroelectronics STLink device visible. Troubleshooting
I'd like to ask people familiar with STM32 microcontrollers: what's the best way to get started with them?I have an STM32 board based on the STM32F405RGT6.What resources, books, or learning materials would you recommend for learning STM32, and how did you go about learning them yourself?
Dear STMicroelectronics Development Team,I would like to suggest a feature that could significantly improve STM32CubeMX and STM32CubeMX2, particularly for embedded projects with limited Flash memory and strict performance requirements.Current SituationWhen configuring peripherals such as GPIO, timers, ADC, UART, SPI, etc., CubeMX typically generates initialization code using HAL or LL functions.Although these libraries provide a convenient and structured programming interface, the generated initialization code can introduce considerable overhead.In many cases, the hardware configuration is completely static and known at compile time. However, the generated code may still involve multiple function calls, intermediate structures, parameter assignments, and runtime operations just to write a few fixed values into hardware registers.For example, configuring a GPIO port might ultimately require only a few register writes with constant values. Yet the generated initialization code can be con
I am experimenting with hall, 6-step sensorless, and FOC. Our application requires periodic spin reversal and fairly quick acceleration. I have been able to tune for smooth acceleration using MCWB but changing direction does not seem to be supported in the Motor Pilot GUI. Can someone point me to sample code or examples that provide this function, GPIO-driven?
As stmcufinder is abandoned, I tried the online tool https://www.st.com/content/st_com/en/stm32-mcu-developer-zone/mcu-portfolio.htmlHowever e.g. the analog selection part in the top row has a 12-14-16- bit variants marked with 1 and I found no way to ask for a device with at least a 14-bit ADC. I this expected behaviour? Or what do I do wrong? Adding the column with 16 bit ADCs in the MCU table however found many unexpected hits:
Heyho,just checked the new STM32 familiy members, H7 P and G5.I haven’t found any SAIs (“Serial Audio Interface”) in both, and that is frustrating.Is that a trend that will continue?That question mostly goes to ST!@STea @Peter BENSCH & others Why I care:the SAIs provide good internal sync features compared to the rather “naked” I2S peripherals (synced by the the master’s clocks via GPIOs, terrible for PCB layout), and the SAIs have some other nice features.Therefore, the SAIs are a good option for synchronous data acquisition of multiple channels, not only audio.
Hello STM team,I am using STM32H5 series MCU interfaced with ISS SDRAM IS42S16400N-6TLI.I am observing 3.9V peak on Data lines when controller reads. Undershoot of -500mV is observed. All the data lines are interfaced on FT pins. Overshoot and undershoot peaks are observed for period of 1.2nSWe have evaluated the change in overshoot and undershoot by changing series termination from 22 Ohm to 47 Ohm. No significant improvement observed.With same PCB layout and design with Winbond W9864G6KH memory overshoot and undershoots are within limits.Even with 72 Ohm, I am observing same behavior with 100mV reduction in overshoot. I have following queries regarding STM32H5 MCU.1. For FT data lines, Is it okay to go ahead with 3.9V peak.2. Is it okay to go ahead with -500V undershoot. Thank you.Regards,Rajesh Matere
Hi ST, Anyknown share me the documents related to the above subject mentioned for baremetal driver development RegardsVinod Hulagabali
Setup- Board: STM32N6570-DK, Neural-ART NPU, dev boot.- Tool: ST Edge AI Core 4.0.1 (target stm32n6), ll_aton 1.1.3.275 / NetworkRuntime1201_CM55_GCC.a.- Model: ViT-style autoencoder encoder. Input 1×3×256×256 RGB, output INT8 [128,12] → 128 LE-uint16 tokens (256 B). Weights in xSPI2 NOR @ 0x70380000.Problem 1 — wrong latent (NPU)The board latent doesn't match ONNX Runtime on the compiled graph (0/128 tokens). Epoch tracing shows input, weights and the first conv are correct, but the first Concat output is placed by the planner on top of one of its inputs:input1 [1,256,512] @0x34310000output [1,257,512] @0x34310000 (starts where input1 starts)LL_ATON_LIB_Concat copies inputs in order with forward memcpy, so it corrupts the tensor (every row becomes the class token). I added an overlap-safe copy as a local patch; that fixes the Concat, but a second fault remains in epochs 8..72 (first LayerNorm / start of the first attention block) → latent still wrong.Problem 2 — speedOne encode is
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.