XMEGA A1
20. SPI - Serial Peripheral Interface
20.1 Features
20.2 Overview
• Four Identical SPI peripherals
• Full-duplex, Three-wire Synchronous Data Transfer
• Master or Slave Operation
• LSB First or MSB First Data Transfer
• Seven Programmable Bit Rates
• End of Transmission Interrupt Flag
• Write Collision Flag Protection
• Wake-up from Idle Mode
• Double Speed (CK/2) Master SPI Mode
The Serial Peripheral Interface (SPI) allows high-speed full-duplex, synchronous data transfer
between different devices. Devices can communicate using a master-slave scheme, and data is
transferred both to and from the devices simultaneously.
PORTC, PORTD, PORTE, and PORTF each has one SPI. Notation of these peripherals are
SPIC, SPID, SPIE, and SPIF, respectively.
37
8067L–AVR–08/10