GD32F10x User Manual
428
16.
Universal
synchronous/asynchronous
receiver
/transmitter (USART)
16.1.
Overview
The Universal Synchronous/Asynchronous Receiver/Transmitter (USART) provides a flexible
serial data exchange interface. Data frames can be transferred in full duplex or half duplex
mode, synchronously or asynchronously through this interface. A programmable baud rate
generator divides the UCLK to produce a dedicated baud rate lock for the USART transmitter
and receiver.
Besides the standard asynchronous receiver and transmitter mode, the USART implements
several other types of serial data exchange modes, such as IrDA (infrared data association)
SIR mode, smartcard mode, LIN (local interconnection network) mode, half-duplex mode and
synchronous mode. It also supports multiprocessor communication mode, and hardware flow
control protocol (CTS/RTS).
The USART supports DMA function for high-speed data communication, except UART4.
16.2.
Characteristics
NRZ standard format.
Asynchronous, full duplex communication.
Programmable baud-rate generator.
–
Divided from the peripheral clocks, PCLK2 for USART0, PCLK1 for USART1/2 and
UART3/4.
–
Oversampling by 16.
–
Maximum speed up to 6.75 MBits/s (PCLK2 108M and oversampling by 16).
Fully programmable serial interface characteristics:
–
Even, odd or no-parity bit generation/detection.
–
A data word length can be 8 or 9 bits.
–
0.5, 1, 1.5 or 2 stop bit generation.
Transmitter and receiver can be enabled separately.
Hardware flow control protocol (CTS/RTS).
DMA request for data buffer access.
LIN break generation and detection.
IrDA support.
Synchronous mode and transmitter clock output for synchronous transmission.
ISO 7816-3 compliant smartcard interface.
–
Character mode (T=0).
Multiprocessor communication.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...