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

Knowledge Base Articles

How to calibrate the STM32's real-time clock (RTC)

Summary This article provides a step-by-step guide on how to calibrate the precision of a real-time clock (RTC). The examples in this guide are provided using the NUCLEO-U575ZI-Q board, but can be tailored to any other STM32. Introduction The real-t...

BMontanari_1-1732041172104.png BMontanari_2-1732041172109.png BMontanari_3-1732041172111.png BMontanari_4-1732041172112.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 program the OTP fuse bits in the STM32N6

Summary This article provides a quick guide on what the STM32N6’s OTP bits are and how to program them. It includes step-by-step instructions and explanation on configuring the OTP124, responsible for changing the VDDIOs' voltage to 1.8 V instead of...

BMontanari_0-1741811106339.png BMontanari_1-1741811106354.png BMontanari_2-1741811106366.png BMontanari_3-1741811106373.png

Injecting and handling ECC errors in STM32H7 RAM

Summary This article provides a step-by-step method to test the ECC single and double errors in the STM32H7 series. Find attached to the article a ECC RAM project for testing purposes.  Introduction In STM32H7 microcontrollers, RAM ECC (Error Correc...

CMYL_0-1730289954134.png CMYL_1-1730290944180.png CMYL_2-1730291031740.png CMYL_3-1730291031742.png
CMYL by ST Employee
  • 1826 Views
  • 1 comments
  • 4 kudos

How to use VS Code with STM32 microcontrollers

Summary This article is an introduction to STM32 MCU development through the VS Code IDE. In this article, we cover the following: Setting up your VS Code environment to interface with STM32 MCUsCreating a new project through the embedded CubeMX plat...

B_Subramanian_0-1731514123729.png B_Subramanian_1-1731514123731.png cogwheel.png B_Subramanian_3-1731514123733.png

How to add the STM32N6's header signature as post build

Summary The first stage bootloader (FSBL) requires a header signature for the boot ROM to load the code from the external memory into the internal RAM. This allows the application’s code to begin execution. Creating this header involves the STM32Sig...

BMontanari_0-1741027708861.png BMontanari_1-1741027708865.jpeg BMontanari_2-1741027708868.png BMontanari_3-1741027708872.png

STM32H7 series spread-spectrum clock generation (SSCG)

Summary The main objective of this article is to present the STM32H7 spread-spectrum clock generation (SSCG) feature. STM32H7 differs from other series by using PLL fractional with Timer/DMA.  For an overall introduction to spread-spectrum clock gen...

StassenC_2-1721652053910.png StassenC_3-1721401647084.png StassenC_8-1721401647157.png StassenC_7-1721401647130.png
Stassen.C by ST Employee
  • 2038 Views
  • 5 comments
  • 1 kudos

How to configure the GPDMA

1. GPDMA module setup The new DMA module (which includes the GPDMA and the LPDMA) available in series such as the STM32U5 are slightly different than the regular DMA. In this article, we’ll discuss the setup for using GPDMA in a similar way as the st...

415.png 416.png 417.png 418.png

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
  • 239 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
  • 1661 Views
  • 0 comments
  • 1 kudos