19. SPI – Serial Peripheral Interface
19.1
Features
19.2
Overview
8271D–AVR–05/11
ATmega48A/PA/88A/PA/168A/PA/328/P
•
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 synchronous data transfer between the
ATmega48A/PA/88A/PA/168A/PA/328/P and peripheral devices or between several AVR
devices.
The USART can also be used in Master SPI mode, see "USART in SPI Mode" on page 206. The
PRSPI bit in
"Minimizing Power Consumption" on page 43
module.
must be written to zero to enable SPI
168
Need help?
Do you have a question about the ATmega48A and is the answer not in the manual?
Questions and answers