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 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

STM32CubeIDE 2.0.0 workflow tutorial

Introduction STM32CubeIDE 2.0.0 is a major release. In this version, STM32CubeMX is removed from STM32CubeIDE. STM32CubeIDE and STM32CubeMX are now two separate products. This changes the workflow, which we describe and explain in this article. Click...

STAMESupportNF_30-1765834484525.png STAMESupportNF_31-1765834484537.png STAMESupportNF_32-1765834554194.png STAMESupportNF_33-1765834554212.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

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

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 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
  • 417 Views
  • 1 comments
  • 2 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 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 use the STM32N6 in overdrive mode

Summary This article provides a quick guide on how to enable overdrive mode on the STM32N6 Discovery kit and configure your project accordingly. It includes instructions and explanation on configuring overdrive mode, responsible for changing the VDD...

BMontanari_0-1749471785452.png BMontanari_1-1749471785455.png BMontanari_2-1749471785456.png BMontanari_3-1749471785457.png