Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Hoja De Datos
Los códigos de productos
ATSAMD21-XPRO
420
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
24.
SERCOM – Serial Communication Interface
24.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.
modes possible.
24.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
z
Can be used with DMA
24.3 Block Diagram
Figure 24-1. SERCOM Block Diagram
24.4 Signal Description
See the respective SERCOM mode chapters for details:
z
z
z
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]