©2011 Silicon Storage Technology, Inc. DS25051A 09/11
19
4 Mbit SPI Serial Flash
SST25VF040B
Data Sheet
A
Microchip Technology Company
Enable-Write-Status-Register (EWSR)
The Enable-Write-Status-Register (EWSR) instruction arms the Write-Status-Register (WRSR)
instruction and opens the status register for alteration. The Write-Status-Register instruction must be
executed immediately after the execution of the Enable-Write-Status-Register instruction. This two-
step instruction sequence of the EWSR instruction followed by the WRSR instruction works like SDP
(software data protection) command structure which prevents any accidental alteration of the status
register values. CE# must be driven low before the EWSR instruction is entered and must be driven
high before the EWSR instruction is executed.
Write-Status-Register (WRSR)
The Write-Status-Register instruction writes new values to the BP3, BP2, BP1, BP0, and BPL bits of
the status register. CE# must be driven low before the command sequence of the WRSR instruction is
entered and driven high before the WRSR instruction is executed. See Figure 19 for EWSR or WREN
and WRSR instruction sequences.
Executing the Write-Status-Register instruction will be ignored when WP# is low and BPL bit is set to
“1”. When the WP# is low, the BPL bit can only be set from “0” to “1” to lock-down the status register,
but cannot be reset from “1” to “0”. When WP# is high, the lock-down function of the BPL bit is disabled
and the BPL, BP0, and BP1 and BP2 bits in the status register can all be changed. As long as BPL bit
is set to 0 or WP# pin is driven high (V
IH
) prior to the low-to-high transition of the CE# pin at the end of
the WRSR instruction, the bits in the status register can all be altered by the WRSR instruction. In this
case, a single WRSR instruction can set the BPL bit to “1” to lock down the status register as well as
altering the BP0, BP1, and BP2 bits at the same time. See Table 2 for a summary description of WP#
and BPL functions.
Figure 19:Enable-Write-Status-Register (EWSR) or Write-Enable (WREN) and Write-Sta-
tus-Register (WRSR) Sequence
1295 EWSR.0
MODE 3
HIGH IMPEDANCE
MODE 0
STATUS
REGISTER IN
76543210
MSBMSBMSB
01
MODE 3
SCK
SI
SO
CE#
MODE 0
50 or 06
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
©2011 Silicon Storage Technology, Inc. DS25051A 09/11
20
4 Mbit SPI Serial Flash
SST25VF040B
Data Sheet
A
Microchip Technology Company
JEDEC Read-ID
The JEDEC Read-ID instruction identifies the device as SST25VF040B and the manufacturer as SST.
The device information can be read from executing the 8-bit command, 9FH. Following the JEDEC
Read-ID instruction, the 8-bit manufacturer’s ID, BFH, is output from the device. After that, a 16-bit
device ID is shifted out on the SO pin. Byte 1, BFH, identifies the manufacturer as SST. Byte 2, 25H,
identifies the memory type as SPI Serial Flash. Byte 3, 8DH, identifies the device as SST25VF040B.
The instruction sequence is shown in Figure 20. The JEDEC Read ID instruction is terminated by a low
to high transition on CE# at any time during data output.
Figure 20:JEDEC Read-ID Sequence
Table 6: JEDEC Read-ID Data
Manufacturer’s ID Device ID
Memory Type Memory Capacity
Byte1 Byte 2 Byte 3
BFH 25H 8DH
T6.0 25051
25 8D
1295 JEDECID.1
CE#
SO
SI
SCK
012345678
HIGH IMPEDANCE
15 1614 28 29 30 31
BF
MODE 3
MODE 0
MSBMSB
9 10111213 1718 32 34
9F
19 20 21 22 23 3324 25 26 27
©2011 Silicon Storage Technology, Inc. DS25051A 09/11
21
4 Mbit SPI Serial Flash
SST25VF040B
Data Sheet
A
Microchip Technology Company
Read-ID (RDID)
The Read-ID instruction (RDID) identifies the devices as SST25VF040B and manufacturer as SST.
This command is backward compatible to all SST25xFxxxA devices and should be used as default
device identification when multiple versions of SPI Serial Flash devices are used in a design. The
device information can be read from executing an 8-bit command, 90H or ABH, followed by address
bits [A
23
-A
0
]. Following the Read-ID instruction, the manufacturer’s ID is located in address 00000H
and the device ID is located in address 00001H. Once the device is in Read-ID mode, the manufac-
turer’s and device ID output data toggles between address 00000H and 00001H until terminated by a
low to high transition on CE#.
Refer to Tables 6 and 7 for device identification data.
Figure 21:Read-ID Sequence
Table 7: Product Identification
Address Data
Manufacturer’s ID 00000H BFH
Device ID
SST25VF040B 00001H 8DH
T7.0 25051
1295 RdID.0
CE#
SO
SI
SCK
00
012345678
00 ADD
1
90 or AB
HIGH IMPEDANCE
15 16
23
24
31
32
39
40
47 48 55 56 63
BF
Device ID
BF
Device ID
Note: The manufacturer s and device ID output stream is continuous until terminated by a low to high transition on CE#.
Device ID = 8DH for SST25VF040B
1. 00H will output the manfacturer s ID first and 01H will output device ID first before toggling between the two.
HIGH
IMPEDANCE
MODE 3
MODE 0
MSB MSB
MSB

SST25VF040B-80-4I-QAE-T

Mfr. #:
Manufacturer:
Microchip Technology
Description:
NOR Flash 2.7V to 3.6V 4Mbit SPI Serial Flash
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union