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 debug STM32N6 using STM32CubeIDE

Summary This tutorial is a comprehensive guide for debugging code from external serial flash on the STM32N6. It covers: setting up the environment, configuring the debugger, and validating the setup. Introduction To debug the code running from the e...

BMontanari_0-1746721362224.png BMontanari_1-1746721390464.png BMontanari_2-1746721418605.png BMontanari_3-1746721449634.png

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
  • 4614 Views
  • 4 comments
  • 3 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 create an STM32N6 FSBL load and run

Summary The first stage bootloader (FSBL) is a key component in the boot process of STM32N6 microcontrollers. It is responsible for initializing the system, configuring the hardware, and loading the application code from external memory into the int...

FSBL_SimpleLoadAndRun.gif FSBLAndApp.gif BMontanari_2-1738343101105.png BMontanari_3-1738343101107.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

How to utilize STM32 system (ROM) bootloader commands

1. System (ROM) bootloader The system bootloader is present on all STM32 MCUs. As the name suggests, it is located on the system memory (ROM) area of the MCU. The system bootloader is located on the read only portion of the memory and is programmed ...

AMEMCUSM_0-1699295709220.png AMEMCUSM_1-1699295709234.png AMEMCUSM_0-1699997045423.png AMEMCUSM_3-1699295709381.png

STM32 FDCAN running at 8 Mb/s on NUCLEO boards

Introduction Many customers requested to have FDCAN communicating at 8 Mb/s. We provide a GitHub hotspot that contains a simple project on several STM32 part numbers. The project allows for FDCAN to reach a bit rate of 8 Mb/s in the data phase. The ...

Laurids_PETERSEN_0-1728997194171.png SofLit_0-1728659214427.png SofLit_1-1728659326925.png SofLit_3-1728659591872.png
mƎALLEm by ST Employee
  • 2990 Views
  • 2 comments
  • 6 kudos

How to manage fast role swap (FRS) in an STM32

Introduction The USB Type-C® and USB PD specifications revolutionized device connectivity by merging data transfer and power delivery for up to 240 W (with EPR in USB PD 3.1). A key feature, fast role swap (FRS), allows a power supplying device quic...

FBL_0-1734086192535.png FBL_0-1733132662609.png
FBL by ST Employee
  • 893 Views
  • 0 comments
  • 0 kudos

How to find STM32 board schematics

Introduction Many STM32 users start their development based on one of ST boards either to evaluate the STM32 MCU or to get the proof of concept of their application. One of the first steps to do in the evaluation process is to look at the board schem...

SofLit_0-1733493248349.png SofLit_1-1733493376115.png SofLit_0-1732621992709.png SofLit_1-1732622009268.png
mƎALLEm by ST Employee
  • 5803 Views
  • 0 comments
  • 6 kudos

Programming the WB55CG USB dongle with ST-LINK V/2-1

Introduction The WB55CG USB dongle is included in the P-NUCLEO-WB55 bundle together with the NUCLEO-WB55RG. The WB55CG dongle does not have an ST-LINK/V2-1, but the NUCLEO-WB55RG does.  The WB55CG USB dongle can be programmed through USB BootLoad or...

STTwo32_0-1732895511104.png STTwo32_1-1732895870406.png
STTwo-32 by ST Employee
  • 1265 Views
  • 0 comments
  • 3 kudos