
M45PE80
8/36
OPERA TING FE AT URES
Sharing the Overhead of Modifying Data
To write or program one (or more) data bytes, two
instructions are required: Write Enable (WREN),
which is one byte, and a Page Write (PW) or Page
Program (PP) sequence, which consists of four
bytes plus data. This is followed by the internal cy-
cle (of duration tPW or t PP).
To share this overhead, the Page Write (PW) or
Page Program (PP) instruction allows up to 256
bytes to be p rogrammed (changing bits from 1 t o
0) or wri tten (changing bits to 0 or 1) at a time, pro-
vided that they lie in consecutive addresses on the
same page of memory.
An Easy Way to Modify Data
The Page Write (PW) instruction provides a con-
venient w ay of modi fying data (up to 256 c ontigu-
ous bytes at a t ime), a nd sim ply requ ires the s tart
address, and the new data in the instruction se-
quence.
The Page Write (PW) instruction is entered by
driving Chip Select (S) Low , and then transmit ting
the instruction byte, three address bytes (A23-A0)
and at least one data byte, and then driving Chip
Select (S) High. While Chip Select (S) is being
held Low, the data bytes are written to the data
buffer, starting at the address given in the third ad-
dress byte (A7-A0). When Chip Select (S) is driven
High, the Write cycle starts. The remaining, un-
changed, bytes of the data buffer are automatically
loaded with the values of the correspondin g bytes
of the addressed memory page. The addressed
memory page then automatically put into an Erase
cycle. Finally, the addressed memory page is pro-
grammed with the contents of the data buffer.
All of this buffer management is handled internally,
and is transparent to the user. The user is given
the facility of being able to alter the contents of the
memory on a byte-by-byte basis.
A Fast Way to Modify Data
The Page Program (PP) instruction provides a f ast
way of modifying data (up to 256 contiguous bytes
at a time), provided that it only involves resetting
bits to 0 that had previously been set to 1.
This might be:
– when the designer is programming the device
fo r th e first tim e
– w hen the designer know s that the page has
already been erased by an earlier Page Erase
(PE) or Sect o r Erase (SE) i n str u ction . This is
use ful, for example, when storing a fast
stream of data, having first performed the
erase cycle when time was available
– w hen the designer know s that the only
changes involve resetting bits to 0 that are still
set to 1. When this method is possible, it has
the addi tional advantage of minimisin g the
number of unnecessary erase operations, and
the extra stress incurred by each page.
Polling During a Write, Program or Erase Cycle
A further improvement in the write, program or
erase time can be achieved by not waiting for the
worst case delay (tPW, tPP, tPE, or tSE). T he Write
In Progress (WIP) bit is provided in the Status
Register so that the application program can mon-
itor its value, polling it to establish when the previ-
ous cycl e is complet e .
Reset
An internal Power-On Reset circuit helps protect
against inadvertant data writes. Addition protec-
tion is provided by driving Re set (Reset) Low dur-
ing the Power-on process, and only driving it High
when VCC has reached the correct voltage level,
VCC(min).
Active Power, Sta nd - b y Po wer an d De ep
Power-Down Modes
When Chip Select (S) is Low, the device is en-
abled, and in the Active Power mode.
When Chip Select (S) is High, the device is dis-
abled, but could remain in the Active Powe r mode
until all internal cycles have completed (Program,
Erase, Write). The device then goes in to the
Stand-by Power mode. The device consumption
drops to ICC1.
The Deep Power-down mode is entered when the
specific instruction (the Enter Deep Power-down
Mode (DP) instruction) is executed. The device
consump tion drops further to ICC2. T he de vic e re-
mains in this mode until another specific instruc-
tion (the Release from Deep Power-down Mode
and Read Elect ronic Sig nature (RES ) instruction)
is executed.
All other instructions are igno red while the device
is in the Deep Power-down mode. This can be
used as an ext ra softw are protection mecha nism,
when the device is not in active use, to protect the
device from inadvertant Write, Program or Erase
instructions.