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

STM32 timers break feature unit

Introduction  The break feature is embedded only in timer peripherals that include complementary outputs. Specifically, it is available in timers that have at least one channel with two complementary outputs. This makes it suitable for:  Advanced ti...

SarraS_0-1755178068024.png SarraS_0-1754579259365.png
Sarra.S by ST Employee
  • 664 Views
  • 0 comments
  • 1 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

How to integrate CMSIS-DSP libraries on a STM32 project

Introduction Since CMSIS V 5.8.0, the CMSIS-DSP libraries are supplied as an individual package. The advantage is to decouple the release cycles of DSP from the CMSIS-Core stuff. As a side-effect, the DSP libraries structure was changed and the step...

KDJEM1_3-1716913675458.png KDJEM1_0-1716913201570.png KDJEM1_1-1716913286505.png KDJEM1_5-1716913808851.png
KDJEM.1 by ST Employee
  • 22616 Views
  • 18 comments
  • 7 kudos

How to create a Thread using AzureRTOS and STM32CubeIDE

Using the software package available in the STM32Cube ecosystem is straight forward, all steps and a demo code are provided in this article.   Goal: The purpose of this article is to give you a first overview of how the AZURE-RTOS ThreadX is support...

422.png 423.png 424.png 425.png

How to add post build commands in VS Code

Summary This article explains how to add post build commands in VS Code with CMake for STM32 projects. Introduction When developing STM32 firmware using Visual Studio Code with the CMake extension, the build process often involves more than simply c...

BMontanari_0-1754074931286.png BMontanari_1-1754074931295.png BMontanari_2-1754074931304.png

How to debug an external .elf file in VS Code

Summary This article explains how to debug an external *.elf file in Visual Studio Code (VS Code) using the STM32CubeExtension, without requiring a CMake project or a full development environment. Introduction Debugging embedded applications on STM3...

BMontanari_0-1753989954047.png BMontanari_1-1753989954054.png BMontanari_2-1753989954054.png BMontanari_3-1753989954055.png

How to implement USBX in standalone mode

Summary The following article is a tutorial on how to implement the USB device, HID mouse class, using the Azure RTOS USBX package in standalone mode (without the RTOS). 1. Introduction Hello developer and welcome to this article! For this tutorial,...

BMontanari_0-1701201503044.jpeg BMontanari_1-1701201503083.png BMontanari_2-1701201503094.png BMontanari_3-1701201503100.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