32-Bit ARM® Cortex™-M0+ MCU
HT32F52220/HT32F52230
Universal Asynchronous Receiver Transmitter – UART
Asynchronous serial communication operating baud-rate up to (fPCLK/16) MHz
Full duplex communication
■
■
■
Fully programmable serial communication characteristics including:
● Word length: 7, 8, or 9-bit character
● Parity: Even, odd, or no-parity bit generation and detection
● Stop bit: 1 or 2 stop bit generation
● Bit order: LSB-first or MSB-first transfer
Error detection: Parity, overrun and frame error
■
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 commonly used for RS232 standard communication. The UART peripheral
function supports Line Status Interrupt. The software can detect a UART error status by reading
the Line Status Register, LSR. The status includes the type and the condition of transfer operations
as well as several error conditions resulting from Parity, Overrun, Framing and Break events.
Debug Support
Serial Wire Debug Port – SW-DP
■
■
■
4 comparators for hardware breakpoint or code / literal patch
2 comparators for hardware watchpoints
Package and Operation Temperature
24/28-pin SSOP, 33-pin QFN package
■
■
Operation temperature range: -40°C to +85°C
Rev. 1.21
13 of 39
April 11, 2017