STMicroelectronics SPC572L series Reference Manual page 604

Table of Contents

Advertisement

Embedded Flash Memory (MP55)
Field
Program Suspend (Read/Write).
PSUS is used to indicate that the Flash Memory module is in Program Suspend or in the
process of entering a Suspend state. The Flash Memory module is in Program Suspend when
PSUS=1 and DONE=1.
– PSUS can be set high only when PGM and EHV are high.
– 0–1 transition of PSUS starts the sequence which sets DONE and places the flash in
28
– PSUS can be cleared only when DONE and EHV are high.
PSUS
– 1–0 transition of PSUS with EHV=1 starts the sequence which clears DONE and returns the
The Flash Memory module cannot exit Program Suspend and clear DONE while EHV is low.
In case of Program Suspend while in Erase Suspend (PSUS=1, ESUS=1), PSUS has to be
cleared first in order to resume currently higher level suspended operation that is program.
PSUS is cleared on reset.
0 Program sequence is not suspended.
1 Program sequence is suspended.
Erase (Read/Write)
ERS is used to setup the Flash Memory module for an Erase operation.
– 0–1 transition of ERS initiates an Erase sequence.
– 1–0 transition of ERS ends the Erase sequence.
29
ERS can be set only under User Mode Read (PGM is low and UT0[AIE] is low).
ERS
ERS can be cleared by the user only when ESUS and EHV are low and DONE is high.
ERS is cleared on reset.
0 Flash is not executing an Erase sequence.
1 Flash is executing an Erase sequence.
604/2058
Table 298. MCR field descriptions(Continued)
Program Suspend. The Flash Memory module enters Suspend within t
transition.
module to Program.
DocID027809 Rev 4
Description
RM0400
of this
PSUS

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Table of Contents