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

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
  • 571 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
  • 2072 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
  • 161 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
  • 267 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
  • 445 Views
  • 0 comments
  • 0 kudos

USB device not recognized

The USB device is detected by the PC (USB host), but the device initialization reports an error, like. "error code 10" on Windows. What is the problem?When using the HAL libraries, the source of this problem can be a too small heap configured in the ...

705.png

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

STM32 timers break feature unit

Introduction  The break feature is embedded only in timer peripherals that include complementary outputs. Specifically, it is available in timers that have at least one channel with two complementary outputs. This makes it suitable for:  Advanced ti...

SarraS_0-1755178068024.png SarraS_0-1754579259365.png
Sarra.S by ST Employee
  • 627 Views
  • 0 comments
  • 1 kudos