2 Mbit / 4 Mbit SPI Serial Flash
SST25LF020A / SST25LF040A
Data Sheet
Instructions
Instructions are used to Read, Write (Erase and Program),
and configure the SST25LF020A/040A. 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: D
EVICE
O
PERATION
I
NSTRUCTIONS1
Max
Freq
MHz
20
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.
Bus Cycle
4
1
S
IN
03H
0BH
20H
52H
60H
02H
AFH
05H
50H
01H
06H
04H
90H or
ABH
Cycle Type/
Operation
2,3
Read
High-Speed-Read
Sector-Erase
5,6
Block-Erase
Chip-Erase
Byte-Program
Auto Address Increment
(AAI) Single-Byte Program
Read-Status-Register
(RDSR)
Enable-Write-Status-Register
(EWSR)
10
Write-Status-Register
(WRSR)
Write-Enable (WREN)
Write-Disable (WRDI)
Read-ID
2
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
Hi-Z
3
S
OUT
Hi-Z
Hi-Z
Hi-Z
Hi-Z
-
Hi-Z
Hi-Z
D
OUT
-
Hi-Z
-
-
Hi-Z
4
S
OUT
Hi-Z
Hi-Z
Hi-Z
Hi-Z
-
Hi-Z
Hi-Z
Note
9
-
-
-
-
Hi-Z
5
S
OUT
Hi-Z
Hi-Z
Hi-Z
Hi-Z
-
Hi-Z
Hi-Z
Note
-
-
-
-
Hi-Z
6
S
IN
X
S
IN
A
23
-A
16
A
23
-A
16
A
23
-A
16
A
23
-A
16
-
A
23
-A
16
A
23
-A
16
X
-
Data
-
-
00H
S
IN
A
15
-A
8
A
15
-A
8
A
15
-A
8
A
15
-A
8
-
A
15
-A
8
A
15
-A
8
-
-
-
-
-
00H
S
IN
A
7
-A
0
A
7
-A
0
A
7
-A
0
A
7
-A
0
-
A
7
-A
0
A
7
-A
0
-
-
-.
-
-
ID
Addr
11
S
IN
X
X
-
-
-
D
IN
D
IN
-
-
-
-
-
X
S
OUT
D
OUT
X
-
-
-
Hi-Z
Hi-Z
Note
-
-
-
-
D
OUT12
S
OUT
D
OUT
33
T6.0 1242
1. A
MS
= Most Significant Address
A
MS
= A
17
for SST25LF020A and A
18
for SST25LF040A
Address bits above the most significant bit of each density can be V
IL
or V
IH
2. Operation: S
IN
= Serial In, S
OUT
= Serial Out
3. X = Dummy Input Cycles (V
IL
or V
IH
); - = Non-Applicable Cycles (Cycles are not necessary)
4. One bus cycle is eight clock periods.
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 and Device
ID output stream is continuous until terminated by a low to high transition on CE#
12. Device ID = 43H for SST25LF020A and 44H for SST25LF040A
©2006 Silicon Storage Technology, Inc.
S71242-05-000
1/06
8