PIC32MX1XX/2XX
The primary features of the UART module are:
18.0 UNIVERSAL ASYNCHRONOUS
RECEIVER TRANSMITTER
(UART)
• Full-duplex, 8-bit or 9-bit data transmission
• Even, Odd or No Parity options (for 8-bit data)
• One or two Stop bits
Note 1: This data sheet summarizes the features
of the PIC32MX1XX/2XX 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)” (DS61107) in the “PIC32 Family
Reference Manual”, which is available
• Hardware auto-baud feature
• Hardware flow control option
• Fully integrated Baud Rate Generator (BRG) with
16-bit prescaler
• Baud rates ranging from 38 bps to 10 Mbps at 40
MHz
• 8-level deep First-In-First-Out (FIFO) transmit
data buffer
from
the
Microchip
web
site
• 8-level deep FIFO receive data buffer
(www.microchip.com/PIC32).
• Parity, framing and buffer overrun error detection
2: Some registers and associated bits
described in this section may not be
available on all devices. Refer to
Section 4.0 “Memory Organization” in
this data sheet for device-specific register
and bit information.
• 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
The UART module is one of the serial I/O modules
available in PIC32MX1XX/2XX family 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 and IrDA®. The module also sup-
ports the hardware flow control option, with UxCTS and
UxRTS pins, and also includes an IrDA encoder and
decoder.
Figure 18-1 illustrates a simplified block diagram of the
UART.
FIGURE 18-1:
UART SIMPLIFIED BLOCK DIAGRAM
Baud Rate Generator
IrDA®
UxRTS/BCLKx
UxCTS
Hardware Flow Control
UARTx Receiver
UxRX
UxTX
UARTx Transmitter
Note:
Not all pins are available for all UART modules. Refer to the device-specific pin diagram for more information.
© 2011-2012 Microchip Technology Inc.
Preliminary
DS61168D-page 179