English
Language : 

MC68HC11EA9 Datasheet, PDF (19/58 Pages) Motorola, Inc – 8 BIT HCMOS SINGLE CHIP MICROCONTOROLLER WITH A/D CONVERTER
Freescale Semiconductor, Inc.
4. Delay for 10 ms or more, as appropriate.
5. Clear the EEPGM bit in PPROG to turn off the programming voltage.
6. Clear the PPROG register to reconfigure the EEPROM address and data buses for normal op-
eration.
To program the EEPROM, ensure the proper bits of the BPROT register are cleared and use the PROG
register to complete the following steps:
1. Set the EELAT bit in PPROG register.
2. Write data to the desired address.
3. Set EEPGM bit in PPROG.
4. Delay for 10 ms or more, as appropriate.
5. Clear the EEPGM bit in PPROG to turn off the programming voltage.
6. Clear the PPROG register to reconfigure the EEPROM address and data buses for normal op-
eration.
CAUTION
Since it is possible to perform other operations while the EEPROM programming/
erase operation is in progress, it is common to start the operation then return to the
main program until the 10 ms is completed. When the EELAT bit is set at the be-
ginning of a program/erase operation, the EEPROM is electronically removed from
the memory map; thus, it is not accessible during the program/erase cycle. Care
must be taken to ensure that EEPROM resources will not be needed by any rou-
tines in the code during the 10 ms program/erase time.
BPROT — EEPROM Block Protect
$1035
BIT 7
6
—
—
RESET:
0
0
5
4
3
2
1
BIT 0
—
PTCON BPRT3 BPRT2 BPRT1 BPRT0
0
1
1
1
1
1
Active bits in BPROT reset to ones in all modes and can only be cleared during the first 64 cycles out
of reset. Bits can be set only once in normal modes. In special modes, bits can be set and cleared re-
peatedly.
Bits [7:5] — Not implemented
Always read zero
PTCON — Protect CONFIG Register
0 = CONFIG register can be programmed or erased normally
1 = CONFIG register cannot be programmed or erased
BPRT[3:0] — Block Protect Bits for EEPROM
When set, these bits protect a block of EEPROM from being programmed or electronically erased. Ul-
traviolet light, however can erase the entire EEPROM contents regardless of BPRT[3:0] (windowed
packages only). When cleared, they allow programming and erasure of the associated block.
Table 5 EEPROM Block Protect
Bit Name
BPRT0
BPRT1
BPRT2
BPRT3
Block Protected
$B600–$B61F
$B620–$B65F
$B660–$B6DF
$B6E0–$B7FF
Block Size
32 Bytes
64 Bytes
128 Bytes
288 Bytes
MC68HC11EA9
MC68HC11EA9TS/D
For More Information On This Product,
19
Go to: www.freescale.com