English
Language : 

ATXMEGA384C3_14 Datasheet, PDF (41/125 Pages) ATMEL Corporation – 8/16-bit Atmel XMEGA C3 Microcontroller
23. SPI – Serial Peripheral Interface
23.1
Features
• Two Identical SPI peripherals
• Full-duplex, three-wire synchronous data transfer
• Master or slave operation
• Lsb first or msb first data transfer
• Eight programmable bit rates
• Interrupt flag at the end of transmission
• Write collision flag to indicate data collision
• Wake up from idle sleep mode
• Double speed master mode
23.2
Overview
The Serial Peripheral Interface (SPI) is a high-speed synchronous data transfer interface using three or four pins. It
allows fast communication between an Atmel AVR XMEGA device and peripheral devices or between several
microcontrollers. The SPI supports full-duplex communication.
A device connected to the bus must act as a master or slave. The master initiates and controls all data transactions.
PORTC and PORTD each has one SPI. Notation of these peripherals are SPIC and SPID, respectively.
XMEGA C3 [DATASHEET]
41
Atmel-8361F-AVR-ATxmega384C3-Datasheet–11/2014