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 configure the linked list mode in STM32CubeMX

Introduction This article provides a step-by-step guide on configuring the GPDMA linked list in STM32CubeMX. It does not cover the legacy standard DMA approach, which is described in the article "How to configure the GPDMA." 1. Software prerequisite...

Icache config.png GPDMA config(all channels).png GPDMA config(ch0).png linked_list_Queue_Config.png
Sarra.S by ST Employee
  • 6604 Views
  • 6 comments
  • 3 kudos

How to implement USB mass storage device standalone on STM32

Introduction This article provides a detailed, step-by-step guide to implementing a USB mass storage class (MSC) device using the USBX middleware in standalone mode (without an RTOS) on the STM32U5 microcontroller. The example is developed and tested...

FBL_0-1758562183659.png FBL_1-1758562183661.png FBL_2-1758562183664.png FBL_0-1758566670769.png
FBL by ST Employee
  • 845 Views
  • 0 comments
  • 1 kudos

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

How to configure VREFBUF on my STM32

The voltage reference buffer embedded in most STM32 devices serve two main purposes: 1. used as a voltage reference for ADCs, and DACs 2. used as a voltage reference for external components through the VREF+ pin Note that as each product family is un...

1005.png 1006.png 1007.png 1008.png

How to obtain and use the STM32 96-bit UID

Introduction Some STM32 MCUs embed two unique identifiers: a unique 96-bit unique identifier and device ID. This article shows how to both obtain these values in your code, and describe some possible use cases for them. 1. 96-bit unique ID This 96-b...

BMontanari_3-1758715277406.png BMontanari_1-1758715035836.png BMontanari_2-1758715156791.png

Internal clock CK_INT for the STM32H7/H5 timers

Introduction to CK_INT clock  The STM32 products include a flexible clock system for timers, enabling each timer to operate with a specific kernel clock. The RCC configuration determines the kernel clock source for each timer.Timers can utilize vari...

SarraS_0-1757685323191.png SarraS_0-1757674890870.png
Sarra.S by ST Employee
  • 738 Views
  • 0 comments
  • 0 kudos

How to disable Trustzone on STM32U5 Series

The aim of this article is to provide guideline for disabling Trustzone on STM32U5. 1. Hardware and software setup Nucleo MB1549-U5A5ZJT6Q1. Hardware and software setupSTM32CubeProgrammer As you can see when connecting your board to STM32CubeProgramm...

1639.png 1640.png 1641.png 1642.png