©2011 Silicon Storage Technology, Inc. DS25078A 11/11
9
2 Mbit SPI Serial Flash
SST25VF020
Not Recommended for New Designs
Microchip Technology Company
Instructions
Instructions are used to Read, Write (Erase and Program), and configure the SST25VF020. The
instruction bus cycles are 8 bits each for commands (Op Code), data, and addresses. Prior to execut-
ing 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 5. 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 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.
Table 5: Device Operation Instructions1
1. AMS = Most Significant Address
AMS =A
17 for SST25VF020
Address bits above the most significant bit of each density can be VIL or VIH
Bus Cycle2
2. One bus cycle is eight clock periods.
123 4 5
Cycle Type/Operation3,4
3. Operation: SIN = Serial In, SOUT = Serial Out
4. X = Dummy Input Cycles (VIL or VIH); - = Non-Applicable Cycles (Cycles are not necessary)
SIN SOUT SIN SOUT SIN SOUT SIN SOUT SIN SOUT
Read 03H Hi-Z A23-
A16
Hi-Z A15-
A8
Hi-Z A7-A0Hi-Z X DOUT
Sector-Erase5,6
5. Sector addresses: use AMS-A12, remaining addresses can be VIL or VIH
6. Prior to any Byte-Program, AAI-Program, Sector-Erase, Block-Erase, or Chip-Erase operation, the Write-Enable
(WREN) instruction must be executed.
20H Hi-Z A23-
A16
Hi-Z A15-
A8
Hi-Z A7-A0Hi-Z - -
Block-Erase5,7
7. Block addresses for: use AMS-A15, remaining addresses can be VIL or VIH
52H Hi-Z A23-
A16
Hi-Z A15-
A8
Hi-Z A7-A0Hi-Z - -
Chip-Erase660H Hi-Z - - - - - - - -
Byte-Program602H Hi-Z A23-
A16
Hi-Z A15-
A8
Hi-Z A7-A0Hi-Z DI
N
Hi-Z
Auto Address Increment (AAI)
Program6,8
8. To continue programming to the next sequential address location, enter the 8-bit command, AFH,
followed by the data to be programmed.
AFH Hi-Z A23-
A16
Hi-Z A15-
A8
Hi-Z A7-A0Hi-Z DI
N
Hi-Z
Read-Status-Register (RDSR) 05H Hi-Z X DOU
T
- Note
9
9. The Read-Status-Register is continuous with ongoing clock cycles until terminated by a low to high transition on CE#.
- Note
9
- Note9
Enable-Write-Status-Register
(EWSR)10
50H Hi-Z - - - - - - - -
Write-Status-Register
(WRSR)10
01H Hi-Z Data Hi-Z - - -. - - -
Write-Enable (WREN) 06H Hi-Z - - - - - - - -
Write-Disable (WRDI) 04H Hi-Z - - - - - - - -
Read-ID 90H or
ABH
Hi-Z 00H Hi-Z 00H Hi-Z ID
Addr11
Hi-Z X DOUT
12
T5.0 25078