MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
13-10
Freescale Semiconductor
21
DONE
State machine status. Indicates if the flash module is performing a high voltage operation.
DONE is set to a 1 on termination of the flash module reset and at the end of program and
erase high voltage sequences.
0 Flash is executing a high voltage operation.
1 Flash is not executing a high voltage operation.
22
PEG
Program/erase good. Indicates the completion status of the last flash program or erase
sequence for which high voltage operations were initiated. The value of PEG is updated
automatically during the program and erase high voltage operations. Aborting a
program/erase high voltage operation will cause PEG to be cleared, indicating the
sequence failed. PEG is set to a 1 when the module is reset. PEG is read only.
The value of PEG is valid only when PGM = 1 and/or ERS = 1 and after DONE has
transitioned from 0 to 1 due to an abort or the completion of a program/erase operation.
PEG is valid until PGM/ERS makes a 1 to 0 transition or EHV makes a 0 to 1 transition.
The value in PEG is not valid after a 0 to 1 transition of DONE caused by PSUS or ESUS
being set to logic 1. A diagram presenting PEG valid times is presented in
PGM and ERS are both 1 when DONE makes a qualifying 0 to 1 transition the value of
PEG indicates the completion status of the PGM sequence. This happens in an
erase-suspended program operation.
0 Program or erase operation failed.
1 Program or erase operation successful.
23–24
—
Reserved.
25
STOP
Stop mode enabled. Puts the flash into stop mode. Changing the value in STOP from a 0
to a 1 places the flash module in stop mode. A 1 to 0 transition of STOP returns the flash
module to normal operation. STOP may be written only when PGM and ERS are low. When
STOP = 1, only the STOP bit in the MCR can be written. In STOP mode all address spaces,
registers, and register bits are deactivated except for the FLASH_MCR[STOP] bit.
0 Flash is not in stop mode; the read state is active.
1 Flash is in stop mode.
26
—
Reserved.
27
PGM
Program. Used to set up flash for a program operation. A 0 to 1 transition of PGM initiates
an flash program sequence. A 1 to 0 transition of PGM ends the program sequence. PGM
can be set only under one of the following conditions:
• User mode read (STOP and ERS are low).
• Erase suspend
1
(ERS and ESUS are 1) with EHV low.
PGM can be cleared by the user only when EHV are low and DONE is high. PGM is cleared
on reset.
0 Flash is not executing a program sequence.
1 Flash is executing a program sequence.
28
PSUS
Program suspend. Indicates the flash module is in program suspend or in the process of
entering a suspend state. The flash module is in program suspend when PSUS = 1 and
DONE = 1. PSUS can be set high only when PGM and EHV are high. A 0 to 1 transition of
PSUS starts the sequence which sets DONE and places the flash in program suspend.
PSUS can be cleared only when DONE and EHV are high. A 1 to 0 transition of PSUS with
EHV = 1 starts the sequence which clears DONE and returns the flash module to program.
The flash module cannot exit program suspend and clear DONE while EHV is low. PSUS
is cleared on reset.
0 Program sequence is not suspended.
1 Program sequence is suspended.
Table 13-6. FLASH_MCR Field Descriptions (Continued)
Bits
Name
Description
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...