STM32 MCUs
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

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?

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

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

How to calculate and generate post-build CRC

How to calculate and generate post-build CRC? 1.  Cyclic Redundancy Check Cyclic Redundancy Check (CRC) is an error detection method for digital data based on binary division.CRC algorithm generates a fixed checksum code length.  2. How to calculate ...

1541.png 1542.png 1543.png 1544.png
LauraCx by ST Employee
  • 9505 Views
  • 1 comments
  • 1 kudos

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

How does the event flag work on STM32? Part 2

How does the event flag work on STM32? Part2This is the part 2 of the article to explain How the Event Flag work on STM32 with a working example. Welcome back!1. MATERIALS:To develop this article’s demo, the following materials were necessary:- STM32...

208.png 210.png 212.png 213.png

How does the event flag work on STM32? Part 3

How does the event flag work on STM32? Part 3This is the part 3 of the article to explain How the Event Flag work on STM32 with a working example. Welcome back! After generation, locate and open the app_threadx.c file. There is inside Core → Src fold...

227.png 229.png 231.png 232.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 Associate
  • 922 Views
  • 0 comments
  • 1 kudos

Using Timers to Trigger ADC conversions periodically

Some applications require periodic sampling of analog signals using an ADC (Analog to Digital Converter) for digital signal processing. The objective of this article is to explain how to configure an STM32 Timer to trigger ADC conversions at a config...

1923.jpg 1926.png 1929.png 1931.png

Azure IoT Central B-U585I-IOT02A Notification Setup

Tutorial: Create a rule and set up notifications in your Azure IoT Central application for the STM32U5 board.Tutorial: Create a rule and set up notifications in your Azure IoT Central application for the STM32U5 Board Introduction:In this article, we...

1392.png 1393.png 1394.png 1395.png