Datasheet

2009-2016 Microchip Technology Inc. DS60001156J-page 203
PIC32MX5XX/6XX/7XX
20.0 UNIVERSAL ASYNCHRONOUS
RECEIVER TRANSMITTER
(UART)
The UART module is one of the serial I/O modules
available in the PIC32MX5XX/6XX/7XX family of
devices. The UART is a full-duplex, asynchronous
communication channel that communicates with
peripheral devices and personal computers through
protocols, such as RS-232, RS-485, LIN 1.2 and IrDA
®
.
The module also supports the hardware flow control
option, with UxCTS and UxRTS pins, and also includes
an IrDA encoder and decoder.
The following are primary features of the UART
module:
Full-duplex, 8-bit or 9-bit data transmission
Even, Odd or No Parity options (for 8-bit data)
One or two Stop bits
Hardware auto-baud feature
Hardware flow control option
Fully integrated Baud Rate Generator (BRG) with
16-bit prescaler
Baud rates ranging from 76 bps to 20 Mbps at
80 MHz
8-level deep First-In-First-Out (FIFO) transmit
data buffer
8-level deep FIFO receive data buffer
Parity, framing and buffer overrun error detection
Support for interrupt-only on address detect
(ninth bit = 1)
Separate transmit and receive interrupts
Loopback mode for diagnostic support
LIN 2.1 Protocol support
IrDA encoder and decoder with 16x baud clock
output for external IrDA encoder/decoder support
Figure 20-1 illustrates a simplified block diagram of the
UART module.
FIGURE 20-1: UART SIMPLIFIED BLOCK DIAGRAM
Note: This data sheet summarizes the features
of the PIC32MX5XX/6XX/7XX family of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this data
sheet, refer to Section 21. “Universal
Asynchronous Receiver Transmitter
(UART)” (DS60001107) in the “PIC32
Family Reference Manual”, which is avail-
able from the Microchip web site
(www.microchip.com/PIC32).
Baud Rate Generator
UxRX
Hardware Flow Control
UARTx Receiver
UARTx Transmitter
UxTX
UxCTS
UxRTS
BCLKx
IrDA
®
Note: Not all pins are available for all UART modules. Refer to the device-specific pin diagram for more information
(see “Device Pin Tables”).