31.
SERCOM – Serial Communication Interface
31.1. Overview
There are up to six instances of the serial communication interface (SERCOM) peripheral.
A SERCOM can be configured to support a number of modes: I
2
C, SPI, and USART. When SERCOM is
configured and enabled, all SERCOM resources will be dedicated to the selected mode.
The SERCOM serial engine consists of a transmitter and receiver, baud-rate generator and address
matching functionality. It can use the internal generic clock or an external clock to operate in all sleep
modes.
Related Links
SERCOM USART – SERCOM Universal Synchronous and Asynchronous Receiver and Transmitter
on page 601
SERCOM SPI – SERCOM Serial Peripheral Interface
on page 645
SERCOM I2C – SERCOM Inter-Integrated Circuit
on page 678
SERCOM USART and I2C Configurations
on page 30
31.2. Features
•
Interface for configuring into one of the following:
–
I
2
C – Two-wire serial interface
SMBus
™
compatible
–
SPI – Serial peripheral interface
–
USART – Universal synchronous and asynchronous serial receiver and transmitter
•
Single transmit buffer and double receive buffer
•
Baud-rate generator
•
Address match/mask logic
•
Operational in all sleep modes
•
Can be used with DMA
See the Related Links for full feature lists of the interface configurations.
Related Links
SERCOM USART – SERCOM Universal Synchronous and Asynchronous Receiver and Transmitter
SERCOM SPI – SERCOM Serial Peripheral Interface
on page 645
SERCOM I2C – SERCOM Inter-Integrated Circuit
on page 678
SERCOM USART and I2C Configurations
on page 30
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
592