STM32 MCUs
From FAQs to complete How-to articles, find useful articles on STM32 MCUs programming, troubleshooting, ecosystem, and product details.
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge base articles

FAQ: Troubleshooting a USB core soft reset stuck on an STM32

Introduction This article addresses an issue where the USB_OTG_GRSTCTL_CSRST bit in the GRSTCTL register fails to reset, resulting in a timeout during USB initialization. The problem is related to timing and initialization, particularly with the USB ...

2-fixed.png FBL_0-1748439955183.png
FBL by ST Employee
  • 2737 Views
  • 0 comments
  • 2 kudos

Empty check mechanism on STM32

STM32 MCUs feature the system memory boot mode, which enables programming the device through the integrated peripheral interfaces, as outlined in AN2606 - Introduction to system memory boot mode on STM32 MCUs To select system memory boot mode at devi...

Guide to USB development resources on STM32

Introduction This article gives you the key information you need to dive into USB development on STM32. It mentions various resources, including training (MOOCs), articles, and application notes, that can help understand USB theory and hardware imple...

Gyessine by ST Employee
  • 10535 Views
  • 1 comments
  • 9 kudos

How to program RDP OEM1 keys from the application code

Summary  Recent STM32 series have an interesting feature called readout protection with password. It is possible to configure it using the SWD/JTAG debug interface or within user application code. The theory and an example of the first method is full...

Custom signal generation using PWM and DMA

Introduction The purpose of this article is to explain how to generate a custom signal, a sine wave in this case, using an STM32 Microcontroller’s DMA controller and a PWM output from a timer. Although this example uses the NUCLEO-H745ZI-Q, the same ...

1683.png 1685.png 1687.png 1690.jpg

Implementing debug authentication on STM32H5 using CLI tools

Introduction Debug authentication is a critical security feature of the system considering that with a debugger the user can access a large part of the system. To control a reopening of the debug port, the device imposes a debug authentication proto...

RuchitN_0-1703203603049.png RuchitN_1-1703203603051.png RuchitN_2-1703203603053.png RuchitN_3-1703203603055.png
Ruchit N by ST Employee
  • 8004 Views
  • 4 comments
  • 3 kudos

Setting clock multipliers and dividers for the STM32H5

Introduction  Clock configuration is a fundamental aspect of microcontroller (MCU) design, directly influencing the performance and power consumption of the system. In the STM32 series, the reset and clock control (RCC) peripheral manages the system...

Capture d’écran 2025-03-25 111404.png Clock configuration.png cycle to cycle jitter.png PLL power consumption.png
Sarra.S by ST Employee
  • 2226 Views
  • 0 comments
  • 2 kudos

STM32N6 low-power modes and Standby demo

Summary This article provides an overview of the low-power modes available in the STM32N6 series. It provides hands-on instructions for utilizing the Standby demo, detailing how RAM retention is implemented and how to run the demo code. Introduction...

BMontanari_0-1741202262411.png BMontanari_1-1741202262414.png BMontanari_2-1741202262417.png BMontanari_3-1741202262423.png