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 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
  • 6737 Views
  • 4 comments
  • 9 kudos

Using the ITM console for printf redirects and LWIP debug messages

Introduction This article provides a step-by-step guide on how to use the Instrumentation Trace Macrocell (ITM) console to redirect print statements and LWIP debug messages in STM32CubeIDE. These tools are valuable for debugging and optimizing your ...

STea_0-1727452498018.png STea_4-1728490607717.png 1 edited.png STea_0-1728319052260.png
STea by ST Employee
  • 9686 Views
  • 2 comments
  • 3 kudos

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

STM32 and FreeRTOS+ CLI library

Introduction In this guide, we explore how to integrate and use the FreeRTOS+ command-line interface (CLI) library to enhance your embedded applications. Designed for ease of use and flexibility, the FreeRTOS+ CLI allows developers to create robust c...

managesoftwarepacks.png freertos.png selectComponents.png softwareselector.png

How to debug STM32H7 dual-core using VS Code

Summary This article provides a step-by-step guide to debugging STM32H7 Dual-Core applications using VS Code. It covers configuring the project with CMake, setting up debugging for both Cortex®-M7 and Cortex®-M4 cores, and managing their interaction...

BMontanari_0-1762168579826.png BMontanari_1-1762168579835.png BMontanari_2-1762168579840.png BMontanari_3-1762168579841.png

How to open a STM32CubeIDE X-CUBE project

Introduction ST provides several X-CUBE source packages for STM32 on st.com with STM32CubeIDE project files. To open the projects in STM32CubeIDE, there are several ways. Note: some X-CUBE packages are also provided in STM32CubeMX as installable "pac...

search on st.com.png STM32CubeIDE_File_Import_menu2.png STM32CubeIDE_Import_widget2.png STM32CubeIDE_import_project2.png

CAN (bxCAN) bit time configuration on STM32 MCUs

Introduction Timing aspects are crucial in a CAN bus system design. The designer of the CAN bus system must study it carefully to prevent any communication issues on the CAN network.This article does not cover the CAN protocol description and its fra...

Figure 1_updated.png RCC_CAN_clock.png CAN_BTR_PRP.png mALLEm_0-1744729390319.png
mƎALLEm by ST Employee
  • 6297 Views
  • 2 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