STM32 UART: Register Configuration, Transmission and Reception

This tutorial will teach you have to configure UART (USART) registers of an STM32 microcontroller to get the UART peripheral up and running. The tutorial will then show how to write transmission and reception functions for the UART peripheral to enable communication between the microcontroller and other devices using this serial protocol. Finally, the tutorial will demonstrate how the microcontroller communicates using UART, transmitting data to, and receiving data from a computer. The tutorial covers the registers in sufficient detail to help you understand why a specific bit is set or cleared in the registers. The microcontroller used is the STM32L432KC but the registers, programming, and configuration is the same (or similar) across the stm32 boards. Source code for this tutorial is available at: https://github.com/Z-The-Programmer/S... Timestamps: 00:00 - Pin Configuration 03:25 - Control Register 1 08:57 - Control Register 2 11:23 - Control Register 3 14:47 - Setting Baud Rate 15:58 - Enabling The Peripheral 16:22 - Receiving Data 17:31 - Transmitting Data 18:54 - Demonstration Of The Driver