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 program STM32 Option Bytes with the HAL API

Although it is possible to program the option bytes through a debugger with a tool like STM32CubeProgrammer, there are many times where it is necessary or helpful to program the options bytes in the runtime of the application. The STM32 HAL libraries...

1323.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
  • 23412 Views
  • 5 comments
  • 5 kudos

How to use 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 battery. The problem with this is if the VDDA is 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

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 0 driver. 1. Pros and cons of a bit-bang ...

How to add a BSP to an STM32CubeIDE project

1. Introduction STMicroelectronics offers BSPs (Board Support Packages) for all STM32 Evaluation and Nucleo boards as well as Discovery Kits. In this article we will see how to add a BSP to your STM32CubeIDE project.  2. Prerequisites   Hardware: Min...

1712.png 1714.png 1717.png 1718.png

USB device not recognized

The USB device is detected by the PC (USB host), but the device initialization reports an error, like. "error code 10" on Windows. What is the problem?  When using the HAL libraries, the source of this problem can be a too small heap configured in th...

705.png

NanoEdge AI Studio install/activation troubleshooting

Common causes for issues during the install and activation process, are network communication problems. 1. Checklist, in order of importance Antivirus silently blocking network connectionsProxy with incorrect settings (try with no proxy first)VPN bl...

Untitled.png image.png
Julian E. by ST Employee
  • 2703 Views
  • 0 comments
  • 1 kudos

How to clone a dual core project in STM32CubeIDE

This article presents a quick guidance on how to clone an existing dual core project for any STM32 dual core MCU. Introduction In this article, a few steps are presented as guidance to copy/clone an existing dual core project for the STM32H7 series....

BMontanari_0-1702562007742.png BMontanari_1-1702562007744.png BMontanari_2-1702562007744.png BMontanari_3-1702562007745.png