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

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
  • 4938 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
  • 633 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

How to calibrate the STM32's real-time clock (RTC)

Summary This article provides a step-by-step guide on how to calibrate the precision of a real-time clock (RTC). The examples in this guide are provided using the NUCLEO-U575ZI-Q board, but can be tailored to any other STM32. Introduction The real-t...

BMontanari_1-1732041172104.png BMontanari_2-1732041172109.png BMontanari_3-1732041172111.png BMontanari_4-1732041172112.png

How to program the OTP fuse bits in the STM32N6

Summary This article provides a quick guide on what the STM32N6’s OTP bits are and how to program them. It includes step-by-step instructions and explanation on configuring the OTP124, responsible for changing the VDDIOs' voltage to 1.8 V instead of...

BMontanari_0-1741811106339.png BMontanari_1-1741811106354.png BMontanari_2-1741811106366.png BMontanari_3-1741811106373.png

Injecting and handling ECC errors in STM32H7 RAM

Summary This article provides a step-by-step method to test the ECC single and double errors in the STM32H7 series. Find attached to the article a ECC RAM project for testing purposes.  Introduction In STM32H7 microcontrollers, RAM ECC (Error Correc...

CMYL_0-1730289954134.png CMYL_1-1730290944180.png CMYL_2-1730291031740.png CMYL_3-1730291031742.png
CMYL by ST Employee
  • 2214 Views
  • 1 comments
  • 4 kudos

How to add the STM32N6's header signature as post build

Summary The first stage bootloader (FSBL) requires a header signature for the boot ROM to load the code from the external memory into the internal RAM. This allows the application’s code to begin execution. Creating this header involves the STM32Sig...

BMontanari_0-1741027708861.png BMontanari_1-1741027708865.jpeg BMontanari_2-1741027708868.png BMontanari_3-1741027708872.png

STM32H7 series spread-spectrum clock generation (SSCG)

Summary The main objective of this article is to present the STM32H7 spread-spectrum clock generation (SSCG) feature. STM32H7 differs from other series by using PLL fractional with Timer/DMA.  For an overall introduction to spread-spectrum clock gen...

StassenC_2-1721652053910.png StassenC_3-1721401647084.png StassenC_8-1721401647157.png StassenC_7-1721401647130.png
Stassen.C by ST Employee
  • 2709 Views
  • 5 comments
  • 1 kudos

How to configure the GPDMA

1. GPDMA module setup The new DMA module (which includes the GPDMA and the LPDMA) available in series such as the STM32U5 are slightly different than the regular DMA. In this article, we’ll discuss the setup for using GPDMA in a similar way as the st...

415.png 416.png 417.png 418.png