32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F50231/HT32F50241
22
Universal Asynchronous Receiver
Transmitter (UART)
Introduction
The Universal Asynchronous Receiver Transceiver, UART, provides a flexible full duplex data
exchange using asynchronous transfer. The UART is used to translate data between parallel and
serial interfaces, and is also commonly used for RS232 standard communication. The UART
peripheral function supports a variety of interrupts.
The UART module includes a transmit data register TDR and transmit shift register TSR, and a
receive data register RDR and receive shift register RSR. Software can detect a UART error status
by reading the UART Status & Interrupt Flag Register, URSIFR. The status includes the condition
of the transfer operations as well as several error conditions resulting from Parity, Overrun,
Framing and Break events.
The UART includes a programmable baud rate generator which is capable of dividing the UART
clock of the CK_APB (CK_UART) to produce a baud rate clock for the UART transmitter and
receiver.
CK_UART
APB
Interface
UART Control and
Configuration
UART
Interrupt
Figure 173. UART Block Diagram
Rev. 1.00
Transmit Data Register (TDR)
Transmit Shift Register (TSR)
Receive Shift Register (RSR)
Registers
Receive Data Register (RDR)
Baud Rate
Generator
465 of 486
TXD
RXD
Reference
Divisor Clock
Clock
TX
UART I/O
RX
July 31, 2018
Need help?
Do you have a question about the HT32F50231 and is the answer not in the manual?
Questions and answers