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 create an STM32N6 FSBL load and run

Summary The first stage bootloader (FSBL) is a key component in the boot process of STM32N6 microcontrollers. It is responsible for initializing the system, configuring the hardware, and loading the application code from external memory into the int...

FSBL_SimpleLoadAndRun.gif FSBLAndApp.gif BMontanari_2-1738343101105.png BMontanari_3-1738343101107.png

How to configure the linked list mode in STM32CubeMX

Introduction This article provides a step-by-step guide on configuring the GPDMA linked list in STM32CubeMX. It does not cover the legacy standard DMA approach, which is described in the article "How to configure the GPDMA." 1. Software prerequisite...

Icache config.png GPDMA config(all channels).png GPDMA config(ch0).png linked_list_Queue_Config.png
Sarra.S by ST Employee
  • 4627 Views
  • 5 comments
  • 2 kudos

How to debug STM32N6 using STM32CubeIDE

Summary This tutorial is a comprehensive guide for debugging code from external serial flash on the STM32N6. It covers: setting up the environment, configuring the debugger, and validating the setup. Introduction To debug the code running from the e...

BMontanari_0-1746721362224.png BMontanari_1-1746721390464.png BMontanari_2-1746721418605.png BMontanari_3-1746721449634.png

How to use semihosting with STM32CubeIDE and STM32

Summary Semihosting can be used to enable code running on STM32 to communicate with the host computer during a debug session. This makes it possible to use host computer I/O (for example keyboard, display, or file system) instead of having such input...

1565.png 1567.png 1570.png 1571.png
LauraCx by ST Employee
  • 24813 Views
  • 6 comments
  • 5 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
  • 709 Views
  • 2 comments
  • 2 kudos

How to connect two quad-SPI memories using only one OCTOSPI

There are two possible solutions for connecting two quad-SPI memories using only one OCTOSPI interface. Solution 1: Use a dedicated bit in the OCTOSPI_CR register for external memory selection: MSEL bit for STM32H5, STM32U5, and STM32L5 series or FS...

KDJEM1_0-1719503650093.png KDJEM1_0-1721138414681.png
KDJEM.1 by ST Employee
  • 2277 Views
  • 5 comments
  • 4 kudos

How to use the LPAWUR range on the NUCLEO-WL33CCx board

The low power wakeup radio (LPAWUR) feature is not enabled by default on NUCLEO-WL33CCx boards. It has been designed for the reception of a specific frame to trigger the wake up of a system. To enable and use the LPAWUR feature on the NUCLEO-WL33CCx ...

ImenD_0-1756476306474.png
Imen.D by ST Employee
  • 268 Views
  • 0 comments
  • 1 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

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

Reset management on the NUCLEO-WBA55CG

The NUCLEO-WBA55CG with MB1801-NoUSB-D02 has a different configuration for reset management compared to earlier versions. In the default configuration, the reset via mass storage and the reset via debugging tools are disabled, which may cause issues...

STTwo32_0-1756286143499.png
STTwo-32 by ST Employee
  • 378 Views
  • 1 comments
  • 1 kudos

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 can I add TraceX support in STM32CubeIDE?

To add TraceX support to a STM32CubeIDE project and properly use it you’ll need to follow a few steps, described in detail in this article. Goal: Add TraceX support to STM32CubeIDE using X-CUBE-AZRTOS-H7Although the example is using the NUCLEO-H723ZG...

154.png 155.png 157.png 159.png

How to set up Sigfox on STM32WL3x

Introduction This article explains how to set up Sigfox connectivity on the STM32WL3x microcontroller. Sigfox is a low-power wide-area network (LPWAN) technology designed for IoT applications requiring long-range and low-energy communication. By fol...

STTwo32_0-1755877750148.png STTwo32_3-1755879403567.png
STTwo-32 by ST Employee
  • 531 Views
  • 0 comments
  • 0 kudos