2 Mbit / 4 Mbit SPI Serial Flash
SST25VF040
EOL Product Data Sheet
Instructions
Instructions are used to Read, Write (Erase and Program),
and configure the SST25VF040. The instruction bus cycles
are 8 bits each for commands (Op Code), data, and
addresses. Prior to executing any Byte-Program, Auto
Address Increment (AAI) programming, Sector-Erase,
Block-Erase, or Chip-Erase instructions, the Write-Enable
(WREN) instruction must be executed first. The complete
list of the instructions is provided in Table 6. All instructions
are synchronized off a high to low transition of CE#. Inputs
will be accepted on the rising edge of SCK starting with the
TABLE 6: Device Operation Instructions
1
Bus Cycle
2
Cycle Type/Operation
3,4
Read
Sector-Erase
5,6
Block-Erase
Chip-Erase
Byte-Program
6
Auto Address Increment (AAI) Program
6,8
Read-Status-Register (RDSR)
Enable-Write-Status-Register (EWSR)
10
Write-Status-Register (WRSR)
Write-Enable (WREN)
Write-Disable (WRDI)
Read-ID
S
IN
03H
20H
52H
60H
02H
AFH
05H
50H
01H
06H
04H
90H or
ABH
1
S
OUT
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
S
IN
A
23
-A
16
A
23
-A
16
A
23
-A
16
-
A
23
-A
16
A
23
-A
16
X
-
Data
-
-
00H
2
S
OUT
Hi-Z
Hi-Z
Hi-Z
-
Hi-Z
Hi-Z
D
OUT
-
Hi-Z
-
-
Hi-Z
S
IN
A
15
-A
8
A
15
-A
8
A
15
-A
8
-
A
15
-A
8
A
15
-A
8
-
-
-
-
-
00H
3
S
OUT
Hi-Z
Hi-Z
Hi-Z
-
Hi-Z
Hi-Z
Note
9
-
-
-
-
Hi-Z
S
IN
A
7
-A
0
A
7
-A
0
A
7
-A
0
-
A
7
-A
0
A
7
-A
0
-
-
-.
-
-
ID Addr
11
4
S
OUT
Hi-Z
Hi-Z
Hi-Z
-
Hi-Z
Hi-Z
Note
9
-
-
-
-
Hi-Z
S
IN
X
-
-
-
D
IN
D
IN
-
-
-
-
-
X
5
S
OUT
D
OUT
-
-
-
Hi-Z
Hi-Z
Note
9
-
-
-
-
D
OUT12
T6.0 1231(04)
most significant bit. CE# must be driven low before an
instruction is entered and must be driven high after the last
bit of the instruction has been shifted in (except for Read,
Read-ID and Read-Status-Register instructions). Any low
to high transition on CE#, before receiving the last bit of an
instruction bus cycle, will terminate the instruction in
progress and return the device to the standby mode.
Instruction commands (Op Code), addresses, and data are
all input from the most significant bit (MSB) first.
1. A
MS
= Most Significant Address
A
MS
= A
18
for SST25VF040
Address bits above the most significant bit of each density can be V
IL
or V
IH
2. One bus cycle is eight clock periods.
3. Operation: S
IN
= Serial In, S
OUT
= Serial Out
4. X = Dummy Input Cycles (V
IL
or V
IH
); - = Non-Applicable Cycles (Cycles are not necessary)
5. Sector addresses: use A
MS
-A
12
, remaining addresses can be V
IL
or V
IH
6. Prior to any Byte-Program, AAI-Program, Sector-Erase, Block-Erase, or Chip-Erase operation, the Write-Enable (WREN) instruction
must be executed.
7. Block addresses for: use A
MS
-A
15
, remaining addresses can be V
IL
or V
IH
8. To continue programming to the next sequential address location, enter the 8-bit command, AFH,
followed by the data to be programmed.
9. The Read-Status-Register is continuous with ongoing clock cycles until terminated by a low to high transition on CE#.
10. The Enable-Write-Status-Register (EWSR) instruction and the Write-Status-Register (WRSR) instruction must work in conjunction of
each other. The WRSR instruction must be executed immediately (very next bus cycle) after the EWSR instruction to make both
instructions effective.
11. Manufacturer’s ID is read with A
0
=0, and Device ID is read with A
0
=1. All other address bits are 00H. The Manufacturer’s and Device
ID output stream is continuous until terminated by a low to high transition on CE#
12. Device ID = 44H for SST25VF040
©2006 Silicon Storage Technology, Inc.
S71231(04)-00-000
10/06
8