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 everyone,We are currently working on structural validation and material testing workflows.Has anyone here implemented automated reliability testing setups?We documented some testing methods and validation ideas here:Would love to hear your feedback.
Heyho,the title says it...In RM0486, 14.6.5 PLL description, page 437 / 438 I find this:Using the PLLs in fractional modePLL off ... set FRAC ... PLL onCaution: Do not update DIVN and DIVNFRAC after the PLL has been enabled.On the other hand, there are comments that some dividers can be changed on the fly.So maybe it might work? Has anybody tried? With these 4 PLLs and the great clock routing possibilities, the ability to change FRAC values on the fly with this high resolution would be a fantastic feature for synchronization, without using an external VCO.
Does anyone know what settings are needed to check the internal flash memory using the STL library? I wrote a small test firmware (for a 61508 safety application without TZ) using the STL library, which is supposed to perform a self-test flash memory check.However, this test always fails. I ran the checksum check using STM32CubeProgrammer v2.20.0. I had to manually enter the settings for FlashStart, FlashEnd, and FlashSectionSize (0x08000000 0x0800E000 0x00010000) because the macros from the readme file didn't work. The STM32CubeProgrammer then reports: CRCs area injected successfully. After loading the modified ELF file, the STM32CubeProgrammer displays: Number of segments: 2segment[0]: address= 0x8000000, Size = 0xC314segment[1]: address= 0x800E000, Size = 0x2000 But what settings should be specified to perform the flash test?Unfortunately, this information is not available in the manual or the STL documentation. I've already tried the following unsuccessf
Eval board used: Nucleo-U385RG-Q Software tools:STM32CubeIDE Version: 2.0.0 Build: 26820_20251114_1348 (UTC)STM32CubeMX Version: 6.15.0The provided project for the eval board builds without errors.But when I modify the MCU to add a GPIO or I2C using STM32CubeMX,multiple build errors are generated after using "GENERATE CODE" command.These errors are:unknown type name 'HAL_StatusTypeDef'unknown type name 'HAL_LockTypeDef'Although these definitions are defined in the following *.h file:stm32u3xx_hal_def.h/** * @brief HAL Status structures definition */ typedef enum { HAL_OK = 0x00, HAL_ERROR = 0x01, HAL_BUSY = 0x02, HAL_TIMEOUT = 0x03 } HAL_StatusTypeDef; /** * @brief HAL Lock structures definition */ typedef enum { HAL_UNLOCKED = 0x00, HAL_LOCKED = 0x01 } HAL_LockTypeDef;Apparently, the errors are created from define guards not allowing other filesto access and use the “typedef enum HAL_StatusTypeDef and HAL_LockTypeDef in stm32u3xx_hal_def.h.To correct the problem:I had to m
Hello, I made a board with an STM32F103C8T6 which uses USB.My issue is that when conecting USB (self powered or with external power) I get the following error on windows:Windows has stopped this device because it has reported problems. (Code 43) A request for the USB device descriptor failed.Things I checked:- When no USB is connected, the D+ line is pulled to 3v3, but when connecting the USB it goes down to 2.8 with 0.5v being on the resistor.- Checked continuity from USB header to A11 and A12 pins (when unpowered)- Resolder pins to ensure propper contact (Except FL1, I checked that everything else is proppery soldered, but I guess continuity is a good proxy test)- Changed MCU, USB header and FL1 for new ones in case they got damaged- Firmware was tested with a bluepill and everything worked.It's been a week with this issue, if someone know what could be happening or could give me tips to help diagnose this I'd appreciate it.Here are the schematics for that part of the board: &n
I am struggling with an intermittent boot issue with Nucleo STM32L432. What happens: When the board boots up from VIN of 7V, sometimes (I would say 50% of the time) STM32 struggles to run the code, it's almost like it stuck during the boot up. When i power it up from USB to check what is the issue, problem goes away and board is running fine. My application involves ~40 of these boards and i am seeing this issue in 5 boards and it happens 50% of the time in those 5 boards. Only mods i have done to the nucleo board are - 1) I have taken a suggestion made in this post: Solved: STM32L432 Nucleo-32 External Power - STMicroelectronics Community i.e. to remove SB9 to be able to power it from VIN of 7V. 2) Connected a solder bridge at SB17 for HSC Anyone faced this issue or any troubleshoot tips anyone can share. Thanks in Advance
Hi everyone, I'm looking for a way to be able to encrypt my flash on stm32g030. How do I do it? Thanks
I am trying to create a codeplug for my TYT MD-2017 handheld radio. I have gotten to the point where the radio is listed in Device Manager under "Universal Serial Bus Devices" as "Digital Radio in USB mode" with no error icons.But when I attempt to have CPS talk to the radio it says it is disconnected. I have been working for several days on this issue with no success. The radio IS in DFU mode and is seen by Device Manager. I am using GD77 CPS and it's driver. I have used Zadig to load the WinUSB driver. Perhaps I should blow all of the GD77 stuff away and use default MD-2017 radio STM software and driver? If so, is there any installation procedure info for this approach?Any help appreciated! What additional info is needed?73, WhiteBeard
Hi, I'm have a trouble with UART Interrupt when using FreeRTOS.I want to receive a string buffer send from Serial Terminal ( Hercules Software ) using UART interrupt mode. But when I send data, I just receive 2 character. Ex: When I send "Resume", I just got echo back 2 line: "Rx_data:R","Rx_data:e".Has anyone else encountered this problem? Please share a solution with me.This is my call back function: void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { BaseType_t xHigherPriorityTaskWoken = pdFALSE; HAL_UART_Receive_IT(&huart1, &Rx_data, 1); if(Rx_data == '\n') { Rx_buffer[Rx_index] = '\0'; if(strcmp((char*)Rx_buffer,"Resume") == 0) { xTaskResumeFromISR(AboveNormalHandle); } Rx_index = 0; } else { if(Rx_index < sizeof(Rx_buffer)-1) { printf("Rx_data: %c \n",Rx_data); Rx_buffer[Rx_index++] = Rx_data; } } portYIELD_FROM_ISR(xHigherPriorityTaskWoken); }
Hello, I'm trying to install EGit in STM32CubeIDE, but I'm getting an error.Cannot complete the install because one or more required items could not be found. Software being installed: Git integration for Eclipse 7.5.0.202512021534-r (org.eclipse.egit.feature.group 7.5.0.202512021534-r) Missing requirement: Git integration for Eclipse - Core 7.5.0.202512021534-r (org.eclipse.egit.core 7.5.0.202512021534-r) requires 'osgi.bundle; org.eclipse.core.runtime [3.33.100,4.0.0)' but it could not be found Cannot satisfy dependency: From: Git integration for Eclipse 7.5.0.202512021534-r (org.eclipse.egit.feature.group 7.5.0.202512021534-r) To: org.eclipse.equinox.p2.iu; org.eclipse.egit.core [7.5.0.202512021534-r,7.5.0.202512021534-r]Does anyone else have the same problem?
Many small format LCD displays do not provide parallel RGB interfaces but instead rely on high-speed serial interfaces such as QSPI. To support this class of display is it possible to use the XSPI peripheral in QSPI mode to drive them? An example LCD controller transaction is shown here: The data line mapping is as follows:SDI_SDA -> IO0DCX -> IO1D[0] -> IO2D[1] -> IO3
Hi,Can the equivalent gate count for the STM32H750VB be provided for reliability research?Thanks
Hi,I selected STM32H7A3ZIT6Q to use external SDRAM. However, in STM32CubeIDE under Connectivity → FMC, the SDRAM option is not available.When I select STM32H7A3ZIT6 (non-Q), the SDRAM option appears.Does the STM32H7A3ZIT6Q support SDRAM, or is this a CubeIDE limitation?Thanks.
..
Hello everyone,I'm trying to disable the TrustZone (TZEN bit) on an STM32L562E-DK development board to leave it in a completely clean state (without protections) so I can use it as a standard MCU. However, I'm encountering errors when trying to modify the Option Bytes with STM32CubeProgrammer, and I would appreciate your help.My configuration:Board: STM32L562E-DKSoftware: STM32CubeProgrammer v2.21.0Connection: Integrated ST-LINK (SWD at 8000 kHz)Current Option Bytes status (initial read):TZEN = 0x1 (Trust Zone enabled)RDP = 0xAA (Level 0, no readout protection)SECWM1_PSTRT = 0x0, SECWM1_PEND = 0x7F (Safe area defined)Screenshots of the complete configuration are attached.The problem:From the STM32CubeProgrammer graphical interface, I can modify and apply changes to almost all Option Bytes (such as safe areas or write protection) without issue. However, when I try to uncheck the TZEN box (to set it to 0) and click "Apply," I get the following errors:Error: Option Byte Programming failed
Hello!I'm trying to set up a program via STM32CubeMX. The MCU I'm trying to use is the STM32WBA65CIU6 with the SMPS Pinout.source: datasheet page 72 (https://www.st.com/resource/en/datasheet/stm32wba62ci.pdf).However this configuration seemingly isn't available in STM32CubeMX, only the SMPS_USB Version.source: STM32CubeMX with STM32WBA65CIUx chosen as MCU.There's only one MCU listed in the MCU/MPU selector. Just in case if there are supposed to be multiple.source: STM32CubeMX with search-string STM32WBA65CIU6 in commercial part number.Is there an option that I'm missing? Or will I have to address this manually in code?Thank you in advance!
I'm using an STM32F469I-DISCO ($AU1) board that I've used for a few little projects and have come to try to prototype something using it's MEMS digital microphones (MP34DT01-M). In the documentation for the discovery board it lists the connections of these microphones to the DFSDM peripheral pins of the MCU, however looking in the datasheet of the F469 it doesn't list the DFSDM peripheral anywhere and on pages that discuss the DFSDM peripheral the F469 is not listed as an MCU with DFSDM compatibility. Furthermore, on the CubeMX example project for the F469I-DISCO the pins connected to the MEMS microphones are configured with the SAI peripheral.Is this a documentation issue for the discovery board or are there extra steps I need to take to use the DFSDM peripheral? Thanks for any help anyone can provide.
Hey guys,I am searching for RoHS/REACH records for STM32G431KBU3/STM32G431KBU6 but they're only accessible for one of the STM32G431 parts.Any of you have any pointers to how I may else obtain such documentation?
stm32_IEC_project_CM7.elf [cores: 0]Thread #1 [main] 1 [core: 0] (Suspended : Signal : SIGTRAP:Trace/breakpoint trap)0xfffffffe<signal handler called>() at 0xfffffff1HAL_TIM_IRQHandler() at stm32h7xx_hal_tim.c:3,777 0x8055b74TIM3_IRQHandler() at stm32h7xx_it.c:185 0x804a352<signal handler called>() at 0xfffffffdprvPortStartFirstTask() at port.c:267 0x8065f78xPortStartScheduler() at port.c:379 0x806608cpxPortInitialiseStack() at port.c:214 0x8065ed0 This is the error which comes suddenly. here i use tim3 as base source for the tick interrupt of task scheduler as replace of systick. Previously this code works fine. suddenly creates issues in worked hardware itself . after some time device works and fails randomly but same code what reason
Hello, I saw the thread below and now a bit confusedhttps://community.st.com/t5/stm32-mcus-embedded-software/update-about-usb-pd-stack-to-support-epr-mode/td-p/829168It says EPR is supported with a TCPP package but the TCPP-M18 itself - rated to 100W max. Do I install the software package but do not put TCPP chip? If so How do I know which functions I need to Disable/enable because I know TCPP communicates with MCU over I2C (which is hidden BTW in main.c)
Hi . I'm using STGAP2D SO-14 IC in custom project with custom board , and in datasheet i see pin8 specified as N.C. (not connected). Pin8 must be left floating for ic to function properly , or can it be connected to nearby pin7 (GND) ? Is this pin internally not connected at all (dummy pin) ,or it's connected internally to something ? i'm using single layer pcb currently with pin8 not connected and ic functions properly,but i would like a clear answer about possibility /prohibition of this pin connection - datasheet doesn't explains that . Thanks in advance .
Hello, after some time trying to debug the PA2 pin on my Nucleo H503 I realized, by looking at the board, that PA2 goes into SB7 and SB1. Reading the manual it seems like both SB1 and SB7 must be off for USB Device to work, however, this will disable PA2 and doesn't seem to be documented in the manual for the H503 board (while there are some explicit SB configs for PA2 on the H533 board). Am I missing something?
Hello, I installed STM32CubeIDE and attempted to set up my first project as you can see in the three attachments.Based on YouTube videos, I expected to see the MCU outline so I can assign functions to the pins. As you can see in one of the screenshots, I'm getting a message stating that "There is no active editor that provides an outline"I did the following to try and address this, with no luck... * Uninstalled and Reinstalled STM32CubeIDE, including manually deleting folders that were not removed by the automated removal process. To be safe, I used a different project folder name but this didn't help. * Installed STM32 on a second Windows 11 laptop but saw the exact same problemI didn't bother trying older versions of STM32CubeIDE because I read in a different post that this did not solve the problem for the other user.Any help is appreciated.
As I've written, I'm writing an application for a hardware custom solution uing a Nucleo N6 board for speech enhancement and I want that my audio is denoised by a NN. The problem is that, listening to my transmitter, that audio is blocked and not correctly sampled when running MX_X_CUBE_AI_Process() (the NN alone without I2S activity makes inferences normally). How can I prevent this blocking acitivity? I CANNOT use a STM32N6570-DK board(I ONLY have a NUCLEO N6, so please don't tell me to see speech enhancement examples because I've checked them out and, appearently, they are only conceived for STM32N6570-DK board)This is my main.c + app_x-cube-ai.c code/** ****************************************************************************** * @file app_x-cube-ai.c * @author X-CUBE-AI C code generator * @brief AI program body ****************************************************************************** * @attention * * Copyright (c) 2026 STMicroelectronics. * All rig
SYS CONFIG =========================================== IO Supplys = 3,3V, VCORE = 2,5V regulator used, FSystem = 200 MHz Timer1 is configured for Output Compare CH1, sig 0.1MHz 50% duty expected (all necessary clk enabled) Compare SIG is routed to PK1 via alternate conf __HAL_RCC_GPIOK_CLK_ENABLE(); GPIO_InitStruct.Pin = GPIO_PIN_1; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; GPIO_InitStruct.Alternate = GPIO_AF1_TIM1; HAL_GPIO_Init(GPIOK, &GPIO_InitStruct); After exec of this routine, PK1(J15) pin is in floating mode (1V because of 2Meg external pull-up to supply) . Same signal routed to another port/same load with same routine is working properly Same problem and behavior with TIM8 witch can use the same PK1 pin Note1 : if internal pull-up or pulldown added to pin conf, the pin is no longer floating, Hi(3,3V) for pull-up, Low(0,1V) for pulldown but still no signal output (input mode suppose
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.