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