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 calibrate the delay block with the OCTOSPI interface

Introduction The delay block is an independent peripheral integrated within an STM32 MCU, for example, an STM32U5. Its role is to introduce a phase shift relative to the input clock. The user application configures the phase of the output clock. This...

KDJEM1_0-1732889486131.png KDJEM1_1-1733238322003.png KDJEM1_3-1733238469964.png KDJEM1_5-1733238557266.png
KDJEM.1 by ST Employee
  • 2126 Views
  • 0 comments
  • 0 kudos

How to interpret and understand the STM32 RTC's sub second value

Introduction The goal of this article is to help readers make sense out of the RTC_SSR register, the RTC’s sub second value (SS), and the second fraction equation. This article uses the STM32L476xx MCU and its reference manual RM0351 as an example, b...

p1. RM0351 RTC_SSR register.PNG p2. RM0351 RTC synchronization.PNG p3. RM0351 RTC_PRER register.PNG p4. RM0351 RTC_PRER register equations.PNG
nk1 by ST Employee
  • 2130 Views
  • 0 comments
  • 1 kudos

How to manage fast role swap (FRS) in an STM32

Introduction The USB Type-C® and USB PD specifications revolutionized device connectivity by merging data transfer and power delivery for up to 240 W (with EPR in USB PD 3.1). A key feature, fast role swap (FRS), allows a power supplying device quic...

FBL_0-1734086192535.png FBL_0-1733132662609.png
FBL by ST Employee
  • 2138 Views
  • 0 comments
  • 0 kudos

How to find STM32 board schematics

Introduction Many STM32 users start their development based on one of ST boards either to evaluate the STM32 MCU or to get the proof of concept of their application. One of the first steps to do in the evaluation process is to look at the board schem...

SofLit_0-1733493248349.png SofLit_1-1733493376115.png SofLit_0-1732621992709.png SofLit_1-1732622009268.png
mƎALLEm by ST Employee
  • 10370 Views
  • 0 comments
  • 6 kudos

Programming the WB55CG USB dongle with ST-LINK V/2-1

Introduction The WB55CG USB dongle is included in the P-NUCLEO-WB55 bundle together with the NUCLEO-WB55RG. The WB55CG dongle does not have an ST-LINK/V2-1, but the NUCLEO-WB55RG does.  The WB55CG USB dongle can be programmed through USB BootLoad or...

STTwo32_0-1732895511104.png STTwo32_1-1732895870406.png
STTwo-32 by ST Employee
  • 1991 Views
  • 0 comments
  • 3 kudos

Recommendations for the external capacitor on VCAP pin (STM32U5)

Defining VCAP VCAP is the digital core supply provided by the internal LDO regulator. VCAP pins are present only on LDO packages (without SMPS). STM32U5 external capacitor on VCAP pin recommendations For the STM32U5 series, the external capacitor on ...

KDJEM.1 by ST Employee
  • 1318 Views
  • 0 comments
  • 1 kudos

How to configure swap bank on STM32H7 part 1

  Objective  An important requirement for flash-memory based systems is the ability to update firmware when installed in the end-product. This facility is referred to as in-application programming (IAP) which can be used to restart the microcontrol...

1663.png
FBL by ST Employee
  • 7654 Views
  • 1 comments
  • 3 kudos

New release of Secure Manager 1.2.0 for STM32H5 - overview

The Secure Manager for STM32H573 version 1.2.0 has recently been released.  It’s available on our Secure Manager webpage. We wanted to inform you about the importance of this new release, and to refresh how it could improve your security concerns. Up...

ThierryCrespo_0-1726495408330.png ThierryCrespo_1-1726496946852.png

How to debug a HardFault on an Arm® Cortex®-M STM32

Introduction For a firmware developer targeting and STM32 MCU based on a Cortex® M, they need to keep an eye on memory access, hardware availability, clock, and power. This is needed to avoid running into issues that can be hard to follow and determ...

STea_0-1715262749764.jpeg STea_1-1715262749770.jpeg STea_5-1715262749776.jpeg hardfault regs.PNG
STea by ST Employee
  • 51184 Views
  • 2 comments
  • 17 kudos

How to program and debug the STM32 using the Arduino IDE

Summary This article covers how to program and debug your STM32 device with the Arduino IDE. In this knowledge article, we explore the following main points: How to install the STM32 MCUs in the Arduino IDEHow to program a simple blink LED based on ...

BMontanari_0-1700165815072.png BMontanari_13-1700166272699.png BMontanari_14-1700166292284.png BMontanari_15-1700166325305.png

How to share an API between a bootloader and an application

Summary This article provides a step-by-step guide on how to configure your STM32 to have a super simple bootloader and application. Additionally, a third region in memory where a shared set of functions between the two other codes can reside. The b...

BMontanari_0-1730153357515.png BMontanari_1-1730153357520.png BMontanari_2-1730153357523.png BMontanari_3-1730153357527.png