M25PE40 Operating features
13/62
4.3 A fast way to modify data
The Page Program (PP) instruction provides a fast way of modifying data (up to 256
contiguous bytes at a time), provided that it only in volves resetting bits to 0 that had
previously been set to ‘1’.
This might be:
●when the designer is programming the device for the first time
●when the designer knows that the page has already been erased by an earlier Page
Erase (PE) or Sector Erase (SE) inst ruction. This is useful, f or e xamp le, when storing a
fast stream of data, having first performed the erase cycle when time was available
●when the designer knows that the only changes involve resetting bits to ‘0’ that are still
set to ‘1’. When this method is possible, it has the additional a dvantage of minimizing
the number of unnecessary erase operations, and the extra stress incurred by each
page.
For optimized timings, it is recommended to use the Page Program (PP) instruction to
program all consecutive targeted bytes in a single sequence versus using several Page
Progr am (PP) sequences with each containing only a few bytes (see Section 6.10: Page
Program (PP), Table 21: AC characteristics (50 MHz operat ion, T9HX (0.11µm) process),
and Table 22: AC characteristics (75 MHz operation, T9HX (0.11µm) process)).
4.4 Polling during a Write, Program or Erase cycle
A further improv emen t in the write, progr am or erase t ime can be achie v ed b y not waiting fo r
the w or st case del ay (tPW, tPP
, tPE, or tSE). The Write In Progress (WIP) bit is provided in the
Status Register so that the application program can monitor its value, polling it to establish
when the previous cycle is complete.
4.5 Reset
An internal Power-on Reset circuit helps protect against inadvertent data writes. Addition
protection is provided by driving Reset (Reset) Low during the power-on process, and only
driving it High when VCC has reached the correct voltage level, VCC(min).
4.6 Active Power, Standby Power and Deep Power-down modes
When Chip Select (S) is Low, the device is sele cted, and in the Active Power mode.
When Chip Select (S) is High, the de vice is deselected, b ut could remain in the Activ e Power
mode until all in ternal cycles ha ve completed (Progr am, Erase , Write). The de vice then g oes
in to the Standby Power mode. The device consumption drops to ICC1.
The Deep Power-down mode is entered when the specific instruction (the Deep Power-
down (DP) instruction) is executed. The device consumption drops further to ICC2. The
device remains in this mode until the Release from Deep Power-down instruction is
executed.
All other instructions are ignored while the d evice is in the Deep Powe r-down mode. This
can be used as an extra software protection mechanism, when the device is not in active
use, to protect the device from inadvertent Write, Program or Er ase instructions.