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
Hello, I would appreciate a 3D-printable cover for STM32H573I_DK. Does someone happen to have it? Can you eventually recommend me a place to find it?Thank youVaclav
Hello, our Teseo LIV4F (mounted on a race boat) drops fixes during accelerations and takes about 2-3 seconds afterwards to get a fix again.By looking through the forums and asking LLMs it seems like this is something that can happen when the dynamic model is incorrectly set to Pedestrian or Static. This information however was for the TESEO-LIV3 specifically, where the dynamic model is also documented. We couldn’t find any documentation about this parameter for the LIV4F, instead.I’d like to ask if this is a known issue and how we could go about solving this.Additionally, it also seems like increasing the fix rate to > 1Hz makes the chip unstable, dropping fixes after about 10 seconds after incorrectly heavily drifting and reporting speeds >= 50kn when the boat is stationary. After this it never recovers. Setting the fix rate back to 1Hz solves this.We believe the latter issue could be solved by updating the firmware, something that we’re working on as I’m typing this.Thanks for
Hi,I'm working on a product based on the STM32WB5MMG module, running the BLE + Thread dynamic concurrent CPU2 binary (stm32wb5x_BLE_Thread_dynamic_fw.bin v1.24.0, FUS 2.2.0). Our boards are Thread routers.The 802.15.4 link margin is too low for us. Two boards 1 m apart see each other around -85 / -88 dBm, so I'd like to raise the Thread TX power. BLE is set to +6 dBm with aci_hal_set_tx_power_level(1, 0x1F) and works fine. For Thread we never set anything, so it runs at the stack default. The SMPS is not enabled in our code, so the chip is powered in bypass at 3.3 V.I tried otPlatRadioSetTransmitPower(NULL, x):called at Thread start on both boards with 6, -6, -20 and 0x1F: the boards don't attach to each other anymore. Remove the call, reflash, and everything works again. 6 on one board only, at the end of our Thread init (before BLE advertising starts): the board attaches and goes up to router, and it receives the multicast CoAP messages from the other board. But the other board never
Hi ST Support Team,We encountered a reproducible HardFault when running an object detection model on the STM32N6570-DK, and have completed extensive isolation testing. We believe this points to an issue in the STEdgeAI 4.0.1 / Neural-ART toolchain combined with the Getting Started reference application (concurrent camera/display/NPU usage), rather than a configuration mistake on our side.[Environment]- Board: STM32N6570-DK (with IMX335 camera)- Project: Getting Started Object Detection App (stm32ai-modelzoo-services)- Model: st_yoloxn (1 class, 416x416), Quantized (input: uint8 / output: int8)- Toolchain: STEdgeAI Developer Cloud v4.0.1 (forced by cloud; v4.0.0 is no longer offered, though the project's own README states the shipped model files were generated with v4.0.0)[Symptom]Build, flash, and boot-from-flash all complete without error, but the LCD stays black. Debugging via STM32CubeIDE shows a HardFault during NPU inference:HardFault_Handler()__LL_ATON_RT_IrqErr(irqs) // ll_ato
When TxRSTU and RETRIG are enabled with CONT disabled, will the timer still trigger a register update when it's counter reaches it's PER value? Since it says in the image below that the PER event is generated but says it re-starts from 0 when it's reset but doesn't mention roll-over, and the image above says it'll update registers on timer reset and rollover. Essentially what I'm asking is does it count as a roll-over when the timer reaches its period value when CONT=0? Since I need to know if it'll update it's registers at the end of it's period or no.Any help is much appreciated :)
Hi,I am using the STM32H7S7L8H6H microcontroller paired with the APS256XXN-OBx9 PSRAM, configured for two main purposes: Framebuffer for TouchGFX. (320*240 16bpp dual frame buffer). Heap region for FreeRTOS (heap_5.c), as my application is large and combining SRAM3 with DTCM leads to full SRAM To follow ST's recommendations for TouchGFX, I configured the MPU without caching for the PSRAM region. However, this causes the FreeRTOS heap located in that same region to be non-cached, resulting in significantly slower performance.I attempted to divide the PSRAM into two separate MPU zones (one cached for the heap and one non-cached for the framebuffer), but doing so introduced graphical glitches on the screen.Do you have any recommendations or best practices to mitigate this issue and achieve both good heap performance and stable display output?Thanks
Hello am designing a 6S battery pack (25 V nominal) around the BQ40Z80 and would appreciate your feedback on my schematic before I proceed to layout. I used the BQ40Z80 EVM reference design (datasheet Figure 7-1) as a starting point and adapted it for a higher current.Design summary -Cells: 6S (VC1–VC6), with 100 Ω / 100 nF RC filters on each cell input.- Current: 60 A continuous, 80 A peak (the charge current is lower).- Current sense: 1 mΩ shunt on SRP/SRN, which gives about 75 mV at 75 A. This is within the ±100 mV input range of the device.- Protection FETs: 3× BSC014N06NS in parallel on the CHG side and 3× in parallel on the DSG side, in a common-drain back-to-back configuration.- Gate drive: single gate resistors per FET (1 kΩ on the CHG side, 12 kΩ on the DSG side), 10 MΩ gate-source resistors, and clamps on the gate-source of the DSG FETs.- Pre-charge/pre-discharge: P-channel MOSFET (Q41) in series with a 100 Ω / 3 W resistor (R140), driven by a BSS138 from LEDCNTLA (PCHG is no
Hello,On an STM32H5F4, programming the EDATA (high-cycle data) area with STM32_Programmer_CLI -d finishes with "File download complete" and exit code 0, but nothing is written to flash. NB: The same procedure works on an STM32H573.EnvironmentSTM32CubeProgrammer CLI v2.23.0 (Linux) Target: STM32H5F4 (DEV_ID 0x47A), product state Open (0xED) Probe: ST-LINK, SWD, mode=UR, reset=HWrst Option bytes: EDATA1_EN=1, EDATA1_STRT=7, EDATA2_EN=1, EDATA2_STRT=7 (last 8 sectors of each bank used as EDATA)Steps to reproduceEnable EDATA on both banks:STM32_Programmer_CLI -c port=SWD mode=UR reset=HWrst -ob EDATA1_EN=1 EDATA1_STRT=7 EDATA2_EN=1 EDATA2_STRT=7 Confirm the target area is mapped and blank (it reads back without error as all 0xFF):STM32_Programmer_CLI -c port=SWD mode=UR reset=HWrst -r32 0x09028800 0x10 Program 16 bytes:printf '\xA5\x5A\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E' > test.binSTM32_Programmer_CLI -c port=SWD mode=UR reset=HWrst -vb 3 -d test.bin 0x09028800 Read
Hello guys I am working on a switch mode power supply with PFC and for the latter I have picked L4984D IC. The reference circuit design I obtained with the help of eDesignSuite online tool. Upon assembly of the circuit, as a safety measure , I powered it through a series bulb and straight away, things did not look promising. there were no shorts, but the voltage at the INV pin measured at 0.7v , which according to the datasheet ,told me that there was a feedback failure. After inspecting all the feedback resistors and double checking the circuit, I discovered that VCC voltage was dropping below VCCON. rectified it and then Series Bulb light up brighter than before and had a pulsating visuals( not completely dimming). did more checking and found out that the main bulk voltage was dropping to 110V , which is far too low and now the only suspect seemed to be the series bulb. before bypassing it, I did one final measurements to make sure it was safe to directly turn the circuit and th
Hi everyone,I'm not sure how many of you are already working with the STM32C5, STM32CubeMX2, and Keil Studio, but I'm experiencing some issues with this setup. I know that both STM32CubeMX2 and Keil Studio are relatively new products, so some issues are to be expected. However, I'd be interested to know whether anyone else is experiencing the same problems.I'm using STM32CubeMX2 to create a project for the NUCLEO-C562RE board. I then generate the IDE project in Open-CMSIS format. Once the generation is complete, I open the project in Keil Studio. So far, everything works fine: I can open, build, and debug the project without any problems.However, when I navigate to CMSIS → Components → STMicroelectronics:Device Codegen Code@2.0.0 and click Run Configuration Generator, I get the following error:executing generator 'stm32c5xx_hal_mx2codegen' for context 'test.debug_AC6+NUCLEO-C562RE' failedWhen I run the generator manually in verbose mode, I get the following error:csolution run c:\git\n
Hi ST Community, I discovered nucleo board 2 weeks ago because I want build spectrometer using a Toshiba TCD1304DG CCD sensor.I’m reaching out because I need your help understanding how to drive this ccd sensor. I’ve read datasheet and projects on internet to get a general understanding of how to operate this sensor. However, there are a few points I’m still unsure about. Could you please help me clarify the following questions? Here is the datasheet : https://toshiba.semicon-storage.com/info/TCD1304DG_Web_Datasheet_en_20260520.pdf?did=13709&prodName=TCD1304DG 1. Is my understanding of the acquisition sequence correct?My understanding is that, to read all 3,694 pixels using a hardware timer, the ADC, and DMA, the acquisition sequence should be as follows: Set ICG LOW. After 500 ns, set SH HIGH. After 5,000 ns, set SH LOW. After another 5,000 ns, set ICG HIGH. Read all 3,694 pixels from the OS pin. The master clock (M) runs continuously, shifting the pixel values out sequentially, w
Hi,We’re using an STM32U5G9 with a MIPI DSI panel (driven by the LTDC through the DSI host). The panel is 800×600 and scans in landscape, but it’s mounted rotated, so the user sees a 600×800 portrait image. The panel controller can’t swap its scan direction; the manufacturer confirmed that only X/Y flips are supported.Current pipeline: JPEG frames arrive over the network. The hardware JPEG codec decodes them in bands of about 32 lines, and DMA2D converts each band (YCbCr → RGB888) straight into a single framebuffer that the LTDC scans. There’s no double buffering, because of RAM: the framebuffer alone is about 1.4 MB. Today the server sends frames already rotated to panel orientation.Goal: a framebuffer in the logical (portrait, 600×800) orientation. We could then implement scrolling by remapping lines with the GFXMMU (a ring buffer), and only decode the newly exposed lines.Questions:Can the LTDC or the GFXMMU present a 90°-rotated view of a framebuffer to the panel, without any interm
Section 2.5 of UM3656 says "For a complete description of the library capabilities, refer to the vl53l9-transform-c documentation." The X-CUBE-53L9A1 v1.0.0 package ships Documentation/ media-object/transform-c.chm and media-c.chm, but those document the generic transform framework they do not contain any mention of VL53L9, binning or resolution.In vl53l9-transform-c, _retrieve_output_size() accepts only raw frame sizes 14842 (54x42) and 3844 (24x20); the stream capability tables likewise list only those two resolutions. Calling the pipeline at other binnings is rejected, so 18x14, 12x10, 8x6 and 4x4 produce raw data with no calibrated depth.The underlying algorithms appear resolution-generic — vl53l9_algo_extract() takes frame width/height, crop offsets and binning as parameters, the calibration offset map is bicubic-resized to arbitrary width/height, and the radial-to-perpendicular map is computed per width/height/binning.Questions:Is support for the other binnings planned, or delibe
Hello,I’m working with a NUCLEO-N657X0-Q board and trying to run inference using the ST Edge AI embedded client API. The STM32CubeIDE project I’m using was generated with CubeAI Studio. Input, output, weights and activations buffers are preallocated. Here are the advanced settings I used in CubeAI Studio: Even though the validation with CubeAI Studio was successful, I edited the app_x-cube-ai.c file in order to validate my samples again so that I know I’m feeding data into the network and obtaining the outputs correctly. This is were I noticed that the prediction of every single sample is incorrect. Since I got over 98% accuracy with CubeAI Studio, I assume I’m doing something wrong in my code. Unfortunately, I can’t really figure out what it is. I only made a few minor changes to the app_x-cube-ai.c template. I’m basically interacting with the network like follows:static float* input_states_ptr;static float* input_currents_ptr;static float* output_states_ptr;static stai_ptr stai_input
Hello,Recently I decided to run STM32N6 NPU under non-secure Zephyr and encountered a bug in LL_ATON library. To begin with, this is my platform and SW:Board: NUCLEO-N657X0-QSoC: STM32N657X0H3QLL_ATON: atonn-v1.1.3-275-g6770925dRuntime: NetworkRuntime1201_CM55_GCC.aSTEdge AI: v4.0.1-20581 7ed50de05 ISPU 2.0.1-RC2 MLC 1.2.4-RC2 STM32CubeAI 12.0.1-RC2Model: st_yolodv2milli_actrelu_pt_coco_person_192_qdq_int8.onnxSW: OEMUxROT (S) + Zephyr (NS)XIP: enabledMy application runs in non-secure world and the NPU keeps addressing AXISRAM3-6 through the secure alias (0x342...), so the memory pools in the generated network are placed there. Then, the non-secure CPU is unable to access that alias, because it is running in non-secure and should access via non-secure alias (0x242...). In most cases LL_ATON utilizes ATON_LIB_PHYSICAL_TO_VIRTUAL_ADDR to access correct region, but there are few places that pass address directly instead of utilizing proper macro.Reproduction steps:1. Run a network f
Tool: ST Edge AI Core v4.0.1-20581 (7ed50de05), target stm32n6Neural-ART compiler: 1.1.3-275Runtime: ST Neural ART (LL_ATON api) v1.1.3, atonn-v1.1.3-275-g6770925dBoard: STM32N6570-DK, device 0x486, Cortex-M55Host: Windows 11, STM32CubeProgrammer 2.23.0, gnu-tools-for-stm32 14.3.1WHAT HAPPENSA 23x60 -> 30x5 INT8 TCN, generated for stm32n6 with the Neural-ART compilerand run on the NPU, returns an output that is not the INT8 graph's.This is not an application bug. "stedgeai validate --mode target", run againstyour own NPU_Validation project with your own random stimulus, reports theboard's output as essentially uncorrelated with the reference model thenetwork was generated from: acc=n.a. rmse=2.543027878 mae=1.976331592 l2r=1.100639820 mean=-0.346161 std=2.520198 snr=-5.872663 nse=-2.889206 cos=0.091053cos 0.091 is no correlation. snr -5.87 dB is noise above signal. nse -2.889 isworse than answering with the mean of the reference. l2r 1.10 is an errorlarger than the quantity it is
As i was going through the tutorialhttps://dev.st.com/edge-ai-docs/general/latest/en/docs/tutorials/how-to-deploy-ai-model-stm32n6-neural-art.htmli have faced issues in the linker script.The tutorial’s linker-script example places model data in EXTFLASH using the *_atonbuf.xSPI2*(.rodata*) pattern. In my generated project, however, the model weights are emitted in Application/User/AI/network.o as .rodata._ec_blob_network_* sections. Those sections didn’t match the example’s pattern, so the general .rodata* rule placed them in ROM instead.This caused .rodata to extend past the ROM boundary at 0x70180000 and overlap .AI_XSPI2. Adding *(.rodata._ec_blob_network*) to the .AI_XSPI2 section moved the model blobs into EXTFLASH and fixed the link.Please consider updating the tutorial to mention that generated model-section names can differ, and show how to check the linker map and route the generated model blob sections to EXTFLASH.the solution for me was to update the linker script with this.
Main goal is to measure the RMS value of the mains, first question is can i perform the calculations using floating point or fixed point? The RMS requires the sqrtf function, can i use the function due to its number of cycles?
I am evaluating the LDQ40PUR (adjustable version) and there is some ambiguity in the datasheet for setting the output voltage.The datasheet states:The resistor divider should be selected as follows: VOUT = (1+R1/R2)*VADJ, considering IADJ negligible. What is VADJ? Should this be VREF (1.2V)? I assumed VADJ = VREF = 1.2V, and calculated my output with the following values:R1 = 340kOhmR2 = 102kOhmVOUT = (1+340k/102k)*1.2V = 5V However, when I built the circuit with these values, I am not getting this value at the VOUT pin. When VIN is 3.6V or higher, I get VOUT = VIN (e.g. VIN=7V, VOUT=7V) Here is the schematic for my circuit:Schematic for LDQ40PUR test circuit
Board: NUCLEO-WL33 Toolchain: CMake + arm-none-eabi-gcc CubeMX version: 6.17.0 STM32CubeIDE version: 2.1.1I am trying to run a basic STM32WL33 project generated by STM32CubeMX using the CMake toolchain instead of the native STM32CubeIDE project format.The same CubeMX configuration, when generated as a native STM32CubeIDE project, works correctly and reaches HAL_Init() in main.c without any issue.However, when using the CMake-based output, the firmware crashes during startup andnever reaches main().SymptomsDebugger halts inside SystemInit() at line 200 (system_stm32wl3x.c), or jumps to an address outside valid memory (0x100004ee — inside the ROM region 0x10000000–0x100017FF) Is there a known-good CMake startup/linker reference for the STM32WL33?
Hi,MC SDK 6.4.1, STM32G431, three shunt configuration.I genrated code with workbench with open loop debug.I am able to run ACIM motor in openloop voltage mode.Now, i need to allow overmodulation to utilise 100% VBUS.In MCWB I set DPWM overmodulation flag, generated code and mergerd changes with my actual application code.I am expecting thate PWM waveform should be for DPWM but on CRO i see standard SVPWM.Can anyone help to enable DPWM and utilise VBUS 100% using overmodulation? Thanks & Regards,Ketan Patel
Hi, Thank you for your support. I was able to get VL53L4CD_GUI working using the firmware file:VL53L4CD_PSNRun_F401.bin However, the connection is very unstable and I am having difficulty using the GUI reliably. Current status:1. I programmed VL53L4CD_PSNRun_F401.bin into the NUCLEO-F401RE using STM32CubeProgrammer.2. Initially, VL53L4CD_GUI could not connect.3. I noticed that if I enable the option "Run after programming" in STM32CubeProgrammer during programming, VL53L4CD_GUI sometimes connects successfully.4. When the connection succeeds, the GUI displays: Device Name : VL53L4CD API Version : api rev 0.2.2 build 3 and I can acquire ranging data correctly.5. However, after power cycling the board or reconnecting later, the GUI usually shows: "Failed To Connect to Nucleo Board: Com Port Not Detected"6. In Windows Device Manager, the board is still visible as: "STMicroelectronics STLink Virtual COM Port" and the COM port is recognized correctly.7. Reprogramming the same fir
I am a newbie with the concept of function pack.I would like to create an from scratch starting from the fp-sns-stbox1. I would like to start by installing /importing fp-sns-stbox1 and use it’s source ( such as drivers, bsp etc..) to build ny application.All the documents that I see describes the features of the fp, but no guide on how to install/import so that I can modify the code toimplement my application. Tried to import then compile, which gives me error ‘no make file’ etc..What is the best way to accomplish my objective?
On the STM32F407G-DISC1, I try to flash the MCU through USART1 using PA9 (TX) and PA10 (RX) with STM32CubeProgrammer.BOOT0 is connected to 3.3V (HIGH), and BOOT1 is connected to GND (LOW). I have also disconnected the resistors and capacitors connected to PA9/PA10, and there are no external connections to these pins.However, I am unable to connect to the MCU through PA9/PA10 using STM32CubeProgrammer. Is there any additional hardware connection, configuration, or limitation that I need to consider for using PA9/PA10 for UART bootloader flashing on the STM32F407G-DISC1?
Hello everyone,I’m working with the STM32U5G9J-DK2 and trying to implement a Bootloader + XIP (Execute-In-Place) application architecture using the external flash.Target setup:A minimal bootloader running from internal flashThe main application linked to and executing from external flash (memory-mapped at 0x90000000)The main motivation is to free internal flash and validate this approach for a future MCU with very limited internal flash.What I’m specifically looking for help withProper CubeMX / .ioc configuration for the bootloaderWhich peripherals must be enabled (RCC, PWR, ICACHE, OSPI, etc.)Which peripherals should not be enabled to avoid conflicts with the XIP appAny STM32U5-specific gotchas when initializing OSPI for XIPProper configuration of the application projectRecommended changes to the application .iocWhat initialization should be removed from the app (HAL_Init, clock, OSPI, FLASH, etc.)Reference samplesSTM32Cube examples that demonstrate a full bootloader + XIP app flow on
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.