168
7679H–CAN–08/08
AT90CAN32/64/128
16. Serial Peripheral Interface – SPI
The Serial Peripheral Interface (SPI) allows high-speed synchronous data transfer between the
AT90CAN32/64/128 and peripheral devices or between several AVR devices. The
AT90CAN32/64/128 SPI includes the following features:
16.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
Figure 16-1.
SPI Block Diagram
Note:
1. Refer to
for SPI pin
placement.
SPI2X
SPI2X
DIVIDER
/2/4/8/16/32/64/128
clk
IO