W25Q40EW 1.8V 4M-BIT SERIAL FLASH MEMORY WITH DUAL/QUAD SPI & QPI Publication Release Date: August 18, 2018 - 1 - Preliminar y-Revision J W25Q40EW Table of Contents 1. GENERAL DESCRIPTIONS ............................................................................................................. 5 2. FEATURES ....................................................................................................................................... 5 3. PACKAGE TYPES: ........................................................................................................................... 6 3.1 Pin Configuration SOIC 150-mil AND VSOP 150-mil ........................................................... 6 3.2 PAD Configuration WSON 6x5-MM / USON 2x3-mm / USON 4x3-mm .............................. 6 3.3 Pin Description SOIC / VSOP 150-mil, WSON 6x5-MM, USON 2x3-mm / 4x3-mm............ 6 3.4 Ball Configuration WLCSP ................................................................................................... 7 3.5 Ball Description WLCSP ....................................................................................................... 7 4. PIN DESCRIPTIONS ........................................................................................................................ 8 4.1 Chip Select (/CS) .................................................................................................................. 8 4.2 Serial Data Input, Output and IOs (DI, DO and IO0, IO1, IO2, IO3) ..................................... 8 4.3 Write Protect (/WP) .............................................................................................................. 8 4.4 HOLD (/HOLD) ..................................................................................................................... 8 4.5 Serial Clock (CLK) ................................................................................................................ 8 5. BLOCK DIAGRAM ............................................................................................................................ 9 6. FUNCTIONAL DESCRIPTION ....................................................................................................... 10 6.1 SPI / QPI Operations .......................................................................................................... 10 6.2 SPI OPERATIONS ............................................................................................................. 10 6.2.1 Standard SPI Instructions ..................................................................................................... 10 6.2.2 Dual SPI Instructions ............................................................................................................ 10 6.2.3 Quad SPI Instructions ........................................................................................................... 11 6.3 QPI Instructions .................................................................................................................. 11 6.3.1 Hold Function ....................................................................................................................... 11 6.4 WRITE PROTECTION ....................................................................................................... 12 6.4.1 Write Protect Features ......................................................................................................... 12 7. STATUS REGISTERS AND INSTRUCTIONS ............................................................................... 13 7.1 STATUS REGISTERs ........................................................................................................ 13 7.1.1 BUSY BUSY Status (BUSY) Status Only ....................................................................... 13 7.1.2 Write Enable Latch Status (WEL) Status Only ............................................................... 13 7.1.3 Block Protect Bits (BP2, BP1, BP0) Volatile/Non-Volatile Writable ................................ 13 7.1.4 Top/Bottom Block Protect (TB) Volatile/Non-Volatile Writable ....................................... 13 7.1.5 Sector/Block Protect (SEC) Volatile/Non-Volatile Writable ............................................ 13 7.1.6 Complement Protect (CMP) Volatile/Non-Volatile Writable .................................................. 14 7.1.7 Status Register Protect (SRP, SRL) Volatile/Non-Volatile Writable ..................................... 14 7.1.8 Erase/Program Suspend Status (SUS) Status Only ........................................................ 15 7.1.9 Security Register Lock Bits (LB 3:0 ) Volatile/Non-Volatile OTP Writable ...................... 15 - 2 -