316
8271D–AVR–05/11
ATmega48A/PA/88A/PA/168A/PA/328/P
Figure 28-8. Serial Programming Instruction example
28.8.4 SPI Serial Programming Characteristics
Figure 28-9. Serial Programming Waveforms
For characteristics of the SPI module see “SPI Timing Characteristics” on page 325.
Byte 1 Byte 2 Byte 3 Byte 4
Adr LSB
Bit 15 B 0
Serial Programming Instruction
Program Memory/
EEPROM Memory
Page 0
Page 1
Page 2
Page N-1
Page Buffer
Write Program Memory Page/
Write EEPROM Memory Page
Load Program Memory Page (High/Low Byte)/
Load EEPROM Memory Page (page access)
Byte 1 Byte 2 Byte 3 Byte 4
Bit 15 B 0
Adr MSB
Page Offset
Page Number
MSB
MSB
LSB
LSB
SERIAL CLOCK INPUT
(SCK)
SERIAL DATA INPUT
(MOSI)
(MISO)
SAMPLE
SERIAL DATA OUTPUT