MC68HC11F1CPU2 FREESCALE [Freescale Semiconductor, Inc], MC68HC11F1CPU2 Datasheet - Page 55

no-image

MC68HC11F1CPU2

Manufacturer Part Number
MC68HC11F1CPU2
Description
MC68HC11F1 Technical Data
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
ERASE — Erase/Normal Control for EEPROM
EELAT — EEPROM Latch Control
EEPGM — EEPROM Program Command
4.4.3 CONFIG Register Programming
CONFIG — System Configuration Register
TECHNICAL DATA
RESET:
Can be read or written any time.
Can be read or written any time. When EELAT equals one, writes to EEPROM cause
address and data to be latched.
Can be read any time. Can only be written while EELAT = 1.
Because the CONFIG register is implemented with EEPROM cells, use EEPROM pro-
cedures to erase and program this register. The procedure for programming is the
same as for programming a byte in the EEPROM array, except that the CONFIG reg-
ister address is used. CONFIG can be programmed or erased (including byte erase)
while the MCU is operating in any mode, provided that PTCON in BPROT is clear. To
change the value in the CONFIG register, complete the following procedure. Do not
initiate a reset until the procedure is complete. The new value will not take effect until
after the next reset sequence.
P indicates a previously programmed bit. P(L) indicates that the bit resets to the logic
level held in the EEPROM bit prior to reset, but the function of COP is controlled by
DISR bit in TEST1 register.
0 = Normal read or program mode
1 = Erase mode
0 = EEPROM address and data bus configured for normal reads
1 = EEPROM address and data bus configured for programming or erasing
0 = Program or erase voltage switched off to EEPROM array
1 = Program or erase voltage switched on to EEPROM array
1. Erase the CONFIG register.
2. Program the new value to the CONFIG address.
3. Initiate reset.
Bit 7
EE3
P
P
1
1
EE2
1
1
P
P
6
BYTE
Table 4-7 EEPROM Erase Mode Control
Freescale Semiconductor, Inc.
OPERATING MODES AND ON-CHIP MEMORY
0
0
1
1
For More Information On This Product,
EE1
P
P
5
1
1
Go to: www.freescale.com
ROW
0
1
0
1
EE0
P
P
4
1
1
Bulk Erase (All 512 Bytes)
Row Erase (16 Bytes)
Byte Erase
Byte Erase
3
1
1
1
1
Action
NOCOP
P(L)
P(L)
P
P
2
1
1
1
1
1
EEON
Bit 0
P
1
1
0
Single Chip
Bootstrap
Expanded
Special Test
$103F
4-17

Related parts for MC68HC11F1CPU2