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
STMCUFinder lists STM32G05x under analog ADC 14-bit (converters) . Datasheet only talks about 12-bit ADC.Please clarify.
Hello,I am currently in the process of migrating from OpenSTLinux v6.0.0 to version v6.2.1and I use a new way of partitioning based on image_types-stsplitpartitions.bbclass. A first observation : Splitting partition takes a lot of time.It seems that stsplitted_partition_create_fs function contains dead code that has a big impact.https://github.com/STMicroelectronics/meta-st-stm32mp/blob/wrynose/classes/image_types-stsplitpartitions.bbclass#L443 As you can see bellow:partition_size is set by “du of ${splitted_directory}” partition_size is always overwritten in the swich case.The problem is splitted_directory is never defined (I checked in all meta-st-stm32mp layer) so the “du” uses the current directory which in most cases corresponds to the BUILDDIR and it’s take time for nothing. stsplitted_partition_create_fs() { parttition=$1 partition_index=$2 src_splitted_part=$3 label=$(echo ${ST_PARTITIONS_LABELS} | cut -d',' -f${partition_index}) mount_point=$(echo ${ST_PARTITI
Hello,“Validate on target” in STM32Cube AI Studio fails every time for an STM32H563VIT6 target, at the step where it generates the STM32CubeIDE project. The model analyze/generate steps succeed.EnvironmentSTM32Cube AI Studio 1.4.0 (Windows 11) ST Edge AI Core 4.1.0 STM32CubeMX 6.18.1, the official release downloaded from st.com and reinstalled. At startup it reports itself as 6.18.1-RC2, and the log shows CubeIdeServices 9.9.9.0-gerrit582372-p6. STM32CubeProgrammer 2.23.0, STLINK-V3MINIE Target: STM32H563VIT6 (custom board), project type BYOM, context TrustZoneDisabled / CortexM33 Model: small ONNX MLP (float32, 92 KB weights)What happensAnalyze and generate succeed. AI Studio creates a new .ioc in a temp folder (“No .ioc file found ..., creating new STM32CubeMX project”). CubeMX reports errors while loading that .ioc: (OptionalMessage_ERROR) Unable to find key (Mcu.ThirdPartyNb) in loaded IOC file(OptionalMessage_ERROR) Unable to find key (Mcu.PinsNb) in loaded IOC file(OptionalMessag
I am struggling with creating USB CDC_ACM standalone using only USBX. In my project my only aim is using my PCB as COM port using with USB connection. With that later on i will upload some settings etc. with usb connection. I cannot pass first step: Windows can not see my device successfully. Often throwing Code43 and Code10 errors. And rarely successfull connection established with the same code pattern. I am not sure if i do the things correctly. In LAB videos and official documents, they achieve USB standalone only using USBX with STM32U0 family. BUt i am not sure if this concept covers the CDC_ACM Standalone. Because i am new at USB communication, terminologies messing in my mind. To sum up, i want to be sure that if i can achieve USB standalone(bare-metal) applicaiton using only with USBX for CDC_ACM (virtual COM port)?
Dear ST Support Team,We are currently working with the STEVAL-ESC001V1 evaluation board for BLDC motor control development.We are unable to locate the original STSW-ESC001V1 firmware package on the STMicroelectronics website.Could you please provide the firmware package or share a direct download link?We specifically require the following files: ESC_STM32_FOC_FW ESC_STMCWB_prj ESC_STMotorProfiler_addon We are planning to develop and build the firmware using STM32CubeIDE 1.9.0.Please also let us know the recommended compatible versions of STM32 Motor Control Workbench and MCSDK.Thank you for your support.Best regardsBrahmananda Kar
Device: STM32H563ZISTM32CubeIDE for Visual Studio Code 3.11.0STM32Cube Build Analyzer 1.5.0Toolchain: st-arm-clang 21.1.1+st.7ProblemWhen the project is compiled with -funwind-tables, the Build Analyzer shows:UNKNOWN [unknown type] - [ACTIVE]Project configuration issue.The Build Analyzer output log shows no error, only:[starm-readobj] Running command: cube starm-readobj --all --pretty-print --elf-output-style=JSON .../build/Debug/<project>.elf[starm-readobj] Project extraction succeeded.Without the flag, the analyzer works normally and shows the memory regions.The .map file is still generated normally. When I open it manually from VS Code with the Build Analyzer (right-click → Open Build Analysis), the memory regions are shown correctly. Only the automatic analysis of the ELF fails. How to reproduceCreate a new empty project with the Clang toolchain and build it. The Build Analyzer works. Add -funwind-tables to the C flags in CMakeLists.txt and rebuild. The Build Analyzer shows “
I think those STM32 ADC that provide differential input provide “fully” differential inputs also with limited common mode range and not "pseudo-differential" input as AN6606 claims. Maxim AN1108 show the different ADC input types. Please elaborate why AN6606 talks about “ "pseudo-differential"!Otherwise e.g. STM32L412, STM32F303 and probably others miss in the list of applicable products. Or explain why these typed have ADCs with a different differential mode!
The STM32G031G8U6 in a UFQFPN28 package does not have PF0 / PF1 pins for HSE OSC_IN / OSC_OUT. It does however have OSC_IN on PC14. This is intended for an external CMOS oscillator in bypass mode.I’m currently in the schematic design stage. My board clock is a clipped-sine TCXO used for other purposes. In some modes, I’d like to use it to clock the STM32. I’m very constrained on cost, power, and board space. The clipped-sine doesn't meet the voltage level requirements for a bypass-mode clock.Is it possible to configure HSE as if it were a crystal, but instead supply a clipped-sine 0.8 Vpp clock from the TCXO to PC14 OSC_IN? Does the die used in UFQFPN28 even have the HSE oscillator circuit that exists in the 48 pin package?I would set RCC_CR[HSEBYP] = 0 and RCC_CR[HSEON] = 1. I don’t see any register controlling the OSC_IN alternate function on PC14. STM32CubeIDE doesn't allow this configuration, unsurprisingly, but I would configure t
I just now installed STM32CubeMX v6.19.0. I also noticed that for example, the STM32F7 v.1.13.1 firmware package is available for download on the ST website. However, the STM32CubeMX firmware updater does not show 1.13.1 as “available”, and shows 1.13.0 as the latest package available. Is anyone else seeing this, or it it me?
Subject: STM32MP257F-DK - How to get the MPI7001 800x480 HDMI panel working (EDID override gives test patterns, but no stable image/video)SETUP- Board: STM32MP257F-DK- OS: OpenSTLinux (Yocto build), Weston 13.0.1, kernel 6.6.129 (-dirty)- Panel: MPI7001, 7inch HDMI Display-B (800x480)- Display path: LTDC -> DSI host -> ADV7535 (i2c0, 0x3d, adv7511 driver) -> HDMI -> panel- stm_drm and dw_mipi_dsi_stm are built as modules (=m) and loaded via /etc/modules-load.dPROBLEMThe display never shows a stable image or video from the DK board. With the panel attached, and before loading any EDID: modetest -M stm -c 32 0 disconnected HDMI-A-1 0x0 0 31 (0 modes)dmesg shows "EDID block 0 is all zeroes", and Weston logs "connector 32 is disconnected" and exits.WHAT WE DID1. Copied the panel's EDID from a PC (cat /sys/class/drm/card1-HDMI-A-2/edid > panel.bin) to /lib/firmware/edid/panel.bin on the board.2. Loaded it on the board: mount -t debugfs none /sys/kernel/deb
Is there any way to prevent the Cube Programmer from opening all these message pop-ups when programming? I can read the Log to see what it has done, and closing them every time is a pain.I did try to find an answer already, but couldn’t find anyone else asking. Also looked in the preferences, but there there is only one user setting for data collection!
I freshly i stalled Arch and was thrilled add STM32 CubeIDE for VSCode extension. It seems it is actually only supported on ubuntu like distros.Will ST port this extension to other linux distributions ?I was forced to switch back to Ubuntu for the moment but it would be great to see it working on Arch !Thanks for the great work !
Hi, I hope everyone is doing well. I have an application on an STM32N6 that is running a VENC JPEG encoding (each 2nd frame, snapshot) and a neural network inference (every frame, continuous). These happen on two different DCMIPP pipes. Additionally, I have two modes of compiling my application:Debug `-g3 -O0` Release `-O2` (no debug)No other flags change, because I just manually edit them, I don’t use profiles or similar modernities. In debug mode I see the application working properly as expected (almost; there are times it hangs, just like the next scenario). When it runs in release mode, the VENC JPEG encoder “randomly” picks a frame here and there to encode, so it’s very very choppy (seconds between a frame; the library returns the code: `H264ENC_HW_BUS_ERROR = -9`). I do see the NPU working as expected (according to my internal counters). Some noteworthy things, since I don’t know if those matter:AXISRAM2: Model weights are loaded into here AXISRAM3: NPU input (pipe A) + jpeg ou
Hello!I am using a Siana N6Cam board with an STM32N657, an ST-LINK-V3MINIE, and STM32CubeProgrammer v2.23.0. The board has a separate USB data connection for the application’s USB CDC interface.I flash an AI application and model to external flash, then use a RAM FSBL to start the application while the board is in DEV_BOOT mode.Issue: With the USB data cable already connected, the application’s USB CDC COM port does not enumerate after the FSBL starts the application. If I unplug and replug only the USB data cable, the COM port appears. No reflashing is needed.I need the COM port to appear automatically when the application starts, without a physical cable replug.Could you advise:Does STM32N6 require an explicit USB device disconnect/reconnect or PHY reset when handing off from a RAM FSBL to the application? What should I check in the USB PHY clock, VBUS sensing, and USB initialization sequence on the Siana N6Cam? I observe even in Booting the signed FSBL from external flash - it needs
Hi support team,In STM32CubeIDE 2.1.0 (STM32U5G9, USBX 6.4.0 standalone Host MSC), I set USBX memory pool size to 32768. When I try to set USBX System Stack Size to 24576 (which is smaller than 32768), CubeMX still shows the error:"The value of USBX System Stack Size must be less than USBX memory pool size"Because of this, app_usbx.h is always generated with USBX_MEMORY_STACK_SIZE = 1024, even USBX_APP_MEM_POOL_SIZE is 32768, which is too small for ux_system_initialize() in Host MSC mode.CubeMX USBX ScreenshotPlease fix the validation check in CubeMX. Thanks!
Hi,I've got an X-NUCLEO-53L9A1. The board is in volume production and the product page advertises "full system software supplied, including code examples and graphical user interface", but the only downloads on that page are hardware files (Gerber, BOM, schematic). There's no driver, no example code, no GUI, no user manual. I've searched the product page, this forum, and GitHub and found nothing.On the host side: I have a NUCLEO-N6 (N657X0), and I see UM3655 is written around the STEVAL-VL53L9 on the N657X0 — so that looks like the intended dev path. But the GUI was demoed on a NUCLEO-H563ZI. I can buy a H563ZI if that's what's actually required, but I'd rather not guess.So, plainly:- Does the 53L9A1 software package (driver + code examples) exist for download yet, and where?- Is the GUI available, and which host does it need — H563ZI, or does it run on my N6?- If any of this isn't public yet, what's the route to get it, and when does it land on the product page?I just want to get the
Hello everybody,on Zephyr RTOS ver 4.5.0 some of the STM32F4 ADC DTS binding properties has been moved on “adc123_common” node. Example : app.overlay changes between zephyr 4.4.2 and 4.5.0 (st,adc-prescaler)Ver 4.4.2 &adc1 { status = "okay"; st,adc-prescaler = <4>; pinctrl-0 = <&adc1_in3_pa3>; pinctrl-names = "default";}; Ver 4.5.0&adc123_common { status = "okay"; st,adc-clock-source = "SYNC"; st,adc-prescaler = <4>; /* ADCCLK = PCLK2 / 4 */};&adc1 { status = "okay"; pinctrl-0 = <&adc1_in3_pa3>; pinctrl-names = "default";}; My questions are :where could I find some details about how some STM32 binding properties has been moved to different nodes from Zephyr 4.4.0 and 4.5.0? I didn’t find that information in the Zephyr release notes. Do that changes affect also some other STM32 peripherals/nodes ?Thanks
Hello Nerdz,I’ve isolated a problem with the HRTIM functions in HRTIM comparators having to do with the specified period being an uneven harmonic of the low resolution timers above it.If the period is specified as 0x8000, the problem does not happen. If the period is specified as 0xffdf, the problem does happen. I believe this is because 0x8000 is an even power of two, so it perfectly aligns with the 16-bit wrap-around of the lower resolution timers. The internal high resolution counter is16-bits and if this period is not in sync with the start/end of the high resolution period, then comparator errors can happen if the comparison happens within the window at the end of the 16-bit range. (I’m guessing, but this seems likely to me.)In any case, I’m seeing what appears to be a 5.9ns error that happens some small percentage of the time between two channels on the same timer (CHA in this case using PA8 & PA9 as output pins). They are configured to always be exactly in sync. Once again,
Hi, I’m bringing up an ISM330DHCX over SPI on a NUCLEO-F722ZE using STM32CubeIDE and HAL. The sensor is on a SmartElex 9DoF breakout with an MMC5983MA magnetometer.I’m using the SmartElex 9DoF breakout with the ISM330DHCX and MMC5983MA. Here’s the SmartElex board guide, which shows the pinout and SPI jumper settings.Yesterday, I connected the breakout with male-to-female jumper wires and successfully read WHO_AM_I as 0x6B (107). Today, the same test first returned 0xFF and now repeatedly returns 0x48 (72), even though HAL_SPI_TransmitReceive() returns HAL_OK. I’ve replaced the jumper wires and tried wiring the module through a breadboard, but the problem persists.I found similar reports on ST Community, including the same 0x48 reply. One user got 0x6B again after replacing a jumper, but replacing mine didn’t fix it. I haven’t found a fix for my setup. Wiring and SPI settingsSmartElex pin NUCLEO-F722ZE pin SCL PA5 (SPI1 SCK) POCI PA6 (SPI1 MISO) SDA PA7 (SPI1 MOSI) ACS PD1
Hello,My issue of “targeted project type stm32cube option greyed and empty is selected by default” is not solved. I tried solutions from all of the following st community links:-1. https://community.st.com/stm32cubeide-mcus-28/resolved-stm32cubeide-project-creation-issue-154508/index2.html?postid=687021#post6870212. https://community.st.com/stm32cubeide-mcus-28/resolved-stm32cubeide-project-creation-issue-154508/index2.html?postid=686214#post6862143. https://community.st.com/stm32cubeide-mcus-28/resolved-stm32cubeide-project-creation-issue-154508/index2.html?postid=687011#post6870114. https://community.st.com/stm32cubeide-mcus-28/resolved-stm32cubeide-project-creation-issue-154508/index2.htmlBut still my problem "v1.19.0 STM32Cube Option disabled during project creation; No .ioc File Generated" is still not so;ved. I also tried with V1.13.1, 1.16.0, 1.18.0 but still issue not resolved. Uninstalled and re-installed 1.19.0 many times but still issue not solved.Please suggest me the final
Hello ST Community,We are currently evaluating the STSAFE-A110 with the SPL02 profile (STSAFA110S8SPL02) and have a few technical questions regarding the global usage limit and its behavior.While reviewing the available documentation, we could not find definitive information about the following points: Factory configuration: What is the factory-configured global usage limit for the SPL02 profile? Unlimited usage: Does 0xFFFF also represent unlimited usage for the global limit, as it does for individual key slots? Counter consumption: Which operations consume the global usage limit? Specifically, does every Generate Signature operation decrement this counter? Configurability: Is the global usage limit configurable after manufacturing, or is it permanently defined by the factory profile? Counter readout: Does stse_get_ecc_key_table_info() return the originally configured global usage limit or the remaining usage count? We initially contacted STMicroelectronics Support and were di
Updated post to reflect permanent fix Dear STM32CubeIDE user, Further to the recent STM32CubeIDE project creation issue, we would like to inform you that a solution is now available for you. This permanent fix applies to all STM32CubeIDE versions. Issue description When creating a new STM32 project in STM32CubeIDE, the “STM32Cube” radio button may have become unresponsive, blocking the “Next” button after the product selection screen. This prevented the project creation from being completed. Permanent fix You can apply this resolution to any STM32CubeIDE version, even if you applied the temporary workaround that we recently shared with you. Open STM32CubeIDE. Refresh the database.Go to Help > STM32Cube updater > Select “Check the Target selector Device Database Updates” Restart STM32CubeIDE If you deactivated the auto refresh function previously, you may wish to reactivate it for all your STM32Cube tools. Here is how to proceed: STM32CubeIDE:Go to Window > Preferences
STM32C5 ADC not giving updated values.
Hello Team,We have developed custom board using STM32N657 operating with 1.8V. We are configuring I2C2 and I2C4 at 400KHz. As per I2C specification fall time min value is 6.54ns but we are getting 3 to 4ns. We have measured with 4.7K and 10K pull up resistor value. We are measuring with 70% to 30% consideration as per specification.Rise time is well within I2C specification.Could you please suggest us any register settings to meet I2C specification?Thanks
Hello,This is an update to the report above. We have reduced the failure to a much smaller setup, and one earlier statement of ours needs correcting.Minimal reproduction (one module, no second ST67, no sockets).One ST67W611M1, NCP reporting AT version:1.0.0.1 (Mar 20 2026 09:32:19), sdk 2.0.106, STM32H563 host, SPI host interface at 10 MHz. The module joins an ordinary WPA2 home router as a station, with DHCP. After +CW:GOTIP the host does nothing except send AT once per second. No CIPSTART, no sockets, no other commands.AT+SYSSTORE=0AT+CWMODE=0AT+CWMODE=1AT+CWDHCP=1,1AT+CWJAP="<ssid>","<password>" -> +CW:CONNECTED, +CW:GOTIP, OKAT (once per second, each answered OK)...AT -> no answer, RDY stays lowResult. Some time after the address is obtained, the module stops answering. The host clocks out the AT frame normally, RDY never rises, and every later command goes unanswered. Our SPI error counters (he
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.