XC908AS60ACFU Motorola Semiconductor Products, XC908AS60ACFU Datasheet - Page 116

no-image

XC908AS60ACFU

Manufacturer Part Number
XC908AS60ACFU
Description
MC68HC908AZ60A, MC68HC908AS60A Hcmos Microcontroller Unit Technical Data
Manufacturer
Motorola Semiconductor Products
Datasheet
EEPROM-2 Memory
Program/Erase
Using AUTO Bit
EEPROM-2
Programming
Technical Data
116
NOTE:
NOTE:
An additional feature available for EEPROM-2 program and erase
operations is the AUTO mode. When enabled, AUTO mode will activate
an internal timer that will automatically terminate the program/erase
cycle and clear the EEPGM bit. Please see
on page 116,
Control Register
The unprogrammed or erase state of an EEPROM bit is a logic 1.
Programming changes the state to a logic 0. Only EEPROM bytes in the
non-protected blocks and the EE2NVR register can be programmed.
Use the following procedure to program a byte of EEPROM:
If using the AUTO mode, also set the AUTO bit during Step 1.
A. EERAS1 and EERAS0 must be cleared for programming. Setting the
EELAT bit configures the address and data buses to latch data for
programming the array. Only data with a valid EEPROM-2 address will
be latched. If EELAT is set, other writes to the EE2CR will be allowed
after a valid EEPROM-2 write.
B. If more than one valid EEPROM write occurs, the last address and
data will be latched overriding the previous address and data. Once data
is written to the desired address, do not read EEPROM-2 locations other
than the written location. (Reading an EEPROM location returns the
latched data and causes the read address to be latched).
1. Clear EERAS1 and EERAS0 and set EELAT in the EE2CR.
2. Write the desired data to the desired EEPROM address.
3. Set the EEPGM bit.
4. Wait for time, t
5. Clear EEPGM bit.
6. Wait for time, t
7. Poll the EEPGM bit until it is cleared by the internal timer.
8. Clear EELAT bits.
Step 8.
EEPROM-2 Erasing
EEPROM-2 Memory
on page 119 for more information.
EEPGM
EEFPV
(E)
(C)
, for the programming voltage to fall. Go to
, to program the byte.
Go to Step 7 if AUTO is set.
on page 117 and
EEPROM-2 Programming
MC68HC908AZ60A — Rev 2.0
EEPROM-2
MOTOROLA
(B)
(D)
(A)

Related parts for XC908AS60ACFU