Datasheet
2011-2012 Microchip Technology Inc. DS75018C-page 219
dsPIC33FJ06GS001/101A/102A/202A and dsPIC33FJ09GS302
18.0 UNIVERSAL ASYNCHRONOUS
RECEIVER TRANSMITTER
(UART)
The Universal Asynchronous Receiver Transmitter
(UART) module is a serial I/O module. The UART is a
full-duplex, asynchronous system that can communicate
with peripheral devices, such as personal computers,
LIN/J2602, RS-232 and RS-485 interfaces. The module
also supports a hardware flow control option with the
U1CTS
and U1RTS 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
through the U1TX and U1RX pins
• Even, Odd or No Parity options (for 8-bit data)
• One or two Stop bits
• Hardware flow control option with U1CTS
and
U1RTS
pins
• Fully integrated Baud Rate Generator (BRG) with
16-bit prescaler
• Baud rates ranging from 10 Mbps to 38 bps at
40 MIPS
• 4-deep First-In First-Out (FIFO) transmit data
buffer
• 4-deep FIFO receive data buffer
• Parity, framing and buffer overrun error detection
• Support for 9-bit mode with address detect
(9th bit = 1)
• Transmit and Receive interrupts
• Separate interrupt for all UART error conditions
• Loopback mode for diagnostic support
• Support for Sync and Break characters
• Support for automatic baud rate detection
• IrDA encoder and decoder logic
• 16x baud clock output for IrDA
®
support
A simplified block diagram of the UART module is
shown in Figure 18-1. The UART module consists of
these key hardware elements:
•BRG
• Asynchronous transmitter
• Asynchronous receiver
FIGURE 18-1: UART SIMPLIFIED BLOCK DIAGRAM
Note 1: This data sheet summarizes the features
of the dsPIC33FJ06GS001/101A/102A/
202A and dsPIC33FJ09GS302 family of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this data
sheet, refer to Section 17. “UART”
(DS70188) in the “dsPIC33F/PIC24H
Family Reference Manual”, which is
available on the Microchip web site
(www.microchip.com).
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.
Note: The dsPIC33FJ06GS001 device does not
have a UART module.
U1RX
Hardware Flow Control
UART Receiver
UART Transmitter
U1TX
Baud Rate Generator
U1RTS/BCLK
IrDA
®
U1CTS