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 change the Read Out protection on STM32F3

Introduction STM32F3 microcontrollers offer three levels of read-out protection: level 0 (no protection), level 1 (Flash memory, backup SRAM, and backup registers protected), and level 2 (same as level 1, but with permanent protection by locking the ...

332.png 333.png 335.png 336.png

How to change the Read Out protection on STM32F2

Introduction STM32F2 microcontrollers offer three levels of read-out protection: level 0 (no protection), level 1 (Flash memory, backup SRAM, and backup registers protected), and level 2 (same as level 1, but with permanent protection by locking the ...

307.png 309.png 310.png 311.png

How to change the Read Out Protection on STM32F1

Introduction STM32F1 microcontrollers offer three levels of read-out protection: level 0 (no protection), level 1 (Flash memory, backup SRAM, and backup registers protected), and level 2 (same as level 1, but with permanent protection by locking the ...

295.png 296.png 297.png 298.png

Getting started with the STM32U5 IoT Node and Azure IoT

Summary This article provides the necessary information for getting started with the B-U585I-IOT02A IoT Node with Azure IoT 1. Hardware The B-U585I-IOT02A discovery kit provides a complete demonstration and development platform for the STM32U585AI mi...

1414.png

Why do we need a bootloader in a microcontroller?

1. Programming without JTAG/SWD probes There are a few reasons a bootloader is needed in a microcontroller, including the main one: programming/updating the user application without the need of JTAG/SWD probes with the desired level of security neede...

How to use DMAMUX on the STM32 microcontrollers

1. Introduction DMAMUX is included in the latest STM32 microcontrollers (STM32H7/G0/G4/L4+/L5/WB/MP1 Series) and is an enhancement over the previous DMA controller, providing more flexibility and fully dynamic peripheral request mapping over pseudo-d...

1904.png 1905.png 1906.png 1907.png

How to configure swap bank on STM32H7 P2

How to configure swap bank on STM32H7? (Part 2) Following Part 1 Step 3: Building Binary file for Bank1 1. Add FLASH_BANK1 as preprocessor: Project Options> C/C++ Compiler > Preprocessor 2. Check that vector table settings are as following (Project O...

1666.png 1667.png 1668.png 1669.png
FBL by ST Employee
  • 3031 Views
  • 0 comments
  • 3 kudos

How to implement a non-blocking scanf function

1. Introduction This article shows how to implement and redirect the scanf function to the UART, in a nonblocking way. Therefore, was chosen that this function is working through tasks on FreeRTOS™ and so the main code is located at the FreeRTOS™ app...

471.png 472.png 473.png 474.png

STM32 UART DMA RX/TX

This is an application note and contains a list of examples about 2 distinct topics:   Receiving data with UART and DMA when application does not know in advance size of bytes to be receivedTransmitting data with UART and DMA to avoid CPU stalling an...

How to Control GPIO Pins with AWS Shadow

The following document will provide you with a brief overview of the basics of activating GPIO pins on the STM32U5 dev board to interact with a relay. This document will focus on the steps to configure the STM32U5 boards software to enable GPIO pins ...

1415.png 1416.png 1417.png 1418.png

How to implement USB Communication Device Class (CDC)

1. Communication of USB CDC in device mode For handling communication of USB CDC in device mode using legacy STM32 USB libraries are important 3 functions located in file usbd_cdc_if.c: CDC_Receive_xS - interrupt callback signaling received packet fr...