
How to program and debug the STM32 using the Arduino IDE
Nov 20, 2023 · Select “Contributed” type, search for "STM32 MCU based boards" and install: 3.2 Selecting the STM32 microcontroller. After the installation is complete, close the board manager and go to Tools > Board > STM32 MCU based boards. A list of STM32 MCUs appears, so you can choose between Nucleo, Discovery and Evaluation boards, or generic STM32 MCUs.
Home - STMicroelectronics Community
Welcome to the ST Community! Looking for solutions and tips to overcome your design challenges? You're in the right place!
How to use VS Code with STM32 microcontrollers
Nov 25, 2024 · 2.1. Setting up the STM32 VS Code Extension. First, you’ll need to download the STM32VSCode extension. This is done through the VS Code application with your PC connected to the internet. 1. In the VS Code application, open [Extensions] (Ctrl + Shift + X). 2. Install the [STM32 VS Code Extension]. It will look like this picture below.
Part 1: Introduction to the STM32 microcontroller ...
Jan 15, 2024 · IntroductionIn this article, you are introduced to the basics of the STM32 clock system. Furthermore, the tools that are used to easily configure the STM32 clock system. We split the article into two parts. Part two will discuss additional features and terms. If you would like to skip to part two, c...
How to use the STM32 ADC's internal reference voltage
Jan 30, 2024 · 3. Using VREF internal in the application. The HAL libraries make the usage of VREF internal quite simple. In this example, I am using a simple polling method to get the ADC readings, but this could be implemented using interrupts or DMA as well.
How to find STM32 board schematics - STMicroelectronics …
Dec 8, 2024 · Many STM32 users start their development based on one of ST boards either to evaluate the STM32 MCU or to get the proof of concept of their application. One of the first steps to do in the evaluation process is to look at the board schematics. This lets you check the power supply, the I/O ports numbers, the exposed I/Os of a given peripheral etc.
Helpful tips on using VS Code with STM32
Jan 15, 2025 · Summary This article highlights some tips on using VS Code with STM32. In this article, we cover the following: Performing a clean build of your project and deleting the cache Adding source files, directories, and include files to your VS Code project Importing projects from STM32CubeIDE to VS Code...
How to utilize STM32 system (ROM) bootloader commands
Dec 4, 2023 · 1. System (ROM) bootloader The system bootloader is present on all STM32 MCUs. As the name suggests, it is located on the system memory (ROM) area of the MCU. The system bootloader is located on the read only portion of the memory and is programmed during the manufacturing phase. In popular literatu...
How to obtain and use the STM32 96-bit UID - STMicroelectronics
Jan 30, 2024 · 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 them. 1. 96-bit unique ID. …
How to use the ST Open Bootloader for STM32 Microcontrollers
Nov 30, 2021 · ST Open Bootloader is example application code for STM32 microcontrollers providing In-Application programming (IAP) and is offered in the STM32Cube MCU Packages and GitHub. It is fully compatible with the STM32 System Bootloader and supports the same communication interfaces and commands and can also be used with the …