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 add USBX to an STM32 FreeRTOS™ project

Introduction  This article is a tutorial on how to add the standalone version of USBX (without Azure RTOS) to an STM32 FreeRTOS™ project. This tutorial uses an STM32U5G9J-DK2 board and the same steps are applicable to any other STM32 MCU. Currently i...

nk1_0-1759871090129.png 2.png nk1_2-1759871090147.png 4.png
nk1 by ST Employee
  • 596 Views
  • 0 comments
  • 2 kudos

How to configure the packet memory area in STM32 USB controllers

Introduction This guide explains the basic structure and organization of the packet memory area (PMA) in STM32 USB controllers operating in full speed. It covers how buffers are allocated and configured to support data transfers between the device an...

FBL_0-1759313037742.png FBL_11-1759520495517.png
FBL by ST Employee
  • 880 Views
  • 2 comments
  • 1 kudos

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
  • 7872 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
  • 1854 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
  • 1032 Views
  • 0 comments
  • 0 kudos