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 get started with STM32C5 microcontrollers

Introduction to the STM32C5 ecosystem The STM32Cube ecosystem accelerates development and enables users to fully benefit from STM32C5 microcontroller features and architecture. STM32Cube support for STM32C5 microcontrollers consists of a complete so...

Overall FAQs for PSSI

Introduction This article provides answers to frequently asked questions regarding Parallel Synchronous Slave Interface (PSSI) and includes a list of useful resource links.  1. Frequently asked questions about PSSI 1.1 Can PSSI transmit or receive d...

KDJEM.1 by ST Employee
  • 320 Views
  • 0 comments
  • 1 kudos

Lightweight EEPROM emulation

Summary This article provides a step-by-step description of a lightweight algorithm to write and retrieve data from flash using virtual addresses. The key aspect is the low footprint and overall simplicity. The code example in this guide is provided...

Organization.png
Domini by ST Employee
  • 4736 Views
  • 5 comments
  • 6 kudos

How to debug the STM32N6 using VS Code

Summary This article provides a detailed guide on using VS Code to debug code running from external serial flash on the STM32N6. It covers setting up the development environment, setting up the project with CMake, configuring the debugger within VS ...

BMontanari_0-1756124872300.png BMontanari_1-1756124872303.png BMontanari_2-1756124872310.png BMontanari_3-1756124872310.png

NanoEdge AI Studio 5.1.0 multi library

In NanoEdge AI Studio version 5.1.0, the multi library feature was removed. A huge amount of work was done on the back-end, and this feature was not yet ready. We plan to bring this feature back natively in the next major release of NanoEdge AI Studi...

Screenshot 2026-03-04 110510.png screenshot 1.png Screenshot 2026-03-04 111611.png ST-logo.png

Porting and using X-CUBE-EEPROM with any STM32

Summary  X-CUBE-EEPROM is an EEPROM emulation software package that works on a variety of STM32 MCUs. Upon downloading the package, there are premade examples that work with STMicroelectronics development kits. However, it is not obvious how you can...

Laurids_PETERSEN_0-1687869279217.png 2 porting.png Laurids_PETERSEN_1-1687869424399.png 4 flash interface.png

How to create and run an STM32H7 dual-core basic example

Summary This article provides a step-by-step guide to learn how to run STM32H7 Dual-Core applications using STM32CubeIDE. It covers configuring the project, setting up both Cortex®-M7 and Cortex®-M4 cores. Introduction This article provides a practic...

Gyessine_0-1765284905626.png Gyessine_1-1765284916727.png Gyessine_2-1765284927491.png Gyessine_3-1765284954183.png
Gyessine by ST Employee
  • 1507 Views
  • 1 comments
  • 3 kudos

How to use SNTP over LwIP and RTC with an STM32

Summary This article demonstrates how to implement an SNTP client using the LwIP stack in a callback-based application. The demonstration code is built using the NUCLEO-H723ZG development board but can be easily tailored to a different STM32. All im...

BMontanari_0-1730159840046.png BMontanari_1-1730159840048.png BMontanari_2-1730159840055.png BMontanari_3-1730159840056.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

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

How to configure the MPU of an STM32 using STM32CubeMX

1. Introduction The MPU (Memory Protection Unit) is included in the Cortex-M4 and M7 based STM32 Microcontrollers (refer to specific product datasheets to confirm availability). The MPU can be used to make an embedded system more robust and more secu...

1760.png 1761.png 1762.png 1763.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