Figure 15-4 – Rainbow Electronics ATmega64C1 User Manual

Page 166

Advertising
background image

166

7647A–AVR–02/08

ATmega32/64/M1/C1

Figure 15-4. SPI Transfer Format with CPHA = 1

SCK (CPOL = 0)
mode 1

SAMPLE I
MOSI/MISO

CHANGE 0
MOSI PIN

CHANGE 0
MISO PIN

SCK (CPOL = 1)
mode 3

SS

MSB
LSB

Bit 6
Bit 1

Bit 5
Bit 2

Bit 4
Bit 3

Bit 3
Bit 4

Bit 2
Bit 5

Bit 1
Bit 6

LSB
MSB

MSB first (DORD = 0)
LSB first (DORD = 1)

Advertising