English
Language : 

ES25P40 Datasheet, PDF (18/35 Pages) Excel Semiconductor Inc. – 4Mbit CMOS 3.0 Volt Flash Memory with 75Mhz SPI Bus Interface
ADVANCED INFORMATION
EE SS II
Excel Semiconductor inc.
Page Program (PP)
The Page Program (PP) instruction allows bytes to
be programmed in the memory (changing from 1 to
0). Before it can be accepted, a Write Enable
(WREN) instruction must previously have been exe-
cuted. After the Write Enable (WREN) instruction
has been decoded, the device sets the Write Enable
Latch (WEL).
The Page Program (PP) instruction is entered by
driving Chip Select (CS#) Low, followed by the
instruction code, three address bytes and at least
one data byte on Serial Data Input (SI). Chip Select
(CS#) must be driven Low for the entire duration of
the sequence.
The instruction sequence is shown in Figure 13.
If more that 256 data bytes are sent to the device,
the addressing will wrap to the beginning of the
same page, previously latched data are discarded
and the last 256 data bytes are guaranteed to be
programmed correctly within the same page.
If fewer than 256 data bytes are sent to device, they
are correctly programmed at the requested
addresses without having any effects on the other
bytes of the same page.
Chip Select (CS#) must be driven High after the
eighth bit of the last data byte has been latched in,
otherwise the Page Program (PP) instruction is not
executed. As soon as Chip Select (CS#) is driven
High, the self-timed Page Program cycle (whose
duration is tPP) is initiated. While the Page Program
cycle is in progress, the Status Register may be
read to check the value of the Write In Progress
(WIP) bit. The Write In Progress (WIP) bit is 1 dur-
ing the self-timed Page Program cycle, and is 0
when it is completed. At some unspecified time
before the cycle is completed, the Write Enable
Latch (WEL) bit is reset.
A Page Program (PP) instruction applied to a page
that is protected by the Block Protect (BP2, BP1,
BP0) bits (see Table 1) is not executed.
CS#
SCK
SI
0 1 2 3 4 5 6 7 8 9 10
28 29 30 31 32 33 34 35 36 37 38 39
Instruction
24-Bit Address
Data Byte1
000
00 01
0 23 22 21
MSB
21 07 654 321 0
MSB
CS#
SCK
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
Data Byte 2
Data Byte 3
Data Byte256
SI
7 654 321 07 654 321 0
7 654 321 0
MSB
MSB
MSB
Figure 13. Page Program (PP) Instruction Sequence
ES25P40
18
Rev. 0D May 11 , 2006