English
Language : 

MC68HC08AZ0 Datasheet, PDF (61/444 Pages) Motorola, Inc – Advance Information
5-eeprom
MOTOROLA
Freescale Semiconductor, Inc.
EEPROM
Functional description
byte/block/array.
5. Clear EEPGM bit.
6. Wait for the erasing voltage time to fall (tEEFPV).
7. Clear EELAT bits. (See Note h.)
8. Repeat steps 1 to 7 for more EEPROM byte/block erasing.
The EEBPx bit must be cleared to erase EEPROM data in the
corresponding block. If any EEBPx is set, the corresponding block
cannot be erased and bulk erase mode does not apply.
NOTES:
f. Setting the EELAT bit configures the address and data buses
to latch data for erasing the array. Only valid EEPROM
addresses with its data will be latched. If another consecutive
valid EEPROM write occurs, this address and data will
override the previous address and data. In block erase mode,
any EEPROM address in the block may be used in step 2. All
locations within this block will be erased. In bulk erase mode,
any EEPROM address may be used to erase the whole
EEPROM. EENVR is not affected with block or bulk erase.
Any attempts to read other EEPROM data will result in the
latched data being read. If EELAT is set, other writes to the
EECR will be allowed after a valid EEPROM write.
g. The EEPGM bit cannot be set if the EELAT bit is cleared and
a non-EEPROM write has occurred. This is to ensure proper
erasing sequence. Once EEPGM is set, the type of erase
mode cannot be modified. If EEPGM is set, the on-board
charge pump generates the erase voltage and applies it to the
user EEPROM array. When the EEPGM bit is cleared, the
erase voltage is removed from the array and the internal
charge pump is turned off.
h. Any attempt to clear both EEPGM and EELAT bits with a
single instruction will only clear EEPGM. This is to allow time
for removal of high voltage from the EEPROM array.
In general, all bits should be erased before being programmed.
EEPROM
For More Information On This Product,
Go to: www.freescale.com
MC68HC08AZ0
59