Preliminary: Uniform Sector 16mbit Dual and Quad Spi Flash Gd25Q16
Preliminary: Uniform Sector 16mbit Dual and Quad Spi Flash Gd25Q16
Preliminary: Uniform Sector 16mbit Dual and Quad Spi Flash Gd25Q16
FEATURES
◆ 16M-bit Serial Flash ◆ Program/Erase Speed
-2048K-byte -Page Program time: 0.7ms typical
-256 bytes per programmable page -Sector Erase time: 50ms typical
-Block Erase time: 0.2/0.28/0.6s typical
◆ Standard, Dual, Quad SPI -Chip Erase time: 10s typical
-Standard SPI: SCLK, CS#, SI, SO, WP#, HOLD#
-Dual SPI: SCLK, CS#, IO0, IO1, WP#, HOLD# ◆ Flexible Architecture
-Quad SPI: SCLK, CS#, IO0, IO1, IO2, IO3 -Sector of 4K-byte
-Block of 32/64/128K-byte
y
◆ High Speed Clock Frequency
-120MHz for fast read with 30PF load ◆ Low Power Consumption
-Dual I/O Data transfer up to 180Mbits/s -20mA maximum active current
ar
-Quad I/O Data transfer up to 360Mbits/s -5uA maximum power down current
GENERAL DESCRIPTION
im
The GD25Q16 (16M-bit) SPI flash supports the standard Serial Peripheral Interface (SPI), and supports the
Dual/Quad SPI: Serial Clock, Chip Select, Serial Data I/O0 (SI), I/O1 (SO), I/O2 (WP#), and I/O3 (HOLD#). The Dual I/O
data is transferred with speed of 180Mbits/s and the Quad I/O & Quad output data is transferred with speed of
360Mbits/s.
el
CONNECTION DIAGRAM
Pr
CS# 1 8 VCC
SO 2 7 HOLD#
Top View
WP# 3 6 SCLK
VSS 4 5 SI
8–LEAD SOP/DIP
1
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
PIN DESCRIPTION
Pin Name I/O Description
CS# I Chip Select Input
SO (IO1) I/O Data Output (Data Input Output 1)
WP# (IO2) I/O Write Protect Input (Data Input Output 2)
VSS Ground
SI (IO0) I/O Data Input (Data Input Output 0)
SCLK I Serial Clock Input
HOLD# (IO3) I/O Hold Input (Data Input Output 3)
VCC Power Supply
y
BLOCK DIAGRAM
ar
WP#(IO2) Write Control
Logic
Status
Write Protect Logic
Register
and Row Decode
HOLD#(IO3)
SPI
in
High Voltage
Generators
Flash
Memory
2
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
MEMORY ORGANIZATION
Each device has Each block has Each sector has Each page has
2M 128/64/32K 4K 256 bytes
8K 512/256/128 16 - pages
512 32/16/8 - - sectors
16/32/64 - - - blocks
y
511 1FF000H 1FFFFFH
31 …… …… ……
ar
496 1F0000H 1F0FFFH
495 1EF000H 1EFFFFH
30 …… …… ……
480 1E0000H 1E0FFFH
……
……
……
in ……
……
……
……
…… …… ……
…… …… ……
im
…… …… …… ……
…… …… ……
47 02F000H 02FFFFH
2 …… …… ……
32 020000H 02FFFFH
el
31 01F000H 01FFFFH
1 …… …… ……
16 010000H 010FFFH
Pr
15 00F000H 00FFFFH
0 …… …… ……
0 000000H 000FFFH
3
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
DEVICE OPERATION
SPI Mode
Standard SPI
The GD25Q16 features a serial peripheral interface on 4 signals bus: Serial Clock (SCLK), Chip Select (CS#), Serial
Data Input (SI) and Serial Data Output (SO). Both SPI bus mode 0 and 3 are supported. Input data is latched on the rising
edge of SCLK and data shifts out on the falling edge of SCLK.
Dual SPI
The GD25Q16 supports Dual SPI operation when using the “Dual Output Fast Read” and “Dual I/O Fast Read” (3BH
and BBH) commands. These commands allow data to be transferred to or from the device at two times the rate of the
y
standard SPI. When using the Dual SPI command the SI and SO pins become bidirectional I/O pins: IO0 and IO1.
Quad SPI
ar
The GD25Q16 supports Quad SPI operation when using the “Quad Output Fast Read”,” Quad I/O Fast Read”, “Quad
I/O Word Fast Read” (6BH, EBH, E7H) commands. These commands allow data to be transferred to or from the device at
four times the rate of the standard SPI. When using the Quad SPI command the SI and SO pins become bidirectional I/O
pins: IO0 and IO1, and WP# and HOLD# pins become IO2 and IO3. Quad SPI commands require the non-volatile Quad
Enable bit (QE) in Status Register to be set.
in
Hold
The HOLD# signal goes low to stop any serial communications with the device, but doesn’t stop the operation of write
im
status register, programming, or erasing in progress.
The operation of HOLD, need CS# keep low, and starts on falling edge of the HOLD# signal, with SCLK signal being
low (if SCLK is not being low, HOLD operation will not start until SCLK being low). The HOLD condition ends on rising edge
of HOLD# signal with SCLK being low (If SCLK is not being low, HOLD operation will not end until SCLK being low).
The SO is high impedance, both SI and SCLK don’t care during the HOLD operation, if CS# drives high during HOLD
el
operation, it will reset the internal logic of the device. To re-start communication with chip, the HOLD# must be at high and
then CS# must be at low.
Figure1. Hold Condition
Pr
CS#
SCLK
HOLD#
HOLD HOLD
4
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
Data Protection
The GD25Q16 provide the following data protection methods:
◆ Write Enable (WREN) command: The WREN command is set the Write Enable Latch bit (WEL). The WEL bit will
return to reset by the following situation:
-Power-Up
-Write Disable (WRDI)
-Write Status Register (WRSR)
-Page Program (PP)
-Sector Erase (SE)
-Block Erase (BE)
-Chip Erase (CE)
y
◆ Software Protection Mode: The Block Protect (BP4, BP3, BP2, BP1, BP0) bits define the section of the memory
array that can be read but not change.
ar
◆ Hardware Protection Mode: WP# going low to protected the BP0~BP4 bits and SRP0~1 bits.
◆ Deep Power-Down Mode: In Deep Power-Down Mode, all commands are ignored except the Release from Deep
Power-Down Mode command.
Table1. GD25Q16 Protected area size
BP4
Status Register Content
5
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
Status Register
S15-S10 S9 S8 S7 S6 S5 S4 S3 S2 S1 S0
Reserved QE SRP1 SRP0 BP4 BP3 BP2 BP1 BP0 WEL WIP
The status and control bits of the Status Register are as follows:
WIP bit.
The Write In Progress (WIP) bit indicates whether the memory is busy in program/erase/write status register progress.
When WIP bit sets to 1, means the device is busy in program/erase/write status register progress, when WIP bit sets 0,
means the device is not in program/erase/write status register progress.
WEL bit.
The Write Enable Latch (WEL) bit indicates the status of the internal Write Enable Latch. When set to 1 the internal
Write Enable Latch is set, when set to 0 the internal Write Enable Latch is reset and no Write Status Register, Program or
y
Erase command is accepted.
BP4, BP3, BP2, BP1, BP0 bits.
ar
The Block Protect (BP4, BP3, BP2, BP1, BP0) bits are non-volatile. They define the size of the area to be software
protected against Program and Erase commands. These bits are written with the Write Status Register (WRSR) command.
When the Block Protect (BP4, BP3, BP2, BP1, BP0) bits are set to 1, the relevant memory area (as defined in
Table1).becomes protected against Page Program (PP), Sector Erase (SE) and Block Erase (BE) commands. The Block
in
Protect (BP4, BP3, BP2, BP1, BP0) bits can be written provided that the Hardware Protected mode has not been set. The
Chip Erase (CE) command is executed, only if the Block Protect (BP2, BP1, BP0) bits are 0.
SRP1, SRP0 bits.
The Status Register Protect (SRP1 and SRP0) bits are non-volatile Read/Write bits in the status register. The SRP
im
bits control the method of write protection: software protection, hardware protection, power supply lock-down or one time
programmable protection.
SRP1 SRP0 #WP Status Register Description
The Status Register can be written to after a Write Enable
0 0 X Software Protected
command, WEL=1.(Default)
el
WP#=0, the Status Register locked and can not be written to.
0 1 0 Hardware Protected
6
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
COMMANDS DESCRIPTION
All commands, addresses and data are shifted in and out of the device, beginning with the most significant bit on the
first rising edge of SCLK after CS# is driven low. Then, the one-byte command code must be shifted in to the device, most
significant bit first on SI, each bit being latched on the rising edges of SCLK.
See Table2, every command sequence starts with a one-byte command code. Depending on the command, this
might be followed by address bytes, or by data bytes, or by both or none. CS# must be driven high after the last bit of the
command sequence has been shifted in. For the command of Read, Fast Read, Read Status Register or Release from
Deep Power-Down, and Read Device ID, the shifted-in command sequence is followed by a data-out sequence. CS# can
be driven high after any bit of the data-out sequence is being shifted out.
For the command of Page Program, Sector Erase, Block Erase, Chip Erase, Write Status Register, Write Enable,
y
Write Disable or Deep Power-Down command, CS# must be driven high exactly at a byte boundary, otherwise the
command is rejected, and is not executed. That is CS# must driven high when the number of clock pulses after CS# being
driven low is an exact multiple of eight. For Page Program, if at any time the input byte is not a full byte, nothing will happen
ar
and WEL will not be reset.
Table2. Commands
Command Name Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 n-Bytes
Write Enable 06H
Write Disable 04H
Read Status Register
Read Status Register-1
05H
35H
(S7-S0)
(S15-S8)
in (continuous)
(continuous)
Write Status Register 01H (S7-S0) (S15-S8)
Read Data 03H A23-A16 A15-A8 A7-A0 (D7-D0) (Next byte) (continuous)
im
Fast Read 0BH A23-A16 A15-A8 A7-A0 dummy (D7-D0) (continuous)
Dual Output 3BH A23-A16 A15-A8 A7-A0 dummy (D7-D0)(1) (continuous)
Fast Read
A23-A8(2) (1)
Dual I/O BBH A7-A0 (D7-D0) (continuous)
Fast Read M7-M0(2)
Quad Output 6BH A23-A16 A15-A8 A7-A0 dummy (D7-D0)(3) (continuous)
Fast Read
el
(5)
Quad I/O EBH A23-A0 dummy (D7-D0)(3) (continuous)
Fast Read M7-M0(4)
(6)
Quad I/O Word E7H A23-A0 dummy (D7-D0)(3) (continuous)
Fast Read(7) M7-M0(4)
Continuous Read Reset FFH
Pr
7
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
Manufacturer/
90H dummy dummy 00H (M7-M0) (ID7-ID0) (continuous)
Device ID
High Performance Mode A3H dummy dummy dummy
Read Identification 9FH (M7-M0) (ID15-ID8) (ID7-ID0) (continuous)
NOTE:
1. Dual Output data
IO0 = (D6, D4, D2, D0)
IO1 = (D7, D5, D3, D1)
2. Dual Input Address
IO0 = A22, A20, A18, A16, A14, A12, A10, A8 A6, A4, A2, A0, M6, M4, M2, M0
IO1 = A23, A21, A19, A17, A15, A13, A11, A9 A7, A5, A3, A1, M7, M5, M3, M1
y
3. Quad Output Data
IO0 = (D4, D0, …..)
IO1 = (D5, D1, …..)
ar
IO2 = (D6, D2, …..)
IO3 = (D7, D3,…..)
4. Quad Input Address
IO0 = A20, A16, A12, A8, A4, A0, M4, M0
IO1 = A21, A17, A13, A9, A5, A1, M5, M1
IO2 = A22, A18, A14, A10, A6, A2, M6, M2
in
IO3 = A23, A19, A15, A11, A7, A3, M7, M3
5. Fast Read Quad I/O Data
im
IO0 = (x, x, x, x, D4, D0,…)
IO1 = (x, x, x, x, D5, D1,…)
IO2 = (x, x, x, x, D6, D2,…)
IO3 = (x, x, x, x, D7, D3,…)
6. Fast Word Read Quad I/O Data
el
7. Fast Word Read Quad I/O Data: the lowest address bit must be 0.
Table of ID Definitions:
Operation Code M7-M0 ID15-ID8 ID7-ID0
9FH C8 40 15
90H C8 14
ABH 14
8
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
CS#
0 1 2 3 4 5 6 7
SCLK
Command
SI
y
06H
High-Z
SO
ar
Write Disable (WRDI) (04H)
The Write Disable command is for resetting the Write Enable Latch (WEL) bit. The Write Disable command sequence:
CS# goes lowÆSending the Write Disable command ÆCS# goes high. The WEL bit is reset by following condition:
in
Power-up and upon completion of the Write Status Register, Page Program, Sector Erase, Block Erase and Chip Erase
commands.
Figure3. Write Disable Sequence Diagram
CS#
im
0 1 2 3 4 5 6 7
SCLK
Command
SI
04H
High-Z
SO
el
any time, even while a Program, Erase or Write Status Register cycle is in progress. When one of these cycles is in
progress, it is recommended to check the Write In Progress (WIP) bit before sending a new command to the device. It is
also possible to read the Status Register continuously. For command code “05H”, the SO will output Status Register bits
S7~S0. The command code “35H”, the SO will output Status Register bits S15~S8.
Figure4. Read Status Register Sequence Diagram
CS#
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCLK
Command
SI
05H or 35H
S7~S0 or S15~S8 out S7~S0 or S15~S8 out
SO High-Z
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7
MSB MSB
9
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
The Write Status Register (WRSR) command allows the user to change the values of the Block Protect (BP4, BP3,
BP2, BP1, BP0) bits, to define the size of the area that is to be treated as read-only, as defined in Table1. The Write Status
ar
Register (WRSR) command also allows the user to set or reset the Status Register Protect (SRP1 and SRP0) bits in
accordance with the Write Protect (WP#) signal. The Status Register Protect (SRP1 and SRP0) bits and Write Protect
(WP#) signal allow the device to be put in the Hardware Protected Mode. The Write Status Register (WRSR) command is
not executed once the Hardware Protected Mode is entered.
CS#
in
Figure5. Write Status Register Sequence Diagram
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
SCLK
im
Command Status Register in
SI 01 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8
MSB High-Z
SO
el
Max frequency fR, during the falling edge of SCLK. The first byte addressed can be at any location. The address is
automatically incremented to the next higher address after each byte of data is shifted out. The whole memory can,
therefore, be read with a single Read Data Bytes (READ) command. Any Read Data Bytes (READ) command, while an
Erase, Program or Write cycle is in progress, is rejected without having any effects on the cycle that is in progress.
Figure6. Read Data Bytes Sequence Diagram
CS#
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31 32 33 34 35 36 37 38 39
SCLK
10
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
CS#
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31
SCLK
y
Command 24-bit address
SI
0B 23 22 21 3 2 1 0
ar
SO High-Z
CS#
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
SCLK
SI 7 6
Dummy Byte
5 4 3
in
2 1 0
Data Out1 Data Out2
SO 7 6 5 4 3 2 1 0 7 6 5
MSB MSB
im
Dual Output Fast Read (3BH)
The Dual Output Fast Read command is followed by 3-byte address (A23-A0) and a dummy byte, each bit being
latched in during the rising edge of SCLK, then the memory contents are shifted out 2-bit per clock cycle from SI and SO.
The command sequence is shown in followed Figure8. The first byte addressed can be at any location. The address is
automatically incremented to the next higher address after each byte of data is shifted out.
el
CS#
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31
Pr
SCLK
SO High-Z
CS#
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
SCLK
Dummy Clocks
SI 6 4 2 0 6 4 2 0 6
Data Out1 Data Out2
SO 7 5 3 1 7 5 3 1 7
MSB MSB
11
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
CS#
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31
SCLK
y
SI(IO0) 6B 23 22 21 3 2 1 0
SO(IO1) High-Z
WP#(IO2) High-Z
ar
HOLD#(IO3) High-Z
CS#
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
SCLK
SI(IO0)
Dummy Clocks
in 4 0 4 0 4 0 4 0 4
SO(IO1) 5 1 5 1 5 1 5 1 5
im
WP#(IO2) 6 2 6 2 6 2 6 2 6
HOLD#(IO3) 7 3 7 3 7 3 7 3 7
Byte1 Byte2 Byte3 Byte4
el
during the rising edge of SCLK, then the memory contents are shifted out 2-bit per clock cycle from SI and SO. The
command sequence is shown in followed Figure10. The first byte addressed can be at any location. The address is
automatically incremented to the next higher address after each byte of data is shifted out. To ensure optimum
performance the High Performance Mode (HPM) command (A3H) must be executed once, prior to the Dual I/O Fast Read
command.
Dual I/O Fast Read with “Continuous Read Mode”
The Dual I/O Fast Read command can further reduce command overhead through setting the “Continuous Read
Mode” bits (M7-0) after the input 3-byte address (A23-A0). If the “Continuous Read Mode” bits (M7-0) =AXH, then the next
Dual I/O Fast Read command (after CS# is raised and then lowered) does not require the BBH command code. The
command sequence is shown in followed Figure11. If the “Continuous Read Mode” bits (M7-0) are any value other than
AXH, the next command requires the first BBH command code, thus returning to normal operation. A “Continuous Read
Mode” Reset command can be used to reset (M7-0) before issuing normal command.
12
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
Figure10. Dual I/O Fast Read Sequence Diagram (M7-0= 0XH or not AXH)
CS#
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
SCLK
Command
SI(IO0) BB 6 4 2 0 6 4 2 0 6 4 2 0 6 4 2 0
SO(IO1) 7 5 3 1 7 5 3 1 7 5 3 1 7 5 3 1
A23-16 A15-8 A7-0 M7-0
CS#
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
y
SCLK
SI(IO0)
ar
6 4 2 0 6 4 2 0 6 4 2 0 6 4 2 0 6
SO(IO1) 7 5 3 1 7 5 3 1 7 5 3 1 7 5 3 1 7
Byte1 Byte2 in Byte3 Byte4
6 4 2 0 6 4 2 0 6 4 2 0 6 4 2 0
el
7 5 3 1 7 5 3 1 7 5 3 1 7 5 3 1
A23-16 A15-8 A7-0 M7-0
CS#
Pr
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
SCLK
SI(IO0) 6 4 2 0 6 4 2 0 6 4 2 0 6 4 2 0 6
SO(IO1) 7 5 3 1 7 5 3 1 7 5 3 1 7 5 3 1 7
Byte1 Byte2 Byte3 Byte4
13
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
Quad I/O Fast Read command (after CS# is raised and then lowered) does not require the EBH command code. The
command sequence is shown in followed Figure13. If the “Continuous Read Mode” bits (M7-0) are any value other than
ar
AXH, the next command requires the first EBH command code, thus returning to normal operation. A “Continuous Read
Mode” Reset command can be used to reset (M7-0) before issuing normal command.
Figure12. Quad I/O Fast Read Sequence Diagram (M7-0= 0XH or not AXH)
CS#
SCLK
0 1 2 3 4 5
in
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Command
SI(IO0)
im
EB 4 0 4 0 4 0 4 0 4 0 4 0 4
SO(IO1) 5 1 5 1 5 1 5 1 5 1 5 1 5
WP#(IO2) 6 2 6 2 6 2 6 2 6 2 6 2 6
el
HOLD#(IO3) 7 3 7 3 7 3 7 3 7 3 7 3 7
A23-16 A15-8 A7-0 M7-0 Dummy Byte1 Byte2
CS#
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCLK
SI(IO0) 4 0 4 0 4 0 4 0 4 0 4 0 4
SO(IO1) 5 1 5 1 5 1 5 1 5 1 5 1 5
WP#(IO2) 6 2 6 2 6 2 6 2 6 2 6 2 6
HOLD#(IO3) 7 3 7 3 7 3 7 3 7 3 7 3 7
A23-16 A15-8 A7-0 M7-0 Dummy Byte1 Byte2
14
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
The command sequence is shown in followed Figure15. If the “Continuous Read Mode” bits (M7-0) are any value other
than AXH, the next command requires the first E7H command code, thus returning to normal operation. A “Continuous
ar
Read Mode” Reset command can be used to reset (M7-0) before issuing normal command.
Figure14. Quad I/O Word Fast Read Sequence Diagram (M7-0= 0XH or not AXH)
CS#
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
SCLK
Command
in
SI(IO0) E7 4 0 4 0 4 0 4 0 4 0 4 0 4 0 4
im
SO(IO1) 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5
WP#(IO2) 6 2 6 2 6 2 6 2 6 2 6 2 6 2 6
HOLD#(IO3) 7 3 7 3 7 3 7 3 7 3 7 3 7 3 7
el
Figure15. Quad I/O Word Fast Read Sequence Diagram (M7-0= AXH)
CS#
Pr
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCLK
SI(IO0) 4 0 4 0 4 0 4 0 4 0 4 0 4 0 4
SO(IO1) 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5
WP#(IO2) 6 2 6 2 6 2 6 2 6 2 6 2 6 2 6
HOLD#(IO3) 7 3 7 3 7 3 7 3 7 3 7 3 7 3 7
A23-16 A15-8 A7-0 M7-0 Dummy Byte1 Byte2 Byte3
15
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
addresses without having any effects on the other bytes of the same page. CS# must be driven high after the eighth bit of
the last data byte has been latched in; otherwise the Page Program (PP) command is not executed.
ar
As soon as CS# is driven high, the self-timed Page Program cycle (whose duration is tPP) is initiated. While the Page
Program cycle is in progress, the Status Register may be read to check the value of the Write In Progress (WIP) bit. The
Write In Progress (WIP) bit is 1 during the self-timed Page Program cycle, and is 0 when it is completed. At some
unspecified time before the cycle is completed, the Write Enable Latch (WEL) bit is reset.
in
A Page Program (PP) command applied to a page which is protected by the Block Protect (BP4, BP3, BP2, BP1, BP0)
is not executed.
Figure16. Page Program Sequence Diagram
CS#
im
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31 32 33 34 35 36 37 38 39
SCLK
CS#
2073
2075
2076
2078
2072
2074
2077
2079
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
SCLK
SI 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
MSB MSB MSB
16
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
completed, the Write Enable Latch (WEL) bit is reset. A Sector Erase (SE) command applied to a sector which is protected
by the Block Protect (BP4, BP3, BP2, BP1, BP0) bit (see Table1) is not executed.
ar
Figure17. Sector Erase Sequence Diagram
CS#
0 1 2 3 4 5 6 7 8 9 29 30 31
SCLK
SI
Command
20
in 23 22
MSB
24 Bits Address
2 1 0
im
32KB Block Erase (BE) (52H)
The 32KB Block Erase (BE) command is erased the all data of the chosen block. A Write Enable (WREN) command
must previously have been executed to set the Write Enable Latch (WEL) bit. The 32KB Block Erase (BE) command is
entered by driving CS# low, followed by the command code, and three address bytes on SI. Any address inside the block is
a valid address for the 32KB Block Erase (BE) command. CS# must be driven low for the entire duration of the sequence.
el
The 32KB Block Erase command sequence: CS# goes low Æ sending 32KB Block Erase command Æ 3-byte
address on SI Æ CS# goes high. The command sequence is shown in Figure18. CS# must be driven high after the eighth
bit of the last address byte has been latched in; otherwise the 32KB Block Erase (BE) command is not executed. As soon
as CS# is driven high, the self-timed Block Erase cycle (whose duration is tSE) is initiated. While the Block Erase cycle is in
Pr
progress, the Status Register may be read to check the value of the Write In Progress (WIP) bit. The Write In Progress
(WIP) bit is 1 during the self-timed Block Erase cycle, and is 0 when it is completed. At some unspecified time before the
cycle is completed, the Write Enable Latch (WEL) bit is reset. A 32KB Block Erase (BE) command applied to a block which
is protected by the Block Protect (BP4, BP3, BP2, BP1, BP0) bits (see Table1) is not executed.
Figure18. 32KB Block Erase Sequence Diagram
CS#
0 1 2 3 4 5 6 7 8 9 29 30 31
SCLK
17
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
cycle is completed, the Write Enable Latch (WEL) bit is reset. A 64KB Block Erase (BE) command applied to a block which
is protected by the Block Protect (BP4, BP3, BP2, BP1, BP0) bits (see Table1) is not executed.
ar
Figure19. 64KB Block Erase Sequence Diagram
CS#
0 1 2 3 4 5 6 7 8 9 29 30 31
SCLK
SI
Command
D8
in 23 22
MSB
24 Bits Address
2 1 0
im
128KB Block Erase (BE) (D2H)
The 128KB Block Erase (BE) command is erased the all data of the chosen block. A Write Enable (WREN) command
must previously have been executed to set the Write Enable Latch (WEL) bit. The 128KB Block Erase (BE) command is
entered by driving CS# low, followed by the command code, and three address bytes on SI. Any address inside the block is
a valid address for the 128KB Block Erase (BE) command. CS# must be driven low for the entire duration of the sequence.
el
The 128KB Block Erase command sequence: CS# goes low Æ sending 128KB Block Erase command Æ 3-byte
address on SI Æ CS# goes high. The command sequence is shown in Figure20. CS# must be driven high after the eighth
bit of the last address byte has been latched in; otherwise the 128KB Block Erase (BE) command is not executed. As soon
as CS# is driven high, the self-timed Block Erase cycle (whose duration is tSE) is initiated. While the Block Erase cycle is in
Pr
progress, the Status Register may be read to check the value of the Write In Progress (WIP) bit. The Write In Progress
(WIP) bit is 1 during the self-timed Block Erase cycle, and is 0 when it is completed. At some unspecified time before the
cycle is completed, the Write Enable Latch (WEL) bit is reset. A 128KB Block Erase (BE) command applied to a block
which is protected by the Block Protect (BP4, BP3, BP2, BP1, BP0) bits (see Table1) is not executed.
Figure20. 128KB Block Erase Sequence Diagram
CS#
0 1 2 3 4 5 6 7 8 9 29 30 31
SCLK
18
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
bit is reset. The Chip Erase (CE) command is executed only if all Block Protect (BP2, BP1, BP0) bits are 0. The Chip Erase
(CE) command is ignored if one or more sectors are protected.
Figure21. Chip Erase Sequence Diagram
ar
CS#
0 1 2 3 4 5 6 7
SCLK
Command
SI
in 60 or C7
im
Deep Power-Down (DP) (B9H)
Executing the Deep Power-Down (DP) command is the only way to put the device in the lowest consumption mode
(the Deep Power-Down Mode). It can also be used as an extra software protection mechanism, while the device is not in
active use, since in this mode, the device ignores all Write, Program and Erase commands. Driving CS# high deselects the
el
device, and puts the device in the Standby Mode (if there is no internal cycle currently in progress). But this mode is not the
Deep Power-Down Mode. The Deep Power-Down Mode can only be entered by executing the Deep Power-Down (DP)
command. Once the device has entered the Deep Power-Down Mode, all commands are ignored except the Release from
Deep Power-Down and Read Device ID (RDI) command. This releases the device from this mode. The Release from Deep
Pr
Power-Down and Read Device ID (RDI) command also allows the Device ID of the device to be output on SO.
The Deep Power-Down Mode automatically stops at Power-Down, and the device always Power-Up in the Standby
Mode. The Deep Power-Down (DP) command is entered by driving CS# low, followed by the command code on SI. CS#
must be driven low for the entire duration of the sequence.
The Deep Power-Down command sequence: CS# goes low Æ sending Deep Power-Down command Æ CS# goes
high. The command sequence is shown in Figure22. CS# must be driven high after the eighth bit of the command code has
been latched in; otherwise the Deep Power-Down (DP) command is not executed. As soon as CS# is driven high, it
requires a delay of tDP before the supply current is reduced to ICC2 and the Deep Power-Down Mode is entered. Any Deep
Power-Down (DP) command, while an Erase, Program or Write cycle is in progress, is rejected without having any effects
on the cycle that is in progress.
19
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
0 1 2 3 4 5 6 7 tDP
SCLK
Command
SI
B9
y
Release from Deep Power-Down or High Performance Mode and Read Device ID (RDI) (ABH)
The Release from Power-Down or High Performance Mode / Device ID command is a multi-purpose command. It can be
ar
used to release the device from the Power-Down state or High Performance Mode or obtain the devices electronic
identification (ID) number.
To release the device from the Power-Down state or High Performance Mode, the command is issued by driving the
CS# pin low, shifting the instruction code “ABH” and driving CS# high as shown in Figure23. Release from Power-Down
in
will take the time duration of tRES1 (See AC Characteristics) before the device will resume normal operation and other
command are accepted. The CS# pin must remain high during the tRES1 time duration.
When used only to obtain the Device ID while not in the Power-Down state, the command is initiated by driving the
CS# pin low and shifting the instruction code “ABH” followed by 3-dummy byte. The Device ID bits are then shifted out on
im
the falling edge of SCLK with most significant bit (MSB) first as shown in Figure23. The Device ID value for the
GD25Q16 is listed in Manufacturer and Device Identification table. The Device ID can be read continuously. The
command is completed by driving CS# high.
When used to release the device from the Power-Down state and obtain the Device ID, the command is the same
as previously described, and shown in Figure23, except that after CS# is driven high it must remain high for a time
el
duration of tRES2 (See AC Characteristics). After this time duration the device will resume normal operation and other
command will be accepted. If the Release from Power-Down / Device ID command is issued while an Erase, Program or
Write cycle is in process (when WIP equal 1) the command is ignored and will not have any effects on the current cycle.
Figure23. Release Power-Down or High Performance Mode Sequence Diagram
Pr
CS#
0 1 2 3 4 5 6 7 t RES1
SCLK
Command
SI
AB
20
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
CS#
0 1 2 3 4 5 6 7 8 9 29 30 31 32 33 34 35 36 37 38
SCLK
y
ar
Read Manufacture ID/ Device ID (REMS) (90H)
The Read Manufacturer/Device ID command is an alternative to the Release from Power-Down / Device ID
command that provides both the JEDEC assigned Manufacturer ID and the specific Device ID.
The command is initiated by driving the CS# pin low and shifting the command code “90H” followed by a 24-bit
in
address (A23-A0) of 000000H. After which, the Manufacturer ID and the Device ID are shifted out on the falling edge of
SCLK with most significant bit (MSB) first as shown in Figure25. If the 24-bit address is initially set to 000001H, the Device
ID will be read first.
Figure25. Read Manufacture ID/ Device ID Sequence Diagram
im
CS#
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31
SCLK
SO High-Z
CS#
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
Pr
SCLK
SI
Manufacturer ID Device ID
SO 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
MSB MSB
21
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
execute commands.
Figure26. Read Identification ID Sequence Diagram
ar
CS#
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SCLK
SI
in
9F
7 6
Manufacturer ID
5 4 3 2 1 0
SO
MSB
CS#
im
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
SCLK
SI
MSB MSB
Pr
22
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
CS#
0 1 2 3 4 5 6 7 8 9 29 30 31
SCLK
Command 3 Dummy Bytes t RES2
SI A3 23 22 2 1 0
MSB
SO
High Performance Mode
y
Continuous Read Mode Reset (CRMR) (FFH)
The Dual/Quad I/O Fast Read operations, “Continuous Read Mode” bits (M7-0) are implemented to further reduce
ar
command overhead. By setting the (M7-0) to AXH, the next Dual/Quad I/O Fast Read operations do not require the
BBH/EBH/E7H command code.
Because the GD25Q16 has no hardware reset pin, so if Continuous Read Mode bits are set to “AXH”, the GD25Q16
will not recognize any standard SPI commands. So Continuous Read Mode Reset command will release the Continuous
in
Read Mode from the “AXH” state and allow standard SPI command to be recognized. The command sequence is show in
Figure28.
Figure28. Continuous Read Mode Reset Sequence Diagram
SI(IO0) FF
el
23
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
While the Erase/Program suspend cycle is in progress, the Read Status Register command may still be accessed
for checking the status of the WIP bit. The WIP bit is a 1 during the Erase/Program suspend cycle and becomes a 0
when the cycle is finished and the device is ready to accept read command. A power-off during the suspend period will
reset the device and release the suspend state. The command sequence is show in Figure29.
Figure29. Program/Erase Suspend Sequence Diagram
CS#
0 1 2 3 4 5 6 7 tSUS
SCLK
Command
SI
75H
y
High-Z
SO
Accept read command
ar
Program/Erase Resume (PER) (7AH)
The Program/Erase Resume command must be written to resume the sector/block erase or program operation after
a Program/Erase Suspend command. After issued the WIP bit in the status register will be set to 1 and the sector/block
in
erase or program operation will completed. The Program/Erase Resume command will be ignored unless a Program/Erase
Suspend is active. The command sequence is show in Figure30.
Figure30. Program/Erase Resume Sequence Diagram
CS#
im
0 1 2 3 4 5 6 7
SCLK
Command
SI
7AH
el
SO Resume Erase/Program
Pr
24
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
POWER-ON TIMING
Vcc(max)
Program, Erase and Write command are ignored
Chip Selection is not allowed
Vcc(min)
tVSL Read command Device is fully
Reset is allowed accessible
State
VWI
tPUW
Time
y
Table3. Power-Up Timing and Write Inhibit Threshold
ar
Symbol Parameter Min Max Unit
tVSL VCC(min) to CS# Low 10 us
tPUW Time Delay from VCC(min) to Write instruction 1 10 ms
VWI Write Inhibit Voltage VCC(min) 1 2.5 V
150℃ 10 Years
Minimum Pattern Data Retention Time
125℃ 20 Years
el
LATCH UP CHARACTERISTICS
Pr
25
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
4.0V
20ns
0V 3.6V
20ns
-0.5V
y
CIN Input Capacitance 6 pF VIN=0V
COUT Output Capacitance 8 pF VOUT=0V
CL Load Capacitance 30 pF
ar
Input Rise and Fall time 5 ns
Input Pause Voltage 0.2VCC to 0.8VCC V
Input timing reference Voltage 0.3VCC to 0.7VCC V
Output timing reference Voltage 0.5VCC V
in
Figure31. Input Test Waveform and Measurement Level
26
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
DC CHARACTERISTIC
(T= -40℃~85℃, VCC=2.7~3.6V)
Symbol Parameter Test Condition Min. Typ Max. Unit.
ILI Input Leakage Current ±2 μA
ILO Output Leakage Current ±2 μA
ICC1 Standby Current CS#=VCC, 1 5 μA
VIN=VCC or VSS
ICC2 Deep Power-Down Current CS#=VCC, 1 5 μA
VIN=VCC or VSS
CLK=0.1VCC / 0.9VCC
y
at 90MHz, 15 20 mA
Q=Open(*1,*2,*4 I/O)
ICC3 Operating Current (Read)
ar
CLK=0.1VCC / 0.9VCC
at 80MHz, 13 18 mA
Q=Open(*1,*2,*4 I/O)
ICC4 Operating Current (PP) CS#=VCC 10 mA
ICC5 Operating Current(WRSR) CS#=VCC 10 mA
ICC6
ICC7
Operating Current (SE)
Operating Current (BE)
in
CS#=VCC
CS#=VCC
10
10
mA
mA
I CC8 High Performance Current 600 800 uA
im
VIL Input Low Voltage -0.5 0.2VCC V
VIH Input High Voltage 0.7VCC VCC+0.4 V
VOL Output Low Voltage IOL =1.6mA 0.4 V
VOH Output High Voltage IOH =-100μA VCC-0.2 V
el
Pr
27
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
AC CHARACTERISTICS
(T= -40℃~85℃, VCC=2.7~3.6V, CL=30pf)
Symbol Parameter Min. Typ. Max. Unit.
Serial Clock Frequency For: FAST_READ(0BH),
fC DC. 120 MHz
Dual Output(3BH)
Serial Clock Frequency For: Dual I/O(BBH),
fC1 Quad I/O(EBH), Quad Output(6BH) (Dual I/O & Quad I/O DC. 90 MHz
With High Performance Mode)
Serial Clock Frequency For: Dual I/O(BBH),
fC2 Quad I/O(EBH) (Dual I/O & Quad I/O Without High DC. 50 MHz
y
Performance Mode)
fR Serial Clock Frequency For: Read(03H) DC. 90 MHz
tCLH Serial Clock High Time 3.5 ns
ar
tCLL Serial Clock Low Time 3.5 ns
tCLCH Serial Clock Rise Time (Slew Rate) 0.2 V/ns
tCHCL Serial Clock Fall Time (Slew Rate) 0.2 V/ns
tSLCH CS# Active Setup Time 5 ns
tCHSH
tSHCH
CS# Active Hold Time
CS# Not Active Setup Time
in 5
5
ns
ns
tCHSL CS# Not Active Hold Time 5 ns
im
tSHSL CS# High Time(read/write) 10/20 ns
tSHQZ Output Disable Time 6 ns
tCLQX Output Hold Time 0 ns
tDVCH Data In Setup Time 2 ns
tCHDX Data In Hold Time 2 ns
el
28
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
y
tCHSL tSLCH tCHSH tSHCH
SCLK
ar
tDVCH tCHCL
tCHDX tCLCH
SI MSB LSB
SO High-Z
in
Figure32. Output Timing
im
CS#
tCH tSHQZ
SCLK
tCLQV tCLQV tCL
tCLQX tCLQX tQLQH
SO LSB
el
tQHQL
SI
Least significant address bit (LIB) in
CS#
tCHHH
tHLQZ tHHQX
SO
HOLD#
29
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
ORDERING INFORMATION
Packing Type
T:Tube
Green Code
y
P:Pb Free Only Green Package
ar
Temperature Range
C:Commercial(0℃ to +70℃)
I:Industrial(-40℃ to +85℃)
Package Type
in S:SOP8 200mil
P:DIP8
Density
40:4Mb
im
80:8Mb
16:16Mb
Series
Q:3V,4KB Uniform Sector,Quad I/O
el
Product Family
25:SPI Interface Flash
Pr
30
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
PACKAGE INFORMATION
Package SOP8L 200MIL
8 5 θ
y
E1 E
ar
L1
L
1 4
C
D
in
A2 A
im
b A1
S e
el
Dimensions
Symbol
A A1 A2 b C D E E1 e L L1 S θ
Unit
Pr
Min 0.05 1.70 0.36 0.19 5.13 7.70 5.18 0.50 1.21 0.62 0
mm Nom 0.15 1.80 0.41 0.20 5.23 7.90 5.28 1.27 0.65 1.31 0.74 5
Max 2.16 0.25 1.91 0.51 0.25 5.33 8.10 5.38 0.80 1.41 0.88 8
Min 0.002 0.067 0.014 0.007 0.202 0.303 0.204 0.020 0.048 0.024 0
Inch Nom 0.006 0.071 0.016 0.008 0.206 0.311 0.208 0.050 0.026 0.052 0.029 5
Max 0.085 0.010 0.075 0.020 0.010 0.210 0.319 0.212 0.031 0.056 0.035 8
31
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
Package DIP8L
8 5
E1
y
ar
1 4
D
E
A2 A
L
in C
A1
b eB
e
im
S
b1
el
Dimensions
Symbol
A A1 A2 b b1 C D E E1 e eB SL S
Unit
Min 0.38 3.18 0.36 1.14 0.20 9.02 7.62 6.22 7.87 2.92 0.76
Pr
mm Nom 3.30 0.46 1.52 0.25 9.27 7.87 6.35 2.54 8.89 3.30 1.14
Max 5.33 3.43 0.56 1.78 0.36 10.16 8.13 6.48 9.53 3.81 1.52
Min 0.015 0.125 0.014 0.045 0.008 0.355 0.300 0.245 0.310 0.115 0.030
Inch Nom 0.130 0.018 0.060 0.010 0.365 0.310 0.250 0.10 0.350 0.130 0.045
Max 0.21 0.135 0.022 0.070 0.014 0.400 0.320 0.255 0.375 0.150 0.060
32
Uniform Sector
16Mbit Dual and Quad SPI Flash GD25Q16
REVISION HISTORY
Version No Description Date
1.0 Initial Release Sep.10,2009
y
ar
in
im
el
Pr
33