User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 583
UG585 (v1.11) September 27, 2016
Chapter 19
UART Controller
19.1 Introduction
The UART controller is a full-duplex asynchronous receiver and transmitter that supports a wide
range of programmable baud rates and I/O signal formats. The controller can accommodate
automatic parity generation and multi-master detection mode.
The UART operations are controlled by the configuration and mode registers. The state of the FIFOs,
modem signals and other controller functions are read using the status, interrupt status and modem
status registers.
The controller is structured with separate Rx and Tx data paths. Each path includes a 64-byte FIFO.
The controller serializes and de-serializes data in the Tx and Rx FIFOs and includes a mode switch to
support various loopback configurations for the RxD and TxD signals. The FIFO interrupt status bits
support a polling or interrupt driven handler. Software reads and writes data bytes using the Rx and
Tx data port registers.
When the UART is being used in a modem-like application, the modem control module detects and
generates the modem handshake signals and also controls the receiver and transmitter paths
according to the handshaking protocol.
19.1.1 Features
Each UART controller (UART 0 and UART 1) has the following features:
Programmable baud rate generator
64-byte receive and transmit FIFOs
Programmable protocol:
°
6, 7, or 8 data bits
°
1, 1.5, or 2 stop bits
°
Odd, even, space, mark, or no parity
Parity, framing and overrun error detection
Line-break generation
Interrupts generation
RxD and TxD modes: Normal/echo and diagnostic loopbacks using the mode switch