English
Language : 

ATA6616 Datasheet, PDF (266/308 Pages) ATMEL Corporation – Single-package High Performance, Low Power AVR 8-bit Microcontroller with LIN
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 Figure 4-105 on page
266.
Figure 4-105. 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
Addr. MSB
Bit 15 B
Byte 3
Addr. LSB
0
Byte 4
Byte 1
Byte 2
Addr. MSB
Bit 15 B
Byte 3
Addr. MSB
0
Byte 4
Page Offset
Page Buffer
Page 0
Page 1
Page 2
Page Number
Page N-1
Program Memory /
EEPROM Memory
4.22.9 Serial Programming Characteristics
Figure 4-106. Serial Programming Waveforms
SERIAL DATA INPUT
MSB
LSB
(MOSI)
SERIAL DATA OUTPUT
MSB
LSB
(MISO)
SERIAL CLOCK INPUT
(SCK)
SAMPLE
For characteristics of the SPI module, see Section 4.23.10 “SPI Timing Characteristics” on
page 276.
266 Atmel ATA6616/ATA6617
9132D–AUTO–12/10