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

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...

How to use GitHub with STM32CubeIDE

Summary This article is intended for users who would like to integrate STM32CubeIDE and GitHub. It covers the entire process from GitHub account creation to integration with STM32CubeIDE.  Introduction STM32CubeIDE is an integrated development envir...

image.jpg GhofraneGSOURI_7-1744643887531.png GhofraneGSOURI_8-1744643925408.png GhofraneGSOURI_9-1744643942382.png

Custom Signal generation using PWM and DMA

0. 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 sa...

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
  • 4842 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
  • 565 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