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 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 run AI models from model zoo on STM32N6

Summary This article provides a comprehensive guide on running AI models from the STM32 model zoo on STM32N6 microcontrollers. It includes step by step instructions on selecting a model, preparing the development environment, and converting the mode...

BMontanari_0-1750274125242.png BMontanari_20-1750274393361.png BMontanari_21-1750274421046.png BMontanari_22-1750274431052.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

Unable to connect to STM32H7 devices

After reprogramming the STM32H7 device, I can’t connect to the device. Connect under reset doesn’t help. Why? There are two possible root causes for this issue. The first root cause is more probable and is related to power supply misconfiguration. Th...

68.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
  • 3783 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

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
  • 142 Views
  • 0 comments
  • 2 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
  • 7852 Views
  • 1 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
  • 277 Views
  • 2 comments
  • 1 kudos