Datasheet

2015 Microchip Technology Inc. Preliminary DS60001320B-page 363
PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family
22.0 UNIVERSAL ASYNCHRONOUS
RECEIVER TRANSMITTER
(UART)
The UART module is one of the serial I/O modules
available in PIC32MZ EF devices. The UART is a
full-duplex, asynchronous communication channel
that communicates with peripheral devices and per
-
sonal computers through protocols, such as RS-232,
RS-485, LIN, 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 primary features of the UART module are:
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 25 Mbps at
100
MHz (PBCLK2)
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
(9th bit = 1)
Separate transmit and receive interrupts
Loopback mode for diagnostic support
LIN Protocol support
IrDA encoder and decoder with 16x baud clock
output for external IrDA encoder/decoder support
Figure 22-1 illustrates a simplified block diagram of the
UART module.
FIGURE 22-1: UART SIMPLIFIED BLOCK DIAGRAM
Note: This data sheet summarizes the features
of the PIC32MZ EF 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 available
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
®
PBCLK2