Professional Documents
Culture Documents
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
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
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