
Rev. 1.00
440 of 486
July 31, 2018
32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
20 Serial Peripheral Interface (SPI)
21 Universal Synchronous
Asynchronous Receiver T
ransmitter (USART)
21
Universal Synchronous Asynchronous
Receiver Transmitter (USART)
Introduction
The Universal Synchronous Asynchronous Receiver Transceiver, USART, provides a flexible
full duplex data exchange using synchronous or asynchronous transfer. The USART is used to
translate data between parallel and serial interfaces, and is also commonly used for RS232 standard
communication. The USART peripheral function supports a variety of interrupts.
The USART module includes an 8-byte transmit FIFO, TX FIFO, and an 8-byte receive FIFO,
RX FIFO. Software can detect a USART error status by reading USART Status & Interrupt Flag
Register, USRSIFR. The status includes the condition of the transfer operations as well as several
error conditions resulting from Parity, Overrun, Framing and Break events.
The USART includes a programmable baud rate generator which is capable of dividing the USART
clock of the CK_APB (CK_USART) to produce a baud rate clock for the USART transmitter and
receiver.
APB
Interface
USART
Interrupt
CK_USART
RX
TX
Reference
Divisor Clock
IrDA _EN
CTS
RTS
Transmit FIFO
Transmit Shift Register
Receive Shift Register
Receive FIFO
Baud Rate
Clock
Generator
USART I/O
and IrDA
USART Control
and
Configuration
Registers
TXD
RXD
Figure 162. USART Block Diagram