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 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
  • 24055 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

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

How to clone a dual core project in STM32CubeIDE

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

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

How to create a LoRaWAN server on local PC (1/2)

The usual free offer for a LoRaWAN server usually consists of only one network with up to 10 devices per registration. So the purpose of this tutorial is to show, that the Network server of the LoRaWAN network can be quite simple and running on a loc...

26.jpg 27.png 28.png 29.png

How to install STM32CubeIDE on Mac with M1 core

This article describes how to install STM32CubeIDE on a Mac with M1 core using Big Sur operating system and Rosetta 2.   1. Background Current version of STM32CubeIDE is built to run on Intel x86_64 processors with the following operating systems an...

758.png 759.png 760.jpg 761.png
EJOHA by Senior
  • 39256 Views
  • 4 comments
  • 1 kudos

How to use SRAM Parity in your application

Many of our microcontrollers provide the option to enable a parity check on SRAM via the option bytes. This feature becomes particularly useful when trying to get your product certified for safety critical applications, as without the parity check it...

1325.png 1327.png 1328.png 1330.png