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 recognize a genuine ST-LINK/V2 versus a cloned one

To answer the questions like "Is my ST-Link/V2 genuine? Where to find a genuine ST-Link/V2? Why my device isn't recognized?" and other related ones, please refer to the following: Where to find a genuine ST-Link/V2 ST-Link official in-circuit debugge...

667.jpg 668.jpg 669.jpg 670.jpg

How to use the STM32N6 in overdrive mode

Summary This article provides a quick guide on how to enable overdrive mode on the STM32N6 Discovery kit and configure your project accordingly. It includes instructions and explanation on configuring overdrive mode, responsible for changing the VDD...

BMontanari_0-1749471785452.png BMontanari_1-1749471785455.png BMontanari_2-1749471785456.png BMontanari_3-1749471785457.png

How to reach the maximum OCTOSPI frequency

Introduction The OCTOSPI interface is used in STM32 devices to enhance communication speed with devices like external memories. Achieving the maximum OCTOSPI clock frequency is essential for various applications. This article explains some factors i...

KDJEM.1 by ST Employee
  • 59 Views
  • 0 comments
  • 0 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 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 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

How to implement USBX in standalone mode

Summary The following article is a tutorial on how to implement the USB device, HID mouse class, using the Azure RTOS USBX package in standalone mode (without the RTOS). 1. Introduction Hello developer and welcome to this article! For this tutorial,...

BMontanari_0-1701201503044.jpeg BMontanari_1-1701201503083.png BMontanari_2-1701201503094.png BMontanari_3-1701201503100.png

FAQ STM32 boot process

What is the STM32 boot process and the system bootloader?Summary This article provides information about the STM32 boot process. In a first part, it gives you an overview of this process and it presents the different boot modes. In a second part, it...

114.jpg

How does the event flag work on STM32? Part 1

How does the event flag work on STM32?GOAL:The purpose of this article is to provide a brief explanation with a working example of how to implement and use the Event Flag resources. Although the example is using the STM32G474 Discovery kit, you can a...

209.png 211.png 214.png 216.png

How does the event flag work on STM32? Part 3

How does the event flag work on STM32? Part 3This is the part 3 of the article to explain How the Event Flag work on STM32 with a working example. Welcome back! After generation, locate and open the app_threadx.c file. There is inside Core → Src fold...

227.png 229.png 231.png 232.png

How does the event flag work on STM32? Part 2

How does the event flag work on STM32? Part2This is the part 2 of the article to explain How the Event Flag work on STM32 with a working example. Welcome back!1. MATERIALS:To develop this article’s demo, the following materials were necessary:- STM32...

208.png 210.png 212.png 213.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

FAQ: Troubleshooting a USB core soft reset stuck on an STM32

Intro This article addresses an issue where the USB_OTG_GRSTCTL_CSRST bit in the GRSTCTL register fails to reset, resulting in a timeout during USB initialization. The problem is related to timing and initialization, particularly with the USB PHY and...

2-fixed.png FBL_0-1748439955183.png
FBL by ST Employee
  • 179 Views
  • 0 comments
  • 0 kudos

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
  • 3411 Views
  • 3 comments
  • 2 kudos