English
Language : 

ATXMEGA256A3BU Datasheet, PDF (43/143 Pages) ATMEL Corporation – 8/16-bit Atmel XMEGA A3BUMicrocontroller
24. SPI – Serial Peripheral Interface
24.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
24.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.
XMEGA A3BU [DATASHEET]
43
8362F–AVR–02/2013