You are on page 1of 2

STM32 USART / UART Tutorial

In this tutorial will be discussing the USART/UART hardware in stm32 microcontrollers

Starting withan introduction to uart serial communication an well get a closer look at the stm32usart
hardware module and it’s internal fonctionalities mode of operation option and configutation in
conclution well take a look at the possible interrupt signal that can be triggered by the USART
hardware and that’s it for this theoretical tutorial.

Next we’ll do a coupleof LABs to practice using UART in different in different projects for
communication or even debugging

1. Introduction to UART
UART (universal Asynchronous receiver transmitter) of short represents the hardware circuitry being
used for serial communication UART is sold/shipped as a standalone integrated circuit (IC)or as an
internal module within microcontrollers in this tutorial were actually cioncerned with the internal
uart module wwithin stm32 microcontroller

There are actually two forms of UART hardware as follows

UART : universal asynchronous receiver transmitter

USART : universal synchronous receiver transmitter


The synchronous type of transmitters generate the data clock and sends it to the receiver which
works accordingly in a synchronized manner on the other hand

The ansynchronous type of transmitter generates the data clock signal so in order to acheive
proper communication between the tow ends , both of them must be using the same baud rate

2. STM32 USART Highlights


The unversal synchronous asynchronous receiver transmitter (USART) of flexible mens of full full
duplex data exchange with external equipement requiring an industry standard NRZ (no return to
zero)asynchronous serial data format

The usart offers a verry wide range of baude rate using a fractional baude rate generator.

It support synchronous one way communication and half duplex single wire communication

It also supports the LIN (local interconnexion network), smartcard protocol and IrDA(infrared data
association )Sir ENDEC specification and modem operation (CTS/RTS)it allows multiprocessor
communication hight speed data communication hight data communication is possible by using the
DMA for multibuffer configuration

STM32 USART main features

You might also like