ATmega88PA Automotive Atmel Corporation, ATmega88PA Automotive Datasheet - Page 313

no-image

ATmega88PA Automotive

Manufacturer Part Number
ATmega88PA Automotive
Description
Manufacturer
Atmel Corporation
Figure 28-8. Serial Programming Instruction example
28.8.4
Figure 28-9. Serial Programming Waveforms
9223B–AVR–09/11
SPI Serial Programming Characteristics
SERIAL DATA OUTPUT
SERIAL CLOCK INPUT
SERIAL DATA INPUT
Byte 1
Load Program Memory Page (High/Low Byte)/
Load EEPROM Memory Page (page access)
Bit 15 B
SAMPLE
(MOSI)
(MISO)
Byte 2
(SCK)
Adr MSB
Adr M M S S B
A
If the LSB in RDY/BSY data byte out is ‘1’, a programming operation is still pending. Wait until
this bit returns ‘0’ before the next instruction is carried out.
Within the same page, the low data byte must be loaded prior to the high data byte.
After data is loaded to the page buffer, program the EEPROM page, see
313.
For characteristics of the SPI module see “SPI Timing Characteristics” on page 319.
Atmel ATmega48PA/88PA/168PA [Preliminary]
Byte 3
Adr LSB
MSB
MSB
Page Offset
0
Serial Programming Instruction
Byte 4
Program Memory/
EEPROM Memory
Page Buffer
Page N-1
Page 0
Page 1
Page 2
Byte 1
Page Number
Bit 15 B
Write Program Memory Page/
Write EEPROM Memory Page
Byte 2
Adr MSB
Byte 3
Adr LSB
A A dr r L L SB B
0
LSB
LSB
Figure 28-8 on page
Byte 4
313

Related parts for ATmega88PA Automotive