5.6.1 Universal Synchronous and Asynchronous Serial Receiver and Transmitter (USART)

AVR and PIC32CM MCUs provide highly flexible and robust USART peripherals. Both USART variants support buffered communication, interrupt-driven operation, and operation in low-power modes, making them suitable for a variety of embedded communication needs. Table 5-21 shows a comparison of features between AVR and PIC32CM.

Table 5-21. AVR® and PIC32CM UART Features
FeatureAVR® USARTPIC32CM USART (SERCOM)
IntegrationStand-alone USART peripheralMode in SERCOM (Serial Communications) peripheral
Operation Modes

Full-duplex

Half-duplex synchronous/asynchronous

Full-duplex

Half-duplex

Synchronous/asynchronous

Protocol/ Standard Support

IrDA®

LIN client

SPI host

RS-485

Varies per device family:

IrDA®

LIN host/client

ISO 7816 (smart card)

RS-485

Buffer/FIFOTwo-level transmit/receive buffer16-byte transmit/receive FIFO
Baud Rate GenerationFractional, from any peripheral clockBaud rate generator, internal/external clock
Data Bits5, 6, 7, 8, 95, 6, 7, 8, 9
Stop BitsOne or twoOne or two
ParityOdd, even, noneOdd, even, none
Data OrderN/ALSb or MSb first selectable
Flow ControlN/ARequest-to-Send (RTS) and Clear-to-Send (CTS) hardware flow control
DMA SupportN/ASupported
Error Detection

Parity

Buffer overflow

Frame error

Noise filtering

Parity

Buffer overflow

Frame error

Noise filtering

Collision detection

Sleep Mode OperationSupportedSupported
InterruptsSeparate for TX complete, TX data empty, RX completeMultiple, including FIFO events
Pin MappingFixedFlexible