W25Q40BW
1.8V 4M-BIT
SERIAL FLASH MEMORY WITH
DUAL AND QUAD SPI
-1-
Publication Release Date: October 11, 2013
Revision F
W25Q40BW
Table of Contents
1.
GENERAL DESCRIPTION ............................................................................................................... 5
2.
FEATURES ....................................................................................................................................... 5
3.
PIN CONFIGURATION SOIC/VSOP 150-MIL ................................................................................. 6
4.
PAD CONFIGURATION WSON 6X5-MM, USON 2X3-MM ............................................................. 6
5.
PIN DESCRIPTION SOIC/VSOP 150-MIL, WSON 6X5-MM & USON 2X3-MM ............................. 6
5.1
Package Types ..................................................................................................................... 7
5.2
Chip Select (/CS) .................................................................................................................. 7
5.3
Serial Data Input, Output and IOs (DI, DO and IO0, IO1, IO2, IO3) .................................... 7
5.4
Write Protect (/WP)............................................................................................................... 7
5.5
HOLD (/HOLD) ..................................................................................................................... 7
5.6
Serial Clock (CLK) ................................................................................................................ 7
6.
BLOCK DIAGRAM ............................................................................................................................ 8
7.
FUNCTIONAL DESCRIPTION ......................................................................................................... 9
7.1
7.2
SPI OPERATIONS ............................................................................................................... 9
7.1.1
Standard SPI Instructions ....................................................................................................... 9
7.1.2
Dual SPI Instructions .............................................................................................................. 9
7.1.3
Quad SPI Instructions ............................................................................................................ 9
7.1.4
Hold Function ......................................................................................................................... 9
WRITE PROTECTION ....................................................................................................... 10
7.2.1
8.
Write Protect Features ......................................................................................................... 10
CONTROL AND STATUS REGISTERS ........................................................................................ 11
8.1
8.2
STATUS REGISTER .......................................................................................................... 11
8.1.1
BUSY ................................................................................................................................... 11
8.1.2
Write Enable Latch (WEL) .................................................................................................... 11
8.1.3
Block Protect Bits (BP2, BP1, BP0) ...................................................................................... 11
8.1.4
Top/Bottom Block Protect (TB) ............................................................................................. 11
8.1.5
Sector/Block Protect (SEC) .................................................................................................. 11
8.1.6
Complement Protect (CMP) ................................................................................................. 12
8.1.7
Status Register Protect (SRP1, SRP0) ................................................................................ 12
8.1.8
Erase/Program Suspend Status (SUS) ................................................................................ 12
8.1.9
Security Register Lock Bits (LB3, LB2, LB1, LB0) ................................................................ 12
8.1.10
Quad Enable (QE) .............................................................................................................. 13
8.1.11
Status Register Memory Protection (CMP = 0)................................................................... 14
8.1.12
Status Register Memory Protection (CMP = 1)................................................................... 15
INSTRUCTIONS................................................................................................................. 16
8.2.1
Manufacturer and Device Identification ................................................................................ 16
8.2.2
Instruction Set Table 1 (Erase, Program Instructions)(1) ....................................................... 17
-2-
W25Q40BW
9.
8.2.3
Instruction Set Table 2 (Read Instructions) .......................................................................... 18
8.2.4
Instruction Set Table 3 (ID, Security Instructions) ................................................................ 19
8.2.5
Write Enable (06h) ............................................................................................................... 20
8.2.6
Write Enable for Volatile Status Register (50h) .................................................................... 20
8.2.7
Write Disable (04h) ............................................................................................................... 21
8.2.8
Read Status Register-1 (05h) and Read Status Register-2 (35h)......................................... 22
8.2.9
Write Status Register (01h) .................................................................................................. 22
8.2.10
Read Data (03h) ................................................................................................................. 24
8.2.11
Fast Read (0Bh) ................................................................................................................. 25
8.2.12
Fast Read Dual Output (3Bh) ............................................................................................. 26
8.2.13
Fast Read Quad Output (6Bh)............................................................................................ 27
8.2.14
Fast Read Dual I/O (BBh)................................................................................................... 28
8.2.15
Fast Read Quad I/O (EBh) ................................................................................................. 30
8.2.16
Word Read Quad I/O (E7h) ................................................................................................ 32
8.2.17
Octal Word Read Quad I/O (E3h) ....................................................................................... 34
8.2.18
Set Burst with Wrap (77h) .................................................................................................. 36
8.2.19
Continuous Read Mode Bits (M7-0) ................................................................................... 37
8.2.20
Continuous Read Mode Reset (FFh or FFFFh) .................................................................. 37
8.2.21
Page Program (02h) ........................................................................................................... 38
8.2.22
Quad Input Page Program (32h) ........................................................................................ 39
8.2.23
Sector Erase (20h) ............................................................................................................. 40
8.2.24
32KB Block Erase (52h) ..................................................................................................... 41
8.2.25
64KB Block Erase (D8h)..................................................................................................... 42
8.2.26
Chip Erase (C7h / 60h) ....................................................................................................... 43
8.2.27
Erase / Program Suspend (75h) ......................................................................................... 44
8.2.28
Erase / Program Resume (7Ah) ......................................................................................... 45
8.2.29
Power-down (B9h) .............................................................................................................. 46
8.2.30
Release Power-down / Device ID (ABh) ............................................................................. 47
8.2.31
Read Manufacturer / Device ID (90h) ................................................................................. 49
8.2.32
Read Manufacturer / Device ID Dual I/O (92h) ................................................................... 50
8.2.33
Read Manufacturer / Device ID Quad I/O (94h) ................................................................. 51
8.2.34
Read Unique ID Number (4Bh) .......................................................................................... 52
8.2.35
Read JEDEC ID (9Fh) ........................................................................................................ 53
8.2.36
Erase Security Registers (44h) ........................................................................................... 54
8.2.37
Program Security Registers (42h) ...................................................................................... 55
8.2.38
Read Security Registers (48h) ........................................................................................... 56
ELECTRICAL CHARACTERISTICS .............................................................................................. 57
9.1
Absolute Maximum Ratings (1) .......................................................................................... 57
9.2
Operating Ranges .............................................................................................................. 57
9.3
Power-Up Power-Down Timing and Requirements ........................................................... 58
-3-
Publication Release Date: October 11, 2013
Revision F
W25Q40BW
10.
11.
9.4
DC Electrical Characteristics .............................................................................................. 59
9.5
AC Measurement Conditions ............................................................................................. 60
9.6
AC Electrical Characteristics .............................................................................................. 61
9.7
AC Electrical Characteristics (cont’d) ................................................................................. 62
9.8
Serial Output Timing ........................................................................................................... 63
9.9
Serial Input Timing.............................................................................................................. 63
9.10
HOLD Timing ...................................................................................................................... 63
9.11
WP Timing .......................................................................................................................... 63
PACKAGE SPECIFICATION .......................................................................................................... 64
10.1
8-Pin SOIC 150-mil (Package Code SN) ........................................................................... 64
10.2
8-Pin VSOP 150-mil (Package Code SV) .......................................................................... 65
10.3
8-Pad WSON 6x5mm (Package Code ZP) ........................................................................ 66
10.4
8-Pad USON 2x3-mm (Package Code UX, W25Q40BWUXIG) ........................................ 69
10.5
8-Pad USON 2x3x0.6-mm^³ (Package Code UX, W25Q40BWUXIE) ............................... 70
10.6
Ordering Information .......................................................................................................... 71
10.7
Valid Part Numbers and Top Side Marking ........................................................................ 72
REVISION HISTORY ...................................................................................................................... 73
-4-
W25Q40BW
1. GENERAL DESCRIPTION
The W25Q40BW (4M-bit) Serial Flash memory provides a storage solution for systems with limited space,
pins and power. The 25Q series offers flexibility and performance well beyond ordinary Serial Flash
devices. They are ideal for code shadowing to RAM, executing code directly from Dual/Quad SPI (XIP)
and storing voice, text and data. The device operates on a single 1.65V to 1.95V power supply with
current consumption as low as 4mA active and 1µA for power-down. All devices are offered in spacesaving packages.
The W25Q40BW array is organized into 2,048 programmable pages of 256-bytes each. Up to 256 bytes
can be programmed at a time. Pages can be erased in groups of 16 (4KB sector erase), groups of 128
(32KB block erase), groups of 256 (64KB block erase) or the entire chip (chip erase). The W25Q40BW
has 128 erasable sectors and 8 erasable blocks respectively. The small 4KB sectors allow for greater
flexibility in applications that require data and parameter storage. (See figure 2.)
The W25Q40BW supports the standard Serial Peripheral Interface (SPI), and a high performance
Dual/Quad output as well as Dual/Quad I/O SPI: Serial Clock, Chip Select, Serial Data I/O0 (DI), I/O1
(DO), I/O2 (/WP), and I/O3 (/HOLD). SPI clock frequencies of up to 80MHz are supported allowing
equivalent clock rates of 160MHz (80MHz x 2) for Dual I/O and 320MHz (80MHz x 4) for Quad I/O when
using the Fast Read Dual/Quad I/O instructions. These transfer rates can outperform standard
Asynchronous 8 and 16-bit Parallel Flash memories. The Continuous Read Mode allows for efficient
memory access with as few as 8-clocks of instruction-overhead to read a 24-bit address, allowing true
XIP (execute in place) operation.
A Hold pin, Write Protect pin and programmable write protection, with top, bottom or complement array
control, provide further control flexibility. Additionally, the device supports JEDEC standard manufacturer
and device identification with a 64-bit Unique Serial Number.
2. FEATURES
Family of SpiFlash Memories
– W25Q40BW: 4M-bit/512K-byte (524,288)
– 256-byte per programmable page
– Standard SPI: CLK, /CS, DI, DO, /WP, /Hold
– Dual SPI: CLK, /CS, IO0, IO1, /WP, /Hold
– Quad SPI: CLK, /CS, IO0, IO1, IO2, IO3
Low Power, Wide Temperature Range
– Single 1.65 to 1.95V supply
– 4mA active current,