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
can someone help me with communication of l9961 chip to get voltages of 4s cells n current n charge accumulated by using esp32 or aurdino i dont have this chip n i am not a coder i tried my best but can get any data from the chip just i2c add 0x49 n this register 0x00 gives 0x41 n nothing please hep
Hello, we are in the process of developing a BMS using an STM32 and L9961. We were wondering if there was any source or example code of a full BMS we could have access to in order to speed up our development. I am aware of the example code on the product page but was hoping there would be something more fleshed out. In addition, I wanted to know if ST has a vault of cell models that we can use with the BMS for fuel gauging? We use Molicel P50B cells and plan to use Molicel P60B cells in the future. Thanks,Jon
Hi all.I'm new to STM, but have been designing and making embedded MCU products for over ten years.I was drawn to the STM32F105 series because of the USB DFU, to allow for field updates for prospective customers to update a product we're developing. Outside of USB DFU functionality, we just need 3x UART's, one GPI, one GPO. That's it. We steer clear of USART1 because of it's overlap with OTG_FS pins. We have got our product working using a ST-Link programmer, but not as yet using the USB DFU.Our USB connection just isn't enumerating. The wiring is correct when compared to off-the-shelf STM32 enabled boards with OTG USB interfaces.I am across the date code bootloader issue as described in AN2606, our chips definitely come with bootloader 2.2. I have VBUS from the USB-C tied to PA9 (OTG_FS_VBUS). Yes, USB-C but with the 5.1K resistors between CC1, CC2 and GND. NRST is pulled to 3V3 with a 10K pull-up. Boot0 and Boot1 is pulled to GND via a 10K pull-down, Boot0 also runs to a tactile NO p
Hi, I've just installed v2.14.0 for the first time, but it will not start up. All I get is the blue STM screen for a few second, then it disappears. I tried the command prompt start up detailed in This Post but I end up with an error message, shown below. I need help on how to proceed as I do not have JRE installed on my PC, but have had it in the past. I've tried re-installing STM32... but that didn't help Exception in Application start methodjava.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:382)at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:321)at sun.reflect.NativeMethodAccessorImpl.invo
Hi, I'm working on the STM32H7S7L86H with cube MX 6.17 and cube H7RS 1.3.0I need to use RNG in appli and boot context but it is grayed because it accept only one context. It also block the usage of the hash module.Any idea how to fix this ?Thanks
Good day, ST community,I am writing to inquire about the possibility of updating the custom container used on each screen when a new change is made to the custom container template. Currently, I am required to delete the old custom container widget on all my screens and add the new updated container manually each time. Thank you in advance for your assistance.
Hi,I recently just finished the Yocto Bringup of a custom STM32MP15FAA1. Everything seems to be working in my application. I am now looking to begin development of the M4 in which I need access to either SWD or JTAG to do lower-level development. Unfortunately, I am having trouble connecting to either interfaces through both CubeIDE and also manually inputting OpenOCD in an IDF Powershell instance.I presume the easiest way to get to my goal is to setup SWD which on the MP15 maps to TMS (SWDIO) and TCLK (SWCLK) and I connected GND and VCC. My STLinkV3-MIME detects 3.3V on the reference line but can never connect to target. This is my first time working with a SOM as most of my development is on base Cortex M microcontrollers so I have a few questions.1. Is there anything in the M4 device tree that can be preventing JTAG from operating like the STPMIC? I do have M4 RPROC enabled in my device tree and the file descriptor is available for me to access.2. Does the boot mode matter? My end a
Hello,I am using STM32H750 and X-Cube-Crypto lib. I am working on a secure boot and want to calculate the app Hash value to check integrity. The library works fine for STM32L5 Mcu (Already tested) but not with STM32H750. I verified that I am using the correct lib libSTM32Cryptographic_CM7.a.The issue I get is a Hardfault triggered by a function in the lib. When I investigated more, I found that The Mcu tries to load data from a Peripheral Register not mapped for STM32H750 MCU.What do yo think could be the issue? Thanks,Ayoub
AmbienteSistema operativo Mac Tahoe 26.2 (25C56)Apple Silicon M4STM32CubeIDE 2.0.0 (x86_64, ejecutándose bajo Rosetta 2)AsuntoSTM32CubeIDE se inicia correctamente, pero la selección de texto no se representa visualmente en ninguna parte del IDE (editor, consola, vistas).La selección del mouse y del teclado no muestra ningún resaltado.Copiar/pegar funciona normalmente , lo que indica que la selección existe internamente pero no se muestra.La selección de texto funciona correctamente en otras aplicaciones de macOS.Pasos para reproducir1. Inicie STM32CubeIDE en Rosetta:arch -x86_64 /Aplicaciones/ST/STM32CubeIDE.app/Contenidos/MacOS/STM32CubeIDE2.Abra cualquier archivo fuente.3.Intenta seleccionar texto.Solución de problemas realizadosInstalación de Rosetta 2 verificada.Restablecer preferencias y espacio de trabajo.Espacio de trabajo limpio probado. Deshabilitado el renderizado SWT Metal/gestos a través de opciones .ini.El problema persiste.
Hi,I am using the STM32CubeProgrammer API (v2.20.0) on Windows 11 using the Visual Studio UART example as a base. Everything works fine, however this issue is slowing down the programming workflow.After programming the MCU option bytes to RDP1 (or Closed state on some newer devices), there is a long delay (20 to 30 seconds) during the attempts to reconnect to the device. I already expect that the reconnection attempt will fail, so is there a way to reduce the time or number of reconnection attempts? Or a way to cancel the current operation? The time taken for failed reconnection attempts is 2x longer than the actual programming of the MCU.I noticed that there is a getCancelPointer() function in the API, but I have found no documentation or examples on how to use it. Is it possible to use this or is there some other way?Edit: Added info - using UART to program the device/** * \brief This routine allows to drop the current read/write operation. * \return 0 if there is no call for
Stm32l010r and s2lp using x cube sub ghz , for custom board just for coding only gpio button status, there are plenty of error, by solving all those 4-5 errors remain and their resolving method is to complete change of middleware files or some code left in file even check through free AI they finally there no such files in middleware add some, for adding it will not compatible with existing file. If tried in stm32wl33cc it also shows so many error but finally there something missing. There are some radio.spi.h and some similar files there in s2lp nucleo example in spirit 2 workshop project, but in s2lp middleware they are not available and look like board specific. If any available example and transmitting and receiving data for s2lp and stm32wl33cc.
Hello STM32 Community, I am facing a persistent "Target no device found" error when trying to program an STM32L073CZT3 custom board using a Nucleo-L073RZ as an external ST-LINK (CN2 jumpers removed). Hardware Setup: MCU: STM32L073CZT3 (custom PCB) Debugger: ST-LINK V2-1 (Nucleo-64) Connection: 5-wire SWD (SWDIO, SWCLK, GND, NRST, VDD_Sensing) Power: External SMPS providing 3.3V (Common Ground established between SMPS and ST-LINK). The Issue: While the ST-LINK pins show correct voltages when floating, the SWDIO (PA13) pin drops to 0V the moment it is connected to the target board. Pin 1 (VDD Sense): 3.3V Pin 2 (SWCLK): 3.29V Pin 4 (SWDIO): (Measured 2.9V on ST-LINK side connection) Pin 5 (NRST): 3.3V Troubleshooting performed: Verified continuity; no physical shorts found between PA13 and GND. Attempted "Connect Under Reset" and "Hardware Reset" at 480 kHz. Schematic Check: I have a 10uF capacitor (C17) on the NRST line—could this be preventing the debugg
Hello, I am trying to use a proteus1 to monitor temp and vibration on a spindle and i just cant seem to find the best way to do this. I would like to use a cloud so I can monitor it off site and get a notification if the temp rises above a threshold. what would you recommend. I have tried the azur cloud i can get the device to connect but then in the classic app i can not get it to send any information. I have tried almost all firmware versions and just cant seem to crack this. Anything will help. Thank you,
Dear ST Technical Support Team,I am currently using the ST1S10PHR buck converter in my custom PCB design to convert 12V input to 5V output.However, the regulator is not switching to the expected 5V output. The measured output voltage remains around 0.79V.Below are the measured and design details:Input Voltage: 12VVIN_SW and VIN_A pins: Confirmed 12V presentEN (INH) pin: 12V present (device enabled)Expected Output Voltage: 5VMeasured Output Voltage: ~0.79VFeedback Resistors: R1 = 11kΩ, R2 = 2kΩInductor: 3.3µHSwitching frequency: Internal 900kHz (SYNC connected directly to GND with short trace)GND and EPAD connected to ground planeOne concern in my PCB layout is that the SW pin to inductor trace length is approximately 47mm. Although the inductor is placed near the IC, the copper routing from SW to the inductor became long due to layout constraints.The board powers up correctly, and all input pins measure properly, but the output remains close to the feedback reference voltage (~0.8V) an
Hi,We are building Linux for STM32MP157D using Buildroot, and we are experiencing an issue where the boot process sometimes does not proceed from BL2 to OP-TEE, and sometimes OP-TEE does not proceed to U-Boot.Occasionally, the kernel does boot successfully.Could this be caused by incorrect DDR3 controller settings? We are using a custom board.If so, would compiling the STM32DDRFW-UTIL source code and using it in engineering mode be the right solution?I have read that for some chips it is possible to perform automatic tuning and receive the optimal configuration as a result.Is this possible in this case? If not, what is the proper method to determine the correct DDR controller settings?If DDR is not the issue, do you have any other suggestions?For testing with DDR-UTIL, I see that there is no development board listed for the 157D series, as the utility supports "STM32MP157C-EV1_DDR_UTILITIES_A7".If we order the "STM32MP157D-EV1", will I be able to run DDR tests on it to compare with our
I need support for the design of STM32WL30XX PCB Antenna. Are there reference designs available for the PCB antenna?Specifications:Two layer board Output power 10dBm in the 868MHz band.
Hello, Is there a setting in MX2 to enable/disable timer freezing during debugging? If not, what HAL APIs can be used for this purpose? Thank you, Gil
Hi Apologies in advance if these are daft questions, however I'm trying to put together a development kit for the SR5E1E5 . I have found the SR5E1-EVBE5000P evaluation board, but need a debugger to use with it. I assume that the ST-LINK/V2 is compatible but can someone please confirm this? Also can the Stellar Studio All in One be used with this combination? The SR5E1-EVBE5000P has a USB connector can I assume this does not support debugging via Stellar Studio All in One?We already have the SPC5-UDESTK, but I assume that this is not compatible with the Stelar series of micros? Thanks in advance.
Hi All!I'm starting with a project with STM32H573 + STiRoT + Trustzone + Crypto + FreeRTOS + DA.My preference is to do development and debugging in Visual Studio Code instead of the Eclipse based IDE.I got to the point that I can build a secure/encrypted application (still without FREERTOS at this point) in VS Code and was able to provision my board.However, I can't really find anything on debugging in VS Code with Debug Authorization.I did find the tutorial on CLI DA for provisioning and regression (https://community.st.com/t5/stm32-mcus/implementing-debug-authentication-on-stm32h5-using-cli-tools/ta-p/622308) but not for actual debugging in VS Code. Maybe I've overlooked this on the forum and/or application notes. I'm hoping that someone can give me a push in the right direction. Or is this not officially supported in VS Code yet and am I bound to Eclipse IDE at this point in time?With kind regards,Martijn
I am currently considering the EVALSTGAP4S evaluation board for a laboratory prototype, and I would like to ask a few technical questions about its possible use in a motor-drive application.My goal is to build a 7-level cascaded H-bridge (CHB) multilevel inverter for motor driving. Since the EVALSTGAP4S includes isolated gate drivers, I am wondering whether it can be used as a building block for a CHB inverter cell.I would like to ask the following:What is the practical current capability of the EVALSTGAP4S board?I would especially like to know the recommended continuous current range, and whether it depends on thermal conditions, switching frequency, or cooling method.Would this board be suitable for use in a 7-level cascaded H-bridge multilevel inverter for motor-drive applications?If not, what would be the main limitations or concerns?Since the board has isolated gate drivers, can multiple boards be used in a cascaded configuration with floating DC sources?If there are any important
Hi All,I have an issue with STM32CubeMX 6.17.0 (Windows 11 + Visual Studio Code)I want to start a STiRoT Full secure project (with DA and encryption) for STM32H573 with FREERTOS.But when I add the freertos software pack, I don't get any configuration options.Open STM32CubeMXStart My project from MCUSelect STM32H573IIK3Q (same as STM32H573I-DK)Enable ICACHE and MPU -> YesWith TrustZoneSoftware packs -> Select Component -> Cortex-M33 Secure -> X-CUBE-FREERTOS 1.5.0 -> CMSIS RTOS2 11.2.0 -> Core : TZ_Secure (I can't select Heap???)No configuration is shownIf I add FREERTOS to non-secure I am able to open configuration optionsI have added my IOC file.Can someone tell me what I'm doing wrong?Thanks!With kind regards,Marty
NUCLEO-F767ZI I'm trying to use the LwIP middleware which I have enabled in MX. First I'm trying to check if an ethernet cable is attached or not. I have setup UART3 to use printf (which works as expected) I've set the callback in lwip.c to print when the cable is removed or plugged in or so I thought but I get no message when I connect or disconnect the cable. The LEDs on the socket light up when the cable is connected, so the board at some level does see the cable. What am I missing here? EDIT:: LWIP_NETIF_LINK_CALLBACK was enabled in MX // In main.c MX_LWIP_Init(); /* USER CODE BEGIN WHILE */ while (1) { MX_LWIP_Process(); /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ } /* USER CODE END 3 */ // In lwip.c the callback function that is registered in MX_LWIP_Init() static void ethernet_link_status_updated(struct netif *netif) { if (netif_is_up(netif)) { /* USER CODE BEGIN 5 */ printf("Cable connected\r\n"); /* USER CODE END 5 */ } else /* netif is down */ { /* USER C
Hello, I have a simple CubeMX project with the STM32N6 MCU, and I cannot seem to be able to uncheck the FREERTOS option from the FSBL to move it to the Application. Is there something I am doing wrong? Thank you
Hello, I configured a timer in STM32CubeMX2 to use 2 channels (HAL_TIM_CHANNEL_1 and HAL_TIM_CHANNEL_3). After the mx_system_init() I use the following code: hal_tim_handle_t *htim5 = mx_tim5_gethandle(); if (HAL_TIM_OC_StartChannel(htim5, HAL_TIM_CHANNEL_1) != HAL_OK) { return (-1); } if (HAL_TIM_OC_StartChannel(htim5, HAL_TIM_CHANNEL_3) != HAL_OK) { return (-1); } if (HAL_TIM_Start(htim5) != HAL_OK) { return (-1); } The first channel starts as expected, but when I attempt to start the second channel the code causes an assert in HAL_TIM_OC_StartChannel: /* Check and update the channel state */ ASSERT_DBG_STATE(htim->channel_states[channel], HAL_TIM_OC_CHANNEL_STATE_IDLE); Do I need to do anything different? Regards, -Gil
The entry for address 0x1FFF7838 in Table 17 ( Organization of option bytes) shows FLASH_PCROP1ASR as the "Corresponding option register" - it should be FLASH_PCROP2ASR.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.