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

How to add RTC on the STM32N6

Summary This article provides a quick guide on how to enable and add real-time clock (RTC) on STM32N6 MCUs and configure it accordingly. This tutorial uses the STM32N6570-DK for the demonstration. Introduction The real-time clock (RTC) is an indepen...

BMontanari_0-1752779806727.png BMontanari_1-1752779806729.png BMontanari_2-1752779806735.png BMontanari_3-1752779806738.png

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

How to calibrate a temperature sensor using ADC4 on STM32U575

Introduction The calibration of temperature sensors is a critical step to ensure accurate measurements in embedded systems. The STM32U575 microcontroller integrates two analog-to-digital converters (ADC1 and ADC4). ADC1 supports configurable resolut...

KDJEM1_3-1748526581559.png KDJEM1_2-1749651714367.png KDJEM1_3-1749651803201.png KDJEM1_6-1748527245899.png
KDJEM.1 by ST Employee
  • 114 Views
  • 0 comments
  • 1 kudos

How to enable FreeRTOS™ Run Time and Stack Usage view

In this article, we explore the FreeRTOS™ debugging viewers using STM32CubeIDE and how to enable "Min Free Stack" and "Run Time usage" in each task. Introduction To enhance the analysis and validation of the application running on FreeRTOS™, STM32C...

BMontanari_0-1704993362634.png BMontanari_1-1704993362640.png BMontanari_2-1704993362643.png BMontanari_3-1704993362644.png

How to debug an external ELF in STM32CubeIDE

Summary This article provides a quick guide on debugging an application using its external *.ELF file. It includes instructions and explanations on how to implement the file into the STM32CubeIDE interface and enter debug mode, enabling the user to ...

BMontanari_0-1750793983954.png BMontanari_1-1750793983956.png BMontanari_2-1750793983960.png BMontanari_3-1750793983964.png

How to use register callbacks in STM32

Introduction In this article, we cover the steps needed to use the Register callback's feature in STM32. The NUCLEO-H503RB (with an STM32H503RBT6 microcontroller) board is used, but the steps can be easily tailored to another MCU. All the implement...

BMontanari_0-1691433051363.jpeg BMontanari_1-1691433051372.png BMontanari_2-1691433051374.png BMontanari_3-1691433051411.png

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
  • 3904 Views
  • 3 comments
  • 2 kudos

How to use FreeRTOS™ with STM32N6

Summary This article helps you set up a project for the STM32N6 microcontroller using the X-CUBE-FREERTOS middleware.  Introduction This article focuses on how to use the X-CUBE-FREERTOS software package with the STM32N6. The step-by-step example sh...

BMontanari_0-1747921642972.png BMontanari_1-1747921642974.png BMontanari_2-1747921642976.png BMontanari_3-1747921642985.png