362
32099I–01/2012
AT32UC3L016/32/64
19. Universal Synchronous Asynchronous Receiver Transmitter (USART)
Rev: 4.4.0.6
19.1
Features
Configurable baud rate generator
5- to 9-bit full-duplex, synchronous and asynchronous, serial communication
– 1, 1.5, or 2 stop bits in asynchronous mode, and 1 or 2 in synchronous mode
– Parity generation and error detection
– Framing- and overrun error detection
– MSB- or LSB-first
– Optional break generation and detection
– Receiver frequency over-sampling by 8 or 16 times
– Optional RTS-CTS hardware handshaking
– Receiver Time-out and transmitter Timeguard
– Optional Multidrop mode with address generation and detection
SPI Mode
– Master or slave
– Configurable serial clock phase and polarity
– CLK SPI serial clock frequency up to a quarter of the CLK_USART internal clock frequency
LIN Mode
– Compliant with LIN 1.3 and LIN 2.0 specifications
– Master or slave
– Processing of Frames with up to 256 data bytes
– Configurable response data length, optionally defined automatically by the Identifier
– Self synchronization in slave node configuration
– Automatic processing and verification of the “Break Field” and “Sync Field”
– The “Break Field” is detected even if it is partially superimposed with a data byte
– Optional, automatic identifier parity management
– Optional, automatic checksum management
– Supports both “Classic” and “Enhanced” checksum types
– Full LIN error checking and reporting
– Frame Slot Mode: the master allocates slots to scheduled frames automatically.
– Wakeup signal generation
Test Modes
– Automatic echo, remote- and local loopback
Supports two Peripheral DMA Controller channels
– Buffer transfers without processor intervention
19.2
Overview
The Universal Synchronous Asynchronous Receiver Transceiver (USART) provides a full
duplex, universal, synchronous/asynchronous serial link. Data frame format is widely configu-
rable, including basic length, parity, and stop bit settings, maximizing standards support. The
receiver implements parity-, framing-, and overrun error detection, and can handle un-fixed
frame lengths with the time-out feature. The USART supports several operating modes, provid-
ing an interface to, LIN, and SPI buses and infrared transceivers. Communication with slow and
remote devices is eased by the timeguard. Duplex multidrop communication is supported by
address and data differentiation through the parity bit. The hardware handshaking feature
enables an out-of-band flow control, automatically managing RTS and CTS pins. The Peripheral
DMA Controller connection enables memory transactions, and the USART supports chained