Spi – serial peripheral interface, 1 features, 2 overview – Rainbow Electronics ATmega64M1 User Manual
Page 154
Advertising

154
8209A–AVR–08/09
ATmega16M1/32M1/64M1
19. SPI – Serial Peripheral Interface
19.1
Features
•
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
19.2
Overview
The Serial Peripheral Interface (SPI) allows high-speed synchronous data transfer between the
ATmega16M1/32M1/64M1 and peripheral devices or between several AVR devices.
Figure 19-1. SPI Block Diagram
Note:
1. Refer to
, and
for SPI pin placement.
SPI2X
SPI2X
DIVIDER
/2/4/8/16/32/64/128
clk
IO
MISO
MISO
_A
MOSI
MOSI
_A
SCK
SCK
_A
SS
SS_A
SPIPS
Advertising