English
Language : 

ATTINY88_14 Datasheet, PDF (120/302 Pages) ATMEL Corporation – 8-bit AVR Microcontroller with 8K Bytes In-System
14. SPI – Serial Peripheral Interface
14.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
14.2 Overview
The Serial Peripheral Interface (SPI) allows high-speed synchronous data transfer between the
ATtiny48/88 and peripheral devices or between several AVR devices.
Figure 14-1. SPI Block Diagram(1)
XTAL
DIVIDER
/2/4/8/16/32/64/128
S
M
M
MSB
LSB
8 BIT SHIFT REGISTER
S
READ DATA BUFFER
MISO
MOSI
SELECT
SPI CLOCK (MASTER)
CLOCK
CLOCK
S
SCK
LOGIC
M
SS
SPI CONTROL
SPI STATUS REGISTER
MSTR
SPE
8
8
SPI CONTROL REGISTER
8
SPI INTERRUPT INTERNAL
REQUEST DATA BUS
Note: 1. Refer to Figure 1-1 on page 2, and Table 10-5 on page 69 for SPI pin placement.
120 ATtiny48/88
8008H–AVR–04/11