253
ATmega8535(L)
2502K–AVR–10/06
Data Polling EEPROM
When a new byte has been written and is being programmed into EEPROM, reading the
address location being programmed will give the value 0xFF. At the time the device is
ready for a new byte, the programmed value will read correctly. This is used to deter-
mine when the next byte can be written. This will not work for the value 0xFF, but the
user should have the following in mind: As a chip erased device contains 0xFF in all
locations, programming of addresses that are meant to contain 0xFF, can be skipped.
This does not apply if the EEPROM is reprogrammed without chip erasing the device. In
this case, data polling cannot be used for the value 0xFF, and the user will have to wait
at least t
WD_EEPROM
before programming the next byte. See Table 108 for t
WD_EEPROM
value.
Figure 125.
Serial Programming Waveforms
Table 108.
Minimum Wait Delay Before Writing the Next Flash or EEPROM Location
Symbol
Minimum Wait Delay
t
WD_FLASH
4.5 ms
t
WD_EEPROM
9.0 ms
t
WD_ERASE
9.0 ms
t
WD_FUSE
4.5 ms
MSB
MSB
LSB
LSB
SERIAL CLOCK INPUT
(SCK)
SERIAL DATA INPUT
(MOSI)
(MISO)
SAMPLE
SERIAL DATA OUTPUT
Summary of Contents for ATmega8535
Page 314: ...314 ATmega8535 L 2502K AVR 10 06 ...
Page 320: ...vi ATmega8535 L 2502K AVR 10 06 ...