...the world's most energy friendly microcontrollers
2014-07-02 - Tiny Gecko Family - d0034_Rev1.20
179
www.silabs.com
15 USART - Universal Synchronous Asynchronous
Receiver/Transmitter
0 1 2 3
4
USART
RX/
MISO
TX/
MOSI
DMA
cont roller
RAM
CLK
CS
EFM32
SPI
USART
Sm art Cards
IrDA
Quick Facts
What?
The USART handles high-speed UART, SPI-
bus, SmartCards, and IrDA communication.
Why?
Serial communication is frequently used in
embedded systems and the USART allows
efficient communication with a wide range of
external devices.
How?
The USART has a wide selection of operating
modes, frame formats and baud rates. The
multi-processor mode allows the USART
to remain idle when not addressed. Triple
buffering and DMA support makes high data-
rates possible with minimal CPU intervention
and it is possible to transmit and receive large
frames while the MCU remains in EM1.
15.1 Introduction
The Universal Synchronous Asynchronous serial Receiver and Transmitter (USART) is a very flexible
serial I/O module. It supports full duplex asynchronous UART communication as well as RS-485, SPI,
MicroWire and 3-wire. It can also interface with ISO7816 SmartCards, and IrDA devices.
15.2 Features
• Asynchronous and synchronous (SPI) communication
• Full duplex and half duplex
• Separate TX/RX enable
• Separate receive / transmit 2-level buffers, with additional separate shift registers
• Programmable baud rate, generated as an fractional division from the peripheral clock
(HFPERCLK
USARTn
)
• Max bit-rate
• SPI master mode, peripheral clock rate/2
• SPI slave mode, peripheral clock rate/8
• UART mode, peripheral clock rate/16, 8, 6, or 4
• Asynchronous mode supports
• Majority vote baud-reception
• False start-bit detection
• Break generation/detection
• Multi-processor mode
• Synchronous mode supports
• All 4 SPI clock polarity/phase configurations
• Master and slave mode
• Data can be transmitted LSB first or MSB first
• Configurable number of data bits, 4-16 (plus the parity bit, if enabled)
Summary of Contents for EFM32TG
Page 543: ......