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 use DMA in normal mode with STM32CubeMX2

Summary This guide describes how to enable and configure DMA in memory-to-memory mode using STM32CubeMX2. The example uses the NUCLEO-C562RE board. SummaryIntroductionPrerequisites1. Project setup1.1 Project creation1.2 Enabling DMA1.3 Code generatio...

BMontanari_0-1769703285600.png BMontanari_1-1769703285603.png BMontanari_2-1769703285606.png BMontanari_3-1769703285608.png

How to use I2C with STM32CubeMX2

Summary This tutorial provides a clear guide on how to enable and configure the inter-integrated circuit (I2C) peripheral using STM32CubeMX2. The demonstration uses the NUCLEO-C562RE board. The following I2C features are covered: Simple I2C communica...

BMontanari_0-1770148913303.png BMontanari_1-1770148913307.png BMontanari_2-1770148913309.png BMontanari_3-1770148913312.png

How to use SPI with STM32CubeMX2

Summary This tutorial provides a concise guide on how to enable and configure the serial peripheral interface (SPI) using STM32CubeMX2. The demonstration uses the NUCLEO-C562RE board. The following SPI features are covered: Simple SPI communication ...

BMontanari_0-1770141081468.png BMontanari_1-1770141081472.png BMontanari_2-1770141081475.png BMontanari_3-1770141081479.png

How to use TIM with STM32CubeMX2

Summary This tutorial provides a concise guide on how to enable and configure the general-purpose timer (TIM) peripheral using STM32CubeMX2. The demonstration uses the NUCLEO-C562RE board. The following TIM features are covered: Basic timer configura...

BMontanari_0-1769798930057.png BMontanari_1-1769798930059.png BMontanari_2-1769798930062.png BMontanari_3-1769798930063.png

How to set NVIC priority with STM32CubeMX2

Summary SummaryIntroductionPrerequisites1. Project setup1.1 Project creation1.2 EXTI configuration1.3 How to enable custom callbacks2. Generate code3. Configuring the project in Visual Studio Code4. Code5. ValidationConclusionRelated links This artic...

BMontanari_17-1771003226376.png BMontanari_18-1771003226380.png BMontanari_19-1771003226382.png BMontanari_20-1771003226385.png

How to generate code for VS Code from STM32CubeMX2

Summary This article provides a comprehensive guide on how to generate STM32 project code from STM32CubeMX2 specifically tailored for Visual Studio Code development. It covers creating and configuring the project in STM32CubeMX2, generating code comp...

BMontanari_0-1771525749821.png BMontanari_1-1771525749825.png BMontanari_2-1771525749828.png BMontanari_3-1771525749830.png

How to use UART with STM32CubeMX2

Summary This article provides a concise guide on how to enable and configure the universal asynchronous receiver transmitter (UART) using STM32CubeMX2. The tutorial demonstrates the process with the NUCLEO-C562RE board, and covers the following UART ...

BMontanari_0-1769790160893.png BMontanari_1-1769790160896.png BMontanari_2-1769790160899.png BMontanari_3-1769790160901.png

How to use the EXTI with STM32CubeMX2

Summary This article provides a step-by-step guide to configure the EXTI (external interrupt) function for a GPIO in STM32CubeMX2. The tutorial uses the NUCLEO-C562RE board. SummaryIntroductionPrerequisites1. Project setup1.1 Project creation1.2 GPIO...

BMontanari_0-1769710290017.png BMontanari_1-1769710290019.png BMontanari_2-1769710290021.png BMontanari_3-1769710290024.png

How to use clock configuration in STM32CubeMX2 for STM32C5

Summary This article explains how to understand and configure the STM32C5 clock system in STM32CubeMX2 by directly relating the graphical STM32C5 Clock view to the formal description in RM0522. It shows how the Reset and Clock Control (RCC) manages b...

BMontanari_6-1769534786689.png BMontanari_7-1769534786693.png BMontanari_0-1769535312594.png BMontanari_9-1769534786712.png

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
  • 396 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
  • 5040 Views
  • 5 comments
  • 6 kudos

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

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
  • 2488 Views
  • 1 comments
  • 3 kudos