M28W160CT, M28W160CB
18/49
STATUS REGIST E R
The Status Register provides information on the
current or previous Program or Erase operation.
The various bits c onvey inf ormation and errors on
the operation. To read the Status register the
Read Status Register command can be issued, re-
fer to Read Status Register Command section. To
output the cont ents, the Status Register is latched
on the falling edge of the Chip Enable or Output
Enable signal s, and can be read until Chi p Enable
or Output Enable returns to VIH. Either Chip En-
able or Output Enable must be toggled to update
the latched data.
Bus Read operations from any address always
read the Status Register during Program and
Erase operations.
The bits in the Status Register are s um marized in
Table 10, Status Register Bits. Refer to Table 10
in co njunction with the following text descriptions.
Program/Erase Controll er Status ( Bit 7). The Pro-
gr a m/Erase Controller Status bit indicates whether
the Program/ Erase Controller is activ e or inact i ve.
When the Program/Erase Controller Status bit is
Low (set to ‘0’), the Program/Erase Controller is
active; when the bit is High (set to ‘1’), the Pro-
gram/Erase Controller is inactive, and the device
is ready to process a new command.
The Program/Erase Controller Status is Low im-
mediately after a Program/Erase Suspend com-
mand is issued unt i l the Program/Eras e Controller
pauses. After the Program/E rase Cont roller paus-
es the bit is High .
During Program, Erase, operations the Program/
Erase Controller Status bit can be polled t o find the
end of the operation. Other bits i n the Status Reg-
ister should not be tested until the Program /Erase
Controller completes the operation and the bit is
High.
After the Program/Erase Controller completes its
operation the Erase Status, Program Status, V PP
Status and Block Lock Status bits should be tested
for errors.
Erase Suspend Status (Bit 6). The Erase Sus-
pend Status b it indicates that an Erase o perati on
has been suspended or is going to be suspended.
When the Erase Suspend Status bit is High (set to
‘1’), a Program/Erase Suspend command has
been issued and t he memo ry is waiting for a P ro-
gram/Erase Resume command.
The Er ase Suspend St atus should only be consid-
ered valid when the Program/Erase Controller Sta-
tus bit is High (Program/Erase Controller inactive).
Bit 7 i s set within 30µs of the Program /Erase Sus-
pend command being issued therefore the memo-
ry may still complete the operation rather than
entering t he Suspend mode.
When a Program/Erase Resume command is is-
sued the Erase Suspend Status bit returns Low.
Erase Status (Bit 5). The Erase Status bit can be
used to identify if the memory has failed to verify
that the block has erased correctly. When the
Erase Status bit is High (set to ‘1’), the Pro gram/
Erase Controller has applied the maximum num-
ber of pulses to the block and still failed to verify
that the block has erased corr ectly. The Erase Sta-
tus bit should be read once the Program/Erase
Controller Status bit is High (Prog ram/Erase Con-
troller inactive).
Once s et High, the Erase Status bit can only be re-
set Low by a Clear Status Register c ommand or a
hardware reset. If set High it should be reset be-
fore a new Program or Erase command is issued,
otherwise the new command will appear to fail.
Program Status (Bit 4). The Program Status bit
is used to identify a Program failure. When the
Program Status bit is High (set to ‘1’), the Pro-
gram/Erase Controller has applied the maximum
number of pulses to the by te and still failed to ver-
ify that it has programm ed correctly. The Program
Status bit should be read once t he Program/Erase
Controller Status bit is High (Prog ram/Erase Con-
troller inactive).
Once set High, the Program Status bit can only be
reset Low by a Clear Status Register command or
a hardware reset. If set Hi gh it should be reset be-
fore a new command is issued, otherwise the new
command will appear to fail.
VPP Status (Bit 3). The VPP Status bit can be
used to identify an invalid voltage on the VPP pin
during Program and Erase operations. The VPP
pin is only sampled at the beginning of a Program
or Erase operation. Indeterminate results can oc-
cur if VPP becomes invali d during an operation.
When the VPP Status bit is Low (set to ‘0’), the volt-
age on the VPP pin was sampled at a valid voltage;
when the VPP Status bit is High (set to ‘1’), the VPP
pin has a voltage that is below the VPP Lockout
Voltage, VPPLK, the memory is protect ed and Pro-
gram and Erase operations cannot be perform ed.
Once set High, the VPP Status bit can only be reset
Low by a Clear Status Register command or a
hardware reset. If set High it should be reset be-
fore a new Program or Erase command is issued,
otherwise the new command will appear to fail.
Program Suspen d Status (Bit 2). The Program
Suspend St atus bit indicates that a Program oper-
ation has been suspended. When the Program
Suspend Status bit is High (set to ‘1’), a P rogram/
Erase Suspend command has been issued and
the memory is waiting for a Program/Erase Re-
sume command. The Program Suspend Status
should only be considered valid when the Pro-