CDR3 Flash (UC3F) EEPROM
MPC561/MPC563 Reference Manual, Rev. 1.2
21-26
Freescale Semiconductor
by blocks 3 and 4. The total erase time for this example is the block erase time, T
ERASE
, multiplied by four
since four blocks are erased. In addition, the preprogramming time to program all locations in blocks 1, 2,
3, and 4 to a “0” state needs to be considered when determining the total erase time. The preprogramming
time is dependent on the data already stored in the Flash array before beginning the erase operation.
21.3.8.1
Erase Sequence
The UC3F EEPROM module requires a sequence of writes to the high voltage control register
(UC3FCTL) and an erase interlock write in order to enable high voltage to the array and shadow
information for erase operation. The required hardware algorithm erase sequence follows.
1. Write PROTECT[0:7] and SBPROTECT[0:1] to disable protect for the blocks to be erased.
2. Write BLOCK[0:7] and SBBLOCK[0:1] to select the blocks to be erased, PE = 1 and SES = 1 in
the UC3FCTL register.
NOTE
BLOCK[0:7] and SBBLOCK[0:1] in conjunction with SBEN[0:1]
determine which blocks are selected for erase. Blocks whose BLOCK bits
or enabled small blocks whose SBBLOCK bits are set (equal to 1) get erased
when an erase operation is performed.
3. Execute an erase interlock write to any UC3F array location.
4. Write EHV = 1 in the UC3FCTL register.
NOTE
The values of the EPEE and B0EPEE inputs are latched with the assertion
of EHV to determine the array protection state for the erase operation. It is
assumed that the EPEE and B0EPEE inputs are setup prior to the assertion
of EHV.
5. Read the UC3FCTL register until HVS = 0.
WARNING
Writing EHV = 0 before HVS = 0 causes the current erase sequence to
ABORT. All blocks being erased must go through another erase sequence
before the UC3F EEPROM can be used reliably.
6. Read the UC3FCTL register. Confirm PEGOOD =1.
7. Write EHV = 0 in the UC3FCTL register.
8. Write SES =0 in the UC3FCTL register.
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...