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 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
  • 2941 Views
  • 0 comments
  • 3 kudos

How to implement a non-blocking scanf function

How to implement a nonblocking 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 s...

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

STM32 UART DMA RX/TX

STM32 UART DMA RX/TXThis 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 ...

How can I add TraceX support in STM32CubeIDE?

To add TraceX support to a STM32CubeIDE project and properly use it you’ll need to follow a few steps, described in detail in this article. Goal: Add TraceX support to STM32CubeIDE using X-CUBE-AZRTOS-H7Although the example is using the NUCLEO-H723ZG...

154.png 155.png 157.png 159.png

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)

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

STM32WB stack update overwrite M4 application

Why does STM32CubeProgrammer erase/overwrite data (Cortex-M4 application) at flash address (0x08000000) during STM32WB Stack update over SWD?1. FUS can be managed only from internal bootloader or internal memory If SWD is used (means no-bootloader), ...

119.png

Connect the B-U585I-IOT20A board to Azure IoT Hub

Simple tutorial to connect the B-U585I-IOT20A Development kit to Azure IoT Hub.Introduction:In this article, we connect the B-U5U5I-IOT20A discovery board to Azure IoT Hub. IoT Hub is a cloud-hosted application that allows you to communicate with yo...

1401.jpg 1404.jpg 1406.png 1408.png

Getting started with the STM32U5 IoT Node and Azure IoT and AWS

This article provides the necessary information for getting started with the B-U585I-IOT02A IoT Node with Azure IoT and AWS IoT Core1- Hardware The B-U585I-IOT02A Discovery kit provides a complete demonstration and development platform for the STM32U...

593.png
Slim.J by ST Employee
  • 1376 Views
  • 0 comments
  • 1 kudos