68HC(9)12DG128 Rev 1.0
MOTOROLA
Appendix C: 68HC912DG128A EEPROM
399
Appendix C: 68HC912DG128A EEPROM
Appendix C: 68HC912DG128A EEPROM
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .399
EEPROM Programmer’s Model . . . . . . . . . . . . . . . . . . . . . . . . . . . .400
EEPROM Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .402
Program/Erase Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .408
Shadow Word Mapping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .408
Programming EEDIVH and EEDIVL Registers . . . . . . . . . . . . . . . . .409
Introduction
The 68HC912DG128A EEPROM nonvolatile memory is arranged in a
16-bit configuration. The EEPROM array may be read as either bytes,
aligned words or misaligned words. Access times are one bus cycle for
byte and aligned word access and two bus cycles for misaligned word
operations.
Programming is by byte or aligned word. Attempts to program or erase
misaligned words will fail. Only the lower byte will be latched and
programmed or erased. Programming and erasing of the user EEPROM
can be done in normal modes.
Each EEPROM byte or aligned word must be erased before
programming. The EEPROM module supports byte, aligned word, row
(32 bytes) or bulk erase, all using the internal charge pump. The erased
state is $FF. The EEPROM module has hardware interlocks which
protect stored data from corruption by accidentally enabling the
program/erase voltage. Programming voltage is derived from the
internal V
DD
supply with an internal charge pump.
1-eepromA