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 am currently using the STM32WBA65RI development kit and exploring its low-power modes. I have run the STOP2 mode example and, according to the datasheet, the current consumption in this mode should be around 5 µA. However, I am measuring the current using an external power supply with measurement capabilities (SMU), powering the board through JP2 pin 1 as specified in the user manual. In this setup, I observe a current consumption of approximately 300 µA while in sleep. Could you help me understand why there is such a large discrepancy? What steps are required to achieve the ~5 µA consumption stated in the datasheet? I also have a few additional questions regarding this mode. In the example, the functionHAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI) is used, but it is not clear where STOP2 mode is explicitly selected. According to the official documentation, there are also STOP0 and STOP1 modes, which adds to my confusion. Additionally, I have seen examples whe
I want to become a person who can develop MCU based products. How can I improve on my skill. How can i Achieve my goal? Eg. Currently I have been given AVAS system development task.
Hi,We are working for a project on Railway application, where we have selected STM32G4A1VET6 controller for Motor control application.we are developing custom board for Motor control application, Selected motor is BG65x50 dCore by Dunker motor,above selected controller is not available in MC workbench software. Could you please provide solution on this one and also the motor control library package is not available in STM32CUBE IDE middleware section.
Hello, I'm using 2x NUCLEO-WB55RG boards with the unmodified BLE_MeshLightingPRFNode example from STM32CubeWB V1.24.0. Setup:- BLE Stack full v1.13.2.2 (stm32wb5x_BLE_Stack_full_fw.bin)- FUS v1.2.0- Provisioned with ST BLE Mesh app (tested on both iOS and Android)- Both nodes subscribed and published to Default group (0xC000)- Both nodes have AppKey 00 bound to all models Firmware boot logs confirm:- Relay = Enabled- Proxy = Enabled- Friend = Enabled- PB-ADV = Enabled- PB-GATT = Enabled- Default TTL = 8- Different MAC addresses on each board Problem:1. Sending a Generic OnOff command to the Default group (0xC000) from the app only turns on the LED of the node connected via GATT proxy. The other node never receives the message. 2. SW1 button press toggles only the local LED, never the remote node's LED. 3. It is ALWAYS the last provisioned node that responds. If I reverse the provisioning order, it is still the last one that works. The first provisioned nod
Hello everyone,I was reviewing the AN4899 Application Note and noticed a potential logic inconsistency that might lead to misunderstanding the GPIO output stage. I have prepared a short analysis and a proposed correction below. I would appreciate it if the technical team could take a look. IntroductionThis report investigates a potential logic inconsistency identified in the STMicroelectronics AN4899 Application Note. The analysis suggests that the logic gates in Figures 15, 16and 17 might be drawn incorrectly, specifically the part controlling the P-MOS transistor. Due to the structural similarities between these figures, the analysis is explained based on Figure 17.Signal Mapping and Logic AnalysisThe following diagram (Figure 1) has been labeled with signal names to track the logic flow from the digital output to the transistor gates:Figure 1Figure 1: Labeled Figure 17 from STMicroelectronics AN4899 Application Note. Red arrows and signal labels (SIGN1-SIGN6) have been added fo
SirWe are not able to program the stm32h725vgt6 board.We got some issues and in order to rectify the issue we have connected VDDSMPS and VFBSMPS to the GND and voltage on the VCAP ia about 1V for supply 3.3V V. But still unable to program the board.Failed to execute MI command:target remote localhost:61234Error message from debugger back end:localhost:61234: Connection timed out.Failed to execute MI command:target remote localhost:61234Error message from debugger back end:localhost:61234: Connection timed out.localhost:61234: Connection timed out.
I flash the image from FlashLayout_sdcard_stm32mp257f-ev1-ca35tdcid-ostl-m33-examples-optee.tsv pi@inspiron:~/yocto/build-openstlinuxweston-stm32mp2/tmp-glibc/deploy/images/stm32mp2$ STM32_Programmer_CLI -c port=usb1 -w flashlayout_st-image-weston/optee/FlashLayout_sdcard_stm32mp257f-ev1-ca35tdcid-ostl-m33-examples-optee.tsv I copy stm32mp257f-ev1-ca35tdcid-ostl-m33-examples.dts from the following directory. pi@inspiron:~/yocto/build-openstlinuxweston-stm32mp2/tmp-glibc/work-shared/stm32mp2/external-dt/linux$ ls Makefile stm32mp257f-dk-ca35tdcid-ostl-resmem.dtsi stm32mp135f-dk-rt.dts stm32mp257f-ev1-ca35tdcid-ostl.dts stm32mp157f-dk2-rt.dts stm32mp257f-ev1-ca35tdcid-ostl-m33-examples.dts stm32mp157f-ev1-rt.dts stm32mp257f-ev1-ca35tdcid-ostl-m33-examples-resmem.dtsi stm32mp257f-dk-ca35tdcid-ostl.dts stm32mp257f-ev1-ca35tdcid-ostl-resmem.dtsi stm32mp257f-dk-ca35tdcid-ostl-m33-examples.dts stm32mp257f-ev1-rt.dts stm32mp257f-dk-ca35tdcid-ostl-m33-e
Hello ST community. I am trying to understand the support the otfdec https://wiki.st.com/stm32mpu/wiki/OTFDEC_internal_peripheral internal device has or will have in the OpenSTLinux. Can anyone suggest reading material on supporting the otfdec for mp2?
Hello,I am interested in the optional decryption sequence part of secure boot on STM32N6 mcu. As described in UM3234 (How to proceed with boot ROM on STM32N6 MCUs) a key derivation function is used to produce an encryption key. However I am not sure how the Enc/Dec Master Key is produced, as in the OTP mapping table (RM0486: STM32N6 Reference Manual) only an EDMK derivation constant is present. Am I correct to assume that this OTP168 word is used to derive the EDMK out of OEM secret (OTP 364-367)? If so, what's the algorithm? Additionally, what's the derivation constant used in ROM that's mentioned in the diagram? Is it publicly available?Thanks,kradzphsys
I am working on Acoustic vehicle alerting system (AVAS). May I know where Can I get Pinout details for all variants of SR5E1E7 MCU ?
Hello ST Community,I am currently working with STM32N6 and CubeAI, and I would appreciate your guidance on an issue related to incorrect inference on the device.I am integrating a custom KWS model into the STM32N6-GettingStarted-Audio project, but inference results on the device are incorrect.I have carefully verified the preprocessing and model behavior as described below.--------------------------------------------------Model--------------------------------------------------Architecture: DS-CNN (PyTorch)Input tensor:[B, C, H, W] = [1, 1, 40, 49]H: mel binsW: time frames--------------------------------------------------Verified points--------------------------------------------------1. Log-mel preprocessing alignment- Log-mel spectrogram generated on STM32 was dumped using GDB- Compared with Python implementationResult:Nearly identical (very small numerical differences)2. PC inference with int8 model- Used dumped MCU log-mel as input- Ran inference with quantized (QDQ) ONNX mode
I am trying to implement Time-of-Flight data acquisition using an STM32F405 microcontroller running FreeRTOS, with the MCU and the VL53L8CX communicating via SPI. However, the vl53l8cx_check_data_ready() function keeps failing, and I have been trying to track down the root cause.Here is what I have verified so far:After loading the firmware to the VL53L8CX and starting it, I confirmed that the sensor is emitting infrared light (observed using a camera).I checked the status return values from the API functions, and no errors were reported.There were no issues with the 3.3 V power supply, and no temporary voltage drops were observed during sensor reboot.I probed the INT pin with an oscilloscope to check if the VL53L8CX is outputting an interrupt signal at the interval set by vl53l8cx_set_ranging_frequency_hz. However, no interrupt signal was observed.For comparison, I tested a bare-metal (non-FreeRTOS) SPI implementation on a NUCLEO-F446RE evaluation board. In that setup, the interrupt s
Hi, What is the official moisture sensitivity level (MSL) for STM32F072CBT6TR? I found conflicting information showing both MSL 2 and MSL 3.
Hi ST team,We are going to use L6598D PWM controller (Half bridge topology) followed by PFC IC L4985B for our variable power supply design.We need two models for variable (programable) power supply (Model 1 & Model 2) as below specifications. So, can we generate below mentioned wide output voltage from IC L6598D with Half bridge topology?For Model 1 Vout: 3V-63V/5A (80W maximum with auto ranging)For Model 2 Vout: 3V-23V/20A (80W maximum with auto ranging) RegardsVikram
Hello community,I have this problem. I have a project with the STM32U575RGTx microcontroller.It includes also FreeRTOS (Version 1.3.1) and a TouchGFX project (Version 4.26.0).With this system configuration: Timebase Source TIM17 The TouchGFX project has screens that require more or less CPU, the problem that I have is that when one or other screen is selected the execution frequency of the FreeRTOS tasks and the HAL_TIM_PeriodElapsedCallback change their execution frequency, so I can not have a valid time reference to do other things in my firmware application. Has anyone faced the same problem? Much thanks in advance!
Hello,I am working with STM32WB05KN in beacon mode (non-connectable advertising, legacy advertising).I am configuring advertising manually using:aci_gap_set_advertising_configuration()aci_gap_set_advertising_data_nwk()aci_gap_set_advertising_enable()My advertising data contains only:Flags (0x01)Manufacturer specific data (iBeacon format) aci_gap_init(PRIVACY_DISABLED, HCI_ADDR_PUBLIC); : : uint8_t adv_data[] = { /* Advertising data: Flags AD Type */ 0x02, 0x01, 0x06, /* Advertising data: manufacturer specific data */ 26, /* len */ AD_TYPE_MANUFACTURER_SPECIFIC_DATA, /* manufacturer type */ 0x30, 0x00, /* Company identifier code (Default is 0x0030 - STMicroelectronics: To be customized for specific identifier) */ 0x02, /* ID */ 0x15, /* Length of the remaining payload */ 0xE2, 0x0A, 0x39, 0xF4, 0x73, 0xF5, 0x4B, 0xC4, /* Location UUID */ 0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x61, 0x00, 0x00, /* Major number */ 0x00, 0x00, /* Minor number */ 0xC8 /* 2's compleme
Hi, ST Community, I am working with an LSM6DSOX on a custom board, using an ESP32S3 with the Arduino framework, and I'm unable to get the Machine Learning Core (MLC) to run.The problem is that the output register MLC0_SRC (0x70) always reads 0x00. I am also monitoring the is_mlc_ok status bit in the EMB_FUNC_STATUS register (0x15), and it never gets set to 1. Basic communication (reading WHO_AM_I and raw accelerometer data) works perfectly.I am not using a library and am writing directly to the registers. My initialization sequence is as follows:Software Reset: Write 0x01 to CTRL3_C (0x12).Wait: A 100ms delay to ensure the reset is complete.Enable Embedded Functions Access: Write 0x80 to FUNC_CFG_ACCESS (0x01).Load UCF Data: Write the entire .ucf file (288 bytes) byte-by-byte by setting the address in MLC_A_ADD (0x02) and writing the data to MLC_B_ADD (0x03). I have verified the data is being written.Disable Embedded Functions Access: Write 0x00 to FUNC_CFG_ACCESS (0x01).Enable ML
Hello,I am trying to integrate a model generated by STM32Cube AI Studio into an existing STM32N6 DC-DC converter control project, but I am not sure what the correct integration flow isfor a Neural-ART / NPU-based model.I am attaching the following 3 files/projects:1. My existing STM32CubeIDE project2. The folder generated by STM32Cube AI Studio3. The ONNX model used for generationMy setup is:- MCU/board: NUCLEO-N657X0-Q- Existing project: test_BOOSTXL_ACM_AI_0- The existing control loop is already running correctly- ADC + DMA + TIM based DC-DC converter control is implemented- The control calculation is currently executed inside the ADC DMA interrupt handler- I trained a small 1D CNN in PyTorch, exported it to ONNX, and then used STM32Cube AI Studio to generate codeModel information:- Input shape: (1, 1, 64)- Output shape: (1, 2)- Input data: 64 current samples at 5 us interval- Output: 2-class logits for resistance estimationWhat I tried:- I copied the generated folders into my existi
Hello ST Community,I’m currently trying to select the right MCU/board from the STM32H7 series, but I’m a bit confused between the following options:STM32H723STM32H725STM32H735STM32H7A3VGT6My requirements:Need CORDIC support for fast math operationsRequire high-precision calculations (double precision floating point)Planning to implement a high-performance data processing pipeline (DPU-like workload)Would prefer a board with good STM32CubeH7 example supportMy confusion:Do all the above MCUs support CORDIC, or only specific variants?Is double precision (64-bit floating point) actually supported in hardware on these devices, or only single precision (FPU)?Which of these would be the best fit for heavy math/DSP workloads?Are there recommended Nucleo/Discovery/Eval boards for these MCUs that already have:Working examples (DSP / math / AI)Good documentation and community supportWhat I’m trying to avoid:I don’t want to choose a device and later realize:It doesn’t support CORDICOr double
Hi, We are currently using the parts listed below and would like to confirm if they are reflow compatible. We plan to use a paste-in-hole (pin-in-paste) process for these through-hole components during SMT assembly. Could you please advise if the following parts can withstand this process: 1) VNP35N07-E2) VNP49N04-E3) VNP35NV04-E Thank youJay Trivedi
I am trying to print data but nothing seems to be working , I do not have cables to use COM, but I am sending data using SWV ITM, anyone who might know what's wrong , thanks!. /* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** */ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "cmsis_os.h" #include "usb_host.h" #include "stdio.h" #include "core_cm4.h" /* Private variables ---------------------------------------------------------*/ I2C_HandleTypeDef hi2c1; I2S_HandleTypeDef hi2s3; RTC_HandleTypeDef hrtc; SPI_HandleTypeDef hspi1; UART_HandleTypeDef huart2; /* Definitions for defaultTask */ osThreadId_t defaultTaskHandle; const osThreadAttr_t defaultTask_attributes = { .name = "de
Hi, I'm working on the STM32H750B-DK discovery board and need to combine two key functionalities:1. Ethernet connectivity based on the LwIP stack (using the example from the `stm32-hotspot/STM32H7-LwIP-Examples` repository).2. A TouchGFX GUI that stores its assets (images, fonts) in the external QSPI flash (`MT25TL01G`) due to the limited internal flash (128KB).I have both components working **individually**: - The **standalone Ethernet example** (STM32H750_Disco_ETH) works perfectly – I can ping the board at `192.168.1.10`.- The **standalone TouchGFX application** works when the external flash is properly initialized via a bootloader, and assets are loaded from `0x90200000`.The challenge is to merge them into a single project where the application code runs from internal flash (the `APP_FLASH` region) and the Ethernet stack functions correctly alongside the TouchGFX GUI. ### **Current Memory Map (Linker Script)** I am using the following memory partition to accommodate both: `MEMORY {
I am new to STM32CubeIDE 2.0.0 environment and I cannot debug my first project. See failure message in attachment. What do I need to do to debug in this environment? Is there instructions hidden somewhere that I need to follow?
Hello, I made a lot of project with Touchgfx . I started a new project with STM32U599ZI, IAR 9.60.3 , Touchgfx 4.26.1 , CubeMx 6.17.0 , STM32CubeU5 MCU package V1.8.0. I created project from Cube, than I double clicked touchgfx file under TOUCHGFX folder.I created a dummy project with only a red box and I clicked generate code on TouchGFX as I always do. But when I open IAR project I cannot see TouchGFX folder on IAR workspace window and when I try to build project, IAR gives a lot of erros about not founded Touchgfx files. Touchgfx files and folders ara exist in my project folder but not in IAR workspace window.My colluage has same proglem with STM32L4R5A mcu . I tried rebuild all, clean project, creating project from CubeMX from zero, but I could not find a solution.Can you give any solution.
Thread split from this post. I am using STM32CubeIDE version 2.1.0. CubeMX generates a project for STM32F769I-DISCO without BSP, but the BSP for this board clearly exists in STM32CubeF7 and is used in official examples. Is there a way to add BSP directly from CubeIDE? If not, what is the correct way to integrate BSP into the project? Thank you.
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.