Universal synchronous asynchronous receiver transmitter (USART) RM0008
610/690
24 Universal synchronous asynchronous receiver
transmitter (USART)
Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes.
High-density devices are STM32F101xx and STM32F103xx microcontrollers where the
Flash memory density ranges between 256 and 512 Kbytes.
This Section applies to the whole STM32F10xxx family, unless otherwise specified.
24.1 Introduction
The universal synchronous asynchronous receiver transmitter (USART) offers a flexible
means of full-duplex data exchange with external equipment requiring an industry standard
NRZ asynchronous serial data format. The USART offers a very wide range of baud rates
using a fractional baud rate generator.
It supports synchronous one-way communication and half-duplex single wire
communication. It also supports the LIN (local interconnection network), Smartcard Protocol
and IrDA (infrared data association) SIR ENDEC specifications, and modem operations
(CTS/RTS). It allows multiprocessor communication.
High speed data communication is possible by using the DMA for multibuffer configuration.
24.2 USART main features
● Full duplex, asynchronous communications
● NRZ standard format (Mark/Space)
● Fractional baud rate generator systems
– A common programmable transmit and receive baud rates up to 4.5 MBits/s
● Programmable data word length (8 or 9 bits)
● Configurable stop bits - support for 1 or 2 stop bits
● LIN Master Synchronous Break send capability and LIN slave break detection
capability
– 13-bit break generation and 10/11 bit break detection when USART is hardware
configured for LIN
● Transmitter clock output for synchronous transmission
● IrDA SIR Encoder Decoder
– Support for 3/16 bit duration for normal mode
● Smartcard Emulation Capability
– The Smartcard interface supports the asynchronous protocol Smartcards as
defined in ISO 7816-3 standards
– 0.5, 1.5 Stop Bits for Smartcard operation
● Single wire Half Duplex Communication