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

Knowledge Base Articles

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

68.png

How to use register callbacks in STM32

Introduction In this article, we cover the steps needed to use the Register callback's feature in STM32. The NUCLEO-H503RB (with an STM32H503RBT6 microcontroller) board is used, but the steps can be easily tailored to another MCU. All the implement...

BMontanari_0-1691433051363.jpeg BMontanari_1-1691433051372.png BMontanari_2-1691433051374.png BMontanari_3-1691433051411.png

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
  • 537 Views
  • 0 comments
  • 3 kudos

How to integrate CMSIS-DSP libraries on a STM32 project

Introduction Since CMSIS V 5.8.0, the CMSIS-DSP libraries are supplied as an individual package. The advantage is to decouple the release cycles of DSP from the CMSIS-Core stuff. As a side-effect, the DSP libraries structure was changed and the step...

KDJEM1_3-1716913675458.png KDJEM1_0-1716913201570.png KDJEM1_1-1716913286505.png KDJEM1_5-1716913808851.png
KDJEM.1 by ST Employee
  • 7687 Views
  • 7 comments
  • 5 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
  • 1176 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
  • 1569 Views
  • 0 comments
  • 0 kudos

How to conduct a STM32 self-schematic review PT. 2

What are the recommended steps to take when reviewing my custom STM32 schematic design?  In this two-part article we will cover several main areas of focus when conducting a self-review of a custom STM32 schematic and share some hardware debugging ti...

995.png 996.png 998.png 1000.png

How to recognize a genuine ST-LINK/V2 versus a cloned one

To answer the questions like "Is my ST-Link/V2 genuine? Where to find a genuine ST-Link/V2? Why my device isn't recognized?" and other related ones, please refer to the following: Where to find a genuine ST-Link/V2 ST-Link official in-circuit debugge...

667.jpg 668.jpg 669.jpg 670.jpg

How does the event flag work on STM32? Part 1

How does the event flag work on STM32?GOAL:The purpose of this article is to provide a brief explanation with a working example of how to implement and use the Event Flag resources. Although the example is using the STM32G474 Discovery kit, you can a...

209.png 211.png 214.png 216.png

How to Set USB CDC Line Coding?

How to Set USB CDC Line Coding?1. What is Line coding? Line coding is used to transfer parameters of UART interface, which is emulated using USB CDC - Virtual COM port. In STM32 legacy USB library is line coding handled in file usbd_cdc_if.c, functio...