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

Knowledge Base Articles

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

How to open a STM32CubeIDE X-CUBE project

Introduction ST provides several X-CUBE source packages for STM32 on st.com with STM32CubeIDE project files. To open the projects in STM32CubeIDE, there are several ways. Note: some X-CUBE packages are also provided in STM32CubeMX as installable "pac...

search on st.com.png STM32CubeIDE_File_Import_menu2.png STM32CubeIDE_Import_widget2.png STM32CubeIDE_import_project2.png

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

Tips for using STM32 low-power modes

Introduction For those developing applications that use low power modes, trying to achieve the current consumption numbers listed in the datasheet and performing general debugging can be troublesome. The purpose of this article is to give an overall...

MCUSupportTD_0-1702918556927.png MCUSupportTD_1-1702918713976.png MCUSupportTD_0-1702918956534.png MCUSupportTD_1-1702919543374.png

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

Implementing debug authentication on STM32H5 using CLI tools

Introduction Debug authentication is a critical security feature of the system considering that with a debugger the user can access a large part of the system. To control a reopening of the debug port, the device imposes a debug authentication proto...

RuchitN_0-1703203603049.png RuchitN_1-1703203603051.png RuchitN_2-1703203603053.png RuchitN_3-1703203603055.png
Ruchit N by ST Employee
  • 984 Views
  • 1 comments
  • 2 kudos

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 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 obtain and use the STM32 96-bit UID

Working with the STM32 96-bit UID Introduction Some STM32 MCUs embed two unique identifiers: a unique 96-bit unique identifier and device ID. This article shows how to both obtain these values in your code, and describe some possible use cases for t...

MCUSupportTD_0-1703015576603.png MCUSupportTD_1-1703018522618.png

How to use the STM32 ADC's internal reference voltage

Using the STM32 ADC's internal reference voltage Introduction In some applications, specifically battery-powered ones, it is common for the supply voltage to drop as the battery discharges. Sometimes, both VDDA and VREF+ is powered directly by the b...

MCUSupportTD_0-1703079924456.png MCUSupportTD_1-1703080096772.png MCUSupportTD_2-1703080175617.png MCUSupportTD_4-1703080629752.png

How to make an efficient bit-bang driver on STM32

Making an efficient STM32 bit-bang driver Introduction This article discusses the theory behind making a bit-bang driver as efficient as possible. In the bottom of this article, I have attached a single header file based bit-bang SPI controller mode...

Part 2: Introduction to the STM32 microcontroller clock system

This article is a continuation of Part 1: Introduction to the STM32 microcontroller clock system.We recommend reading part 1 of the article before reading this article. 1. Clock security system (CSS) 1.1 Clock security system on HSE If a failure is ...