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

Knowledge Base Articles

Downloading STM32Cube packages from GitHub correctly

You will receive one or more compilation errors if you download any given STM32Cube package by using the GitHub Download ZIP option.  This is because our repository is created using the git submodule command. So, if the GitHub Download ZIP option is...

STTwo-32 by ST Employee
  • 3049 Views
  • 1 comments
  • 1 kudos

How to change STM32CubeIDE to dark theme

If you want a customized interface to work on your projects, you can try the alternatives offered by the STM32CubeIDE to personalize the appearance of your files. To change the default settings to give it a personal touch, follow the steps below. Cre...

273.png 274.png 275.png 276.png

Overall FAQs for QUADSPI/OCTOSPI/HSPI/XSPI

Introduction The purpose of this article is to provide some external memories tips and tricks, frequently asked questions, and a list for useful link resources.  1. Overall FAQs for QUADSPI/OCTOSPI/HSPI/XSPI  1.1. How to check whether a device is sup...

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

IWDG early wakeup interrupt in Stop modes for STM32U5

Introduction  The IWDG (Independent Watchdog) offers the possibility to exit from stop modes in STM32U5. The wakeup from stop with interrupt is supported in Stop 0, Stop 1, Stop 2, and Stop 3 modes for STM32U535/545/59x/5Ax/5Fx/5Gx as described in t...

IWDG in lp modes.PNG PA5 GPIO output.PNG IWDG config.PNG LL config.PNG
Sarra.S by ST Employee
  • 775 Views
  • 0 comments
  • 1 kudos

How to use the input capture feature

Introduction  Input capture is one of the advanced timer features available on the STM32 microcontrollers. This article guides you through the theoretical aspects of input capture, provide a practical example, and discuss troubleshooting common issu...

clock configuration.png input capture mode.png TIM2 configuration.png TIM2 interrupt.png
Sarra.S by ST Employee
  • 19457 Views
  • 6 comments
  • 5 kudos

FAQ: Using dead battery pins in an STM32 with an integrated UCPD

Introduction Dead battery configuration control (DBCCx) pins play a crucial role in USB Type-C® applications to manage scenarios where the device's main power source is unavailable (dead battery). These pins, used with configuration channel (CC) pin...

FBL_3-1725455948265.png FBL_4-1725455948270.png FBL_5-1725455948294.png
FBL by ST Employee
  • 1100 Views
  • 0 comments
  • 3 kudos

How to integrate the X-CUBE-MEMS1 package with your project

Summary      The article offers an in-depth demonstration of incorporating the X-CUBE-MEMS1 software package into an STM32CubeIDE project, tailored specifically for the B-U585I-IOT02A board with its onboard ISM330DHCX accelerometer. Introduction T...

BMontanari_4-1725298070140.png BMontanari_5-1725298129333.png BMontanari_6-1725298166170.png BMontanari_7-1725298415774.png

How to add external libraries in STM32CubeIDE

Summary This article shows how to integrate a library, in the form of an achieve file (*.a) in your project, so you can use the functions of the library with a simple header file.  Introduction A library can be defined as a set of nonvolatile resour...

BMontanari_0-1705353822184.png BMontanari_1-1705353822195.png BMontanari_2-1705353822203.png BMontanari_3-1705353822221.png

How to run a CoreMark® benchmark on an STM32

Introduction This article guides you on how to perform CoreMark® benchmarks on an STM32H5 microcontroller. For this article, we use a NUCLEO-H563ZI board, which has an STM32H563ZIT6 MCU that integrates an Arm® Cortex® M33 CPU. This code can be easily...

Lionking_0-1722899611311.jpeg Lionking_1-1722899690190.png Lionking_2-1722899690202.png Lionking_4-1722899690217.png
Lionking by ST Employee
  • 2675 Views
  • 0 comments
  • 0 kudos

How to run a Dhrystone/DMIPS benchmark on an STM32

Introduction This article guides you on how to perform Dhrystone tests on an STM32L5 microcontroller. For this article, we use a NUCLEO-L552ZE-Q board, which has an STM32L552ZET6QU MCU that integrates an Arm® Cortex® M33 CPU. This code can be easily ...

Lionking_0-1722898420188.jpeg Lionking_1-1722898420198.png Lionking_2-1722898420209.png Lionking_3-1722898420221.png
Lionking by ST Employee
  • 3498 Views
  • 0 comments
  • 0 kudos