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 FileX with eMMC for file system management

Summary This article guides you on how to use FileX, a fully compliant FAT library for media storage and file system management with eMMC. In this example, the selected hardware is an STM32U5A9-DK board featuring anintegrated eMMC card readily avail...

BMontanari_0-1706718933631.png BMontanari_1-1706718933638.png BMontanari_2-1706718933639.png BMontanari_3-1706718933642.png

How to utilize STM32 system (ROM) bootloader commands

1. System (ROM) bootloader The system bootloader is present on all STM32 MCUs. As the name suggests, it is located on the system memory (ROM) area of the MCU. The system bootloader is located on the read only portion of the memory and is programmed ...

AMEMCUSM_0-1699295709220.png AMEMCUSM_1-1699295709234.png AMEMCUSM_0-1699997045423.png AMEMCUSM_3-1699295709381.png

How to connect an STM32WB server to multiple clients

The STM32WB as a server can be connected to 8 clients max for the STM32WB3x and STM32WB5x.In contrast, 5 clients max for the STM32WB1x using the stm32wbxx_BLE_Stack_full_fw.bin stack (from STM32CubeWB version 1.21.0). To achieve this, the server nod...

STTwo-32 by ST Employee
  • 406 Views
  • 0 comments
  • 0 kudos

How to implement the USB device composite class USB DFU + HID

Introduction This article is a step-by-step guide on how to implement an STM32 application as a USB device. This device should combine human interface device (HID) and device firmware upgrade (DFU) functionalities into a composite USB device. This al...

FBL_0-1737475963279.png FBL_0-1740648445294.png FBL_1-1737475963161.png FBL_2-1740682200093.png
FBL by ST Employee
  • 2475 Views
  • 0 comments
  • 1 kudos

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

STM32N6 FSBL explained

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

BMontanari_0-1737488193179.png BMontanari_1-1737488193181.png BMontanari_2-1737488193184.png BMontanari_3-1737488193187.png

STM32N6 boot ROM explained

Summary The STM32N6 boot ROM is a critical component that initiates the boot process for the STM32N6 microcontroller. It performs various functions such as system initialization, reset source detection, and boot memory device selection. It supports ...

BMontanari_0-1737384051760.png BMontanari_1-1737384051762.png BMontanari_2-1737384051764.png BMontanari_3-1737384051766.png

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

Unable to connect to STM32H7 devices

After re-programming STM32H7 device, I can’t connect to the device. Connect under reset doesn’t help. Why?There are two possible root causes, that can cause this issue. First one is more probable and is related to power supply misconfiguration. And s...

68.png

How to configure STM32 VS Code extension to use OpenOCD

Summary The STM32 VS Code extension doesn’t natively support OpenOCD, but with some simple configuration, you can integrate it into your debugging workflow. This article covers how to set up OpenOCD (either Streamline or ST’s fork) with the extension...

STM_Thirty2_0-1732844454636.png STM_Thirty2_1-1732844636529.png STM_Thirty2_2-1732844759012.png scrnshot.jpg

FAQ: STM32 HAL UART driver - API and Callbacks

How to use STM32 HAL UART driver API and Callbacks?What are the callbacks involved in UART TX / RX?How are these callbacks called?Why is the callback not called? 1. STM32 HAL UART supports 3 modes for transmitter (TX) / receiver (RX) Polling mode (no...

81.png 82.png 84.png 85.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