Microchip Technology MA320001 Data Sheet

Page of 214
© 2011 Microchip Technology Inc.
DS61143H-page 115
PIC32MX3XX/4XX
19.0
UNIVERSAL ASYNCHRONOUS 
RECEIVER TRANSMITTER 
(UART)
The UART module is one of the serial I/O modules
available in PIC32MX3XX/4XX 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 1.2 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.
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 20 Mbps at 80 
MHz
• 4-level-deep First-In-First-Out (FIFO) Transmit 
Data Buffer
• 4-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
 illustrates a simplified block diagram of the
UART.
FIGURE 19-1:
UART SIMPLIFIED BLOCK DIAGRAM 
Note
1: This data sheet summarizes the features
of the PIC32MX3XX/4XX 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) of the “PIC32 Family
Reference Manual”
,  which is available
from the Microchip web site
(
www.microchip.com/PIC32
).
2: Some registers and associated bits
described in this section may not be
available on all devices. Refer to
 in
this data sheet for device-specific register
and bit information.
Baud Rate Generator
UxRX
Hardware Flow Control
UARTx Receiver
UARTx Transmitter
UxTX
UxCTS
UxRTS
BCLKx
IrDA
®