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

Internal clock CK_INT for the STM32H7/H5 timers

Introduction to CK_INT clock  The STM32 products include a flexible clock system for timers, enabling each timer to operate with a specific kernel clock. The RCC configuration determines the kernel clock source for each timer.Timers can utilize vari...

SarraS_0-1757685323191.png SarraS_0-1757674890870.png
Sarra.S by ST Employee
  • 1604 Views
  • 0 comments
  • 0 kudos

How to disable Trustzone on STM32U5 Series

The aim of this article is to provide guidelines for disabling Trustzone on STM32U5. 1. Hardware and software setup Nucleo MB1549-U5A5ZJT6Q1. Hardware and software setupSTM32CubeProgrammer As you can see when connecting your board to STM32CubeProgram...

1639.png 1640.png 1641.png 1642.png

How to use semihosting with STM32CubeIDE and STM32

Summary Semihosting can be used to enable code running on STM32 to communicate with the host computer during a debug session. This makes it possible to use host computer I/O (for example keyboard, display, or file system) instead of having such input...

1565.png 1567.png 1570.png 1571.png
LauraCx by ST Employee
  • 30114 Views
  • 6 comments
  • 5 kudos

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
  • 4829 Views
  • 5 comments
  • 4 kudos

How to use the LPAWUR range on the NUCLEO-WL33CCx board

The low power wakeup radio (LPAWUR) feature is not enabled by default on NUCLEO-WL33CCx boards. It has been designed for the reception of a specific frame to trigger the wake up of a system. To enable and use the LPAWUR feature on the NUCLEO-WL33CCx ...

ImenD_0-1756476306474.png
Imen.D by ST Employee
  • 1130 Views
  • 0 comments
  • 1 kudos

Reset management on the NUCLEO-WBA55CG

The NUCLEO-WBA55CG with MB1801-NoUSB-D02 has a different configuration for reset management compared to earlier versions. In the default configuration, the reset via mass storage and the reset via debugging tools are disabled, which may cause issues...

STTwo32_0-1756286143499.png
STTwo-32 by ST Employee
  • 1094 Views
  • 1 comments
  • 1 kudos

How to set up Sigfox on STM32WL3x

Introduction This article explains how to set up Sigfox connectivity on the STM32WL3x microcontroller. Sigfox is a low-power wide-area network (LPWAN) technology designed for IoT applications requiring long-range and low-energy communication. By fol...

STTwo32_0-1755877750148.png STTwo32_3-1755879403567.png
STTwo-32 by ST Employee
  • 951 Views
  • 0 comments
  • 0 kudos

STM32 timers break feature unit

Introduction  The break feature is embedded only in timer peripherals that include complementary outputs. Specifically, it is available in timers that have at least one channel with two complementary outputs. This makes it suitable for:  Advanced ti...

SarraS_0-1755178068024.png SarraS_0-1754579259365.png
Sarra.S by ST Employee
  • 2110 Views
  • 0 comments
  • 1 kudos

How to create a Thread using AzureRTOS and STM32CubeIDE

Using the software package available in the STM32Cube ecosystem is straight forward, all steps and a demo code are provided in this article.   Goal: The purpose of this article is to give you a first overview of how the AZURE-RTOS ThreadX is support...

422.png 423.png 424.png 425.png

How to add post build commands in VS Code

Summary This article explains how to add post build commands in VS Code with CMake for STM32 projects. Introduction When developing STM32 firmware using Visual Studio Code with the CMake extension, the build process often involves more than simply c...

BMontanari_0-1754074931286.png BMontanari_1-1754074931295.png BMontanari_2-1754074931304.png

How to debug an external .elf file in VS Code

Summary This article explains how to debug an external *.elf file in Visual Studio Code (VS Code) using the STM32CubeExtension, without requiring a CMake project or a full development environment. Introduction Debugging embedded applications on STM3...

BMontanari_0-1753989954047.png BMontanari_1-1753989954054.png BMontanari_2-1753989954054.png BMontanari_3-1753989954055.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