STM32 MCUs
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

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
  • 2542 Views
  • 1 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

How to use register callbacks in STM32

Introduction In this article, we cover the steps needed to use the Register callback's feature in STM32. The NUCLEO-H503RB (with an STM32H503RBT6 microcontroller) board is used, but the steps can be easily tailored to another MCU. All the implement...

BMontanari_0-1691433051363.jpeg BMontanari_1-1691433051372.png BMontanari_2-1691433051374.png BMontanari_3-1691433051411.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
  • 1318 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 enable FreeRTOS™ Run Time and Stack Usage view

In this article, we explore the FreeRTOS™ debugging viewers using STM32CubeIDE and how to enable "Min Free Stack" and "Run Time usage" in each task. Introduction To enhance the analysis and validation of the application running on FreeRTOS™, STM32C...

BMontanari_0-1704993362634.png BMontanari_1-1704993362640.png BMontanari_2-1704993362643.png BMontanari_3-1704993362644.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