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

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

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

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

Using VS Code for FreeRTOS™ application debugging

Introduction  In this article, we explore how to set up and debug a FreeRTOS™ project for the STM32H753 microcontroller using visual studio code (VS Code). We cover the necessary extensions, step-by-step project creation, and debugging processes, inc...

Extensions.png Tasks creation.png vTaskDelay.png Project generation.png
Sarra.S by ST Employee
  • 4877 Views
  • 0 comments
  • 0 kudos

Helpful tips on using VS Code with STM32

Summary This article highlights some tips on using VS Code with STM32. In this article, we cover the following: Performing a clean build of your project and deleting the cacheAdding source files, directories, and include files to your VS Code project...

B_Subramanian_0-1733431777905.png B_Subramanian_1-1733431777909.png cmakelists.png B_Subramanian_3-1733431777914.png

How to create a custom build setup in STM32CubeIDE

This article covers how to create a custom build setup to allow users to customize, modify, and add specific build settings for each file, folder, or project. Introduction Creating a custom build in STM32CubeIDE can be a powerful tool for developers...

BMontanari_0-1705600232962.png BMontanari_1-1705600232966.png BMontanari_2-1705600232967.png BMontanari_3-1705600232968.png

How to wake up the STM32U5 from STOP2 using LPUART

This article will show you how wake up the STM32U5 MCU from Stop 2 Low Power mode using the LPUART1 supplied by LSE or HSI Clock Source. By the end of this article, you will know the needed steps to properly set the LPUART, RCC and PWR peripheral reg...

566.jpg 567.png 569.png 571.png

Porting and using X-CUBE-EEPROM with any STM32

Summary  X-CUBE-EEPROM is an EEPROM emulation software package that works on a variety of STM32 MCUs. Upon downloading the package, there are premade examples that work with STMicroelectronics development kits. However, it is not obvious how you can...

Laurids_PETERSEN_0-1687869279217.png 2 porting.png Laurids_PETERSEN_1-1687869424399.png 4 flash interface.png

STM32 FDCAN running at 8 Mb/s on NUCLEO boards

Introduction Many customers requested to have FDCAN communicating at 8 Mb/s. We provide a GitHub hotspot that contains a simple project on several STM32 part numbers. The project allows for FDCAN to reach a bit rate of 8 Mb/s in the data phase. The ...

Laurids_PETERSEN_0-1728997194171.png SofLit_0-1728659214427.png SofLit_1-1728659326925.png SofLit_3-1728659591872.png
mƎALLEm by ST Employee
  • 5124 Views
  • 2 comments
  • 7 kudos