Datasheet

Table Of Contents
329
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
23. SERCOM – Serial Communication Interface
23.1 Overview
The serial communication interface (SERCOM) can be configured to support a number of modes; I
2
C, SPI and USART.
Once configured and enabled, all SERCOM resources are dedicated to the selected mode.
The SERCOM serial engine consists of
a transmitter and receiver, baud-rate generator and address matching
functionality. It can be configured to use the internal generic clock or an external clock, making operation in all sleep
modes possible.
23.2 Features
z Combined interface configurable as one of the following:
z I
2
C – Two-wire serial interface
z SMBus
compatible.
z SPI – Serial peripheral interface
z USART – Universal synchronous and asynchronous serial receiver and transmitter
z Single transmit buffer and double receive buffer
z Baud-rate generator
z Address match/mask logic
z Operational in all sleep modes
23.3 Block Diagram
Figure 23-1. SERCOM Block Diagram
23.4 Signal Description
See the respective SERCOM mode chapters for details:
z “SERCOM USART – SERCOM Universal Synchronous and Asynchronous Receiver and Transmitter” on page
337
z “SERCOM SPI – SERCOM Serial Peripheral Interface” on page 362
z “SERCOM I2C – SERCOM Inter-Integrated Circuit” on page 387
TX/RX DATA
CONTROL/STATUS
Mode n
SERCOM
BAUD/ADDR
Transmitter
Register Interface
Serial Engine
Receiver
Mode 0
Mode 1
Baud Rate
Generator
Address
Match
Mode Specific
PAD[3:0]