MX25V4005 MX25V4005 DATASHEET The MX25V4005 product family is not recommended for new designs. The MX25V4005C family is the recommended replacement. Please refer to MX25V4005C datasheet for full specifications and ordering information, or contact your local sales representative for additional support. P/N: PM1385 1 REV. 1.3, JAN. 27, 2011 MX25V4005 Contents FEATURES.................................................................................................................................................. 6 GENERAL DESCRIPTION......................................................................................................................... 7 PIN CONFIGURATIONS.............................................................................................................................. 7 8-PIN SOP (150mil) . ............................................................................................................................................. 7 8-LAND WSON (6x5mm)....................................................................................................................................... 7 PIN DESCRIPTION...................................................................................................................................... 7 BLOCK DIAGRAM....................................................................................................................................... 8 DATA PROTECTION.................................................................................................................................... 9 Table 1. Protected Area Sizes.............................................................................................................................. 10 HOLD FEATURE.........................................................................................................................................11 Figure 1. Hold Condition Operation . ................................................................................................................... 11 Table 2. COMMAND DEFINITION....................................................................................................................... 12 Table 3. Memory Organization............................................................................................................................. 13 DEVICE OPERATION................................................................................................................................ 14 Figure 2. Serial Modes Supported........................................................................................................................ 14 COMMAND DESCRIPTION....................................................................................................................... 15 (1) Write Enable (WREN)..................................................................................................................................... 15 (2) Write Disable (WRDI)...................................................................................................................................... 15 (3) Read Identification (RDID).............................................................................................................................. 15 (4) Read Status Register (RDSR)........................................................................................................................ 16 Status Register..................................................................................................................................................... 16 (5) Write Status Register (WRSR)........................................................................................................................ 17 Table 4. Protection Modes.................................................................................................................................... 17 (6) Read Data Bytes (READ)............................................................................................................................... 18 (7) Read Data Bytes at Higher Speed (FAST_READ)......................................................................................... 18 (8) Sector Erase (SE)........................................................................................................................................... 18 (9) Block Erase (BE)............................................................................................................................................. 19 (10) Chip Erase (CE)............................................................................................................................................ 19 (11) Page Program (PP)....................................................................................................................................... 19 (12) Deep Power-down (DP)................................................................................................................................ 20 (13) Release from Deep Power-down (RDP), Read Electronic Signature (RES) ............................................... 20 (14) Read Electronic Manufacturer ID & Device ID (REMS)................................................................................ 21 POWER-ON STATE................................................................................................................................... 22 ELECTRICAL SPECIFICATIONS.............................................................................................................. 23 ABSOLUTE MAXIMUM RATINGS....................................................................................................................... 23 Figure 3.Maximum Negative Overshoot Waveform............................................................................................. 23 CAPACITANCE TA = 25°C, f = 1.0 MHz............................................................................................................... 23 Figure 4. Maximum Positive Overshoot Waveform.............................................................................................. 23 Figure 5. INPUT TEST WAVEFORMS AND MEASUREMENT LEVEL................................................................ 24 Figure 6. OUTPUT LOADING............................................................................................................................. 24 P/N: PM1385 2 REV. 1.3, JAN. 27, 2011 MX25V4005 Table 5. DC CHARACTERISTICS (Temperature = -40°C to 85°C, VCC = 2.35V ~ 3.6V) ................................. 25 Table 6. AC CHARACTERISTICS (Temperature = -40°C to 85°C, VCC = 2.35V ~ 3.6V) ................................. 26 Table 7. Power-Up Timing ................................................................................................................................... 27 INITIAL DELIVERY STATE................................................................................................................................... 27 Figure 7. Serial Input Timing................................................................................................................................ 28 Figure 8. Output Timing........................................................................................................................................ 28 Figure 9. Hold Timing........................................................................................................................................... 29 Figure 10. WP# Disable Setup and Hold Timing during WRSR when SRWD=1................................................. 29 Figure 11. Write Enable (WREN) Sequence (Command 06)............................................................................... 30 Figure 12. Write Disable (WRDI) Sequence (Command 04)................................................................................ 30 Figure 13. Read Identification (RDID) Sequence (Command 9F)........................................................................ 30 Figure 14. Read Status Register (RDSR) Sequence (Command 05).................................................................. 31 Figure 15. Write Status Register (WRSR) Sequence (Command 01)................................................................. 31 Figure 16. Read Data Bytes (READ) Sequence (Command 03)........................................................................ 31 Figure 17. Read at Higher Speed (FAST_READ) Sequence (Command 0B)..................................................... 32 Figure 18. Page Program (PP) Sequence (Command 02).................................................................................. 33 Figure 19. Sector Erase (SE) Sequence (Command 20)..................................................................................... 34 Figure 20. Block Erase (BE) Sequence (Command 52 or D8)............................................................................ 34 Figure 21. Chip Erase (CE) Sequence (Command 60 or C7)............................................................................. 35 Figure 22. Deep Power-down (DP) Sequence (Command B9)........................................................................... 35 Figure 23. Release from Deep Power-down and Read Electronic Signature (RES) Sequence (Command AB).35 Figure 24. Release from Deep Power-down (RDP) Sequence (Command AB)................................................. 36 Figure 25. Read Electronic Manufacturer & Device ID (REMS) Sequence (Command 90)................................ 36 Figure 26. Power-up Timing................................................................................................................................. 37 RECOMMENDED OPERATING CONDITIONS......................................................................................... 38 At Device Power-Up............................................................................................................................................. 38 Figure 27. AC Timing at Device Power-Up........................................................................................................... 38 Figure 28. Power-Down Sequence...................................................................................................................... 38 ERASE AND PROGRAMMING PERFORMANCE.................................................................................... 39 LATCH-UP CHARACTERISTICS.............................................................................................................. 39 ORDERING INFORMATION...................................................................................................................... 40 PART NAME DESCRIPTION..................................................................................................................... 41 PACKAGE INFORMATION........................................................................................................................ 42 8-pin SOP (150mil)............................................................................................................................................... 42 8-land WSON (6x5mm, 0.8mm package height).................................................................................................. 43 REVISION HISTORY ................................................................................................................................ 44 P/N: PM1385 3 REV. 1.3, JAN. 27, 2011 MX25V4005 Figures 8-PIN SOP (150mil) . ............................................................................................................................................. 7 8-LAND WSON (6x5mm)....................................................................................................................................... 7 Figure 1. Hold Condition Operation . ................................................................................................................... 11 Figure 2. Serial Modes Supported........................................................................................................................ 14 Figure 3.Maximum Negative Overshoot Waveform............................................................................................. 23 Figure 4. Maximum Positive Overshoot Waveform.............................................................................................. 23 Figure 5. INPUT TEST WAVEFORMS AND MEASUREMENT LEVEL................................................................ 24 Figure 6. OUTPUT LOADING............................................................................................................................. 24 Figure 7. Serial Input Timing................................................................................................................................ 28 Figure 8. Output Timing........................................................................................................................................ 28 Figure 9. Hold Timing........................................................................................................................................... 29 Figure 10. WP# Disable Setup and Hold Timing during WRSR when SRWD=1................................................. 29 Figure 11. Write Enable (WREN) Sequence (Command 06)............................................................................... 30 Figure 12. Write Disable (WRDI) Sequence (Command 04)................................................................................ 30 Figure 13. Read Identification (RDID) Sequence (Command 9F)........................................................................ 30 Figure 14. Read Status Register (RDSR) Sequence (Command 05).................................................................. 31 Figure 15. Write Status Register (WRSR) Sequence (Command 01)................................................................. 31 Figure 16. Read Data Bytes (READ) Sequence (Command 03)........................................................................ 31 Figure 17. Read at Higher Speed (FAST_READ) Sequence (Command 0B)..................................................... 32 Figure 18. Page Program (PP) Sequence (Command 02).................................................................................. 33 Figure 19. Sector Erase (SE) Sequence (Command 20)..................................................................................... 34 Figure 20. Block Erase (BE) Sequence (Command 52 or D8)............................................................................ 34 Figure 21. Chip Erase (CE) Sequence (Command 60 or C7)............................................................................. 35 Figure 22. Deep Power-down (DP) Sequence (Command B9)........................................................................... 35 Figure 23. Release from Deep Power-down and Read Electronic Signature (RES) Sequence (Command AB).35 Figure 24. Release from Deep Power-down (RDP) Sequence (Command AB)................................................. 36 Figure 25. Read Electronic Manufacturer & Device ID (REMS) Sequence (Command 90)................................ 36 Figure 26. Power-up Timing................................................................................................................................. 37 Figure 27. AC Timing at Device Power-Up........................................................................................................... 38 Figure 28. Power-Down Sequence...................................................................................................................... 38 8-pin SOP (150mil)............................................................................................................................................... 42 8-land WSON (6x5mm, 0.8mm package height).................................................................................................. 43 P/N: PM1385 4 REV. 1.3, JAN. 27, 2011 MX25V4005 Tables Table 1. Protected Area Sizes.............................................................................................................................. 10 Table 2. COMMAND DEFINITION....................................................................................................................... 12 Table 3. Memory Organization............................................................................................................................. 13 Status Register..................................................................................................................................................... 16 Table 4. Protection Modes.................................................................................................................................... 17 ABSOLUTE MAXIMUM RATINGS....................................................................................................................... 23 CAPACITANCE TA = 25°C, f = 1.0 MHz............................................................................................................... 23 Table 5. DC CHARACTERISTICS (Temperature = -40°C to 85°C, VCC = 2.35V ~ 3.6V) ................................. 25 Table 6. AC CHARACTERISTICS (Temperature = -40°C to 85°C, VCC = 2.35V ~ 3.6V) ................................. 26 Table 7. Power-Up Timing ................................................................................................................................... 27 At Device Power-Up............................................................................................................................................. 38 8-pin SOP (150mil)............................................................................................................................................... 42 8-land WSON (6x5mm, 0.8mm package height).................................................................................................. 43 P/N: PM1385 5 REV. 1.3, JAN. 27, 2011 MX25V4005 4M-BIT [x 1] 2.5V CMOS SERIAL FLASH The MX25V4005 product family is not recommended for new designs. The MX25V4005C family is the recommended replacement. Please refer to MX25V4005C datasheet for full specifications and ordering information, or contact your local sales representative for additional support. FEATURES GENERAL • Serial Peripheral Interface (SPI) compatible -- Mode 0 and Mode 3 • 4,194,304 x 1 bit structure • 128 Equal Sectors with 4K byte each - Any Sector can be erased individually • 8 Equal Blocks with 64K byte each - Any Block can be erased individually • Single Power Supply Operation - 2.35 to 3.6 volt for read, erase, and program operations • Latch-up protected to 100mA from -1V to Vcc +1V PERFORMANCE • High Performance - Fast access time: 50MHz serial clock - Fast program time: 1.4ms(typ.) and 5ms(max.)/page (256-byte per page) - Fast erase time: 60ms(typ.) and 120ms(max.)/sector (4K-byte per sector) ; 1s(typ.) and 2s(max.)/block (64K-byte per block) • Low Power Consumption - Low active read current: 8mA(max.) at 50MHz and 4mA(max.) at 25MHz - Low active programming current: 15mA (max.) - Low active erase current: 15mA (max.) - Low standby current: 10uA (max.) - Deep power-down mode 1uA (typical) • Minimum 100,000 erase/program cycles • 10 years data retention SOFTWARE FEATURES • Input Data Format - 1-byte Command code • Block Lock protection - The BP0~BP2 status bit defines the size of the area to be software protected against Program and Erase instructions • Auto Erase and Auto Program Algorithm - Automatically erases and verifies data at selected sector - Automatically programs and verifies data at selected page by an internal algorithm that automatically times the program pulse widths (Any page to be programed should have page in the erased state first) • Status Register Feature • Electronic Identification - JEDEC 2-byte Device ID - RES command, 1-byte Device ID HARDWARE FEATURES • SCLK Input - Serial clock input • SI Input - Serial Data Input P/N: PM1385 6 REV. 1.3, JAN. 27, 2011 MX25V4005 • SO Output - Serial Data Output • WP# pin - Hardware write protection • HOLD# pin - pause the chip without diselecting the chip • PACKAGE - 8-pin SOP (150mil) - 8-land WSON (6x5mm, 0.8mm package height) - All devices are RoHS Compliant GENERAL DESCRIPTION MX25V4005 is a CMOS 4,194,304 bit Serial Flash memory, which is configured as 524,288 x 8 internally. MX25V4005 features a serial peripheral interface and software protocol allowing operation on a simple 3-wire bus. The three bus signals are a clock input (SCLK), a serial data input (SI), and a serial data output (SO). SPI access to the device is enabled by CS# input. The MX25V4005 provides sequential read operation on whole chip. After program/erase command is issued, auto program/ erase algorithms which program/erase and verify the specified page or byte/sector/block locations will be executed. Program command is executed on page (256 bytes) basis, and erase command is executed on chip or sector(4K-byte) or block(64K-byte). To provide user with ease of interface, a status register is included to indicate the status of the chip. The status read command can be issued to detect completion status of a program or erase operation via WIP bit. When the device is not in operation and CS# is high, it is put in standby mode and draws less than 10uA DC current. The MX25V4005 utilizes Macronix's proprietary memory cell, which reliably stores memory contents even after 100,000 program and erase cycles. PIN DESCRIPTION PIN CONFIGURATIONS 8-PIN SOP (150mil) CS# SO WP# GND 1 2 3 4 8 7 6 5 SYMBOL CS# SI SO SCLK VCC HOLD# SCLK SI HOLD# WP# VCC GND 8-LAND WSON (6x5mm) CS# SO WP# GND P/N: PM1385 1 2 3 4 8 7 6 5 DESCRIPTION Chip Select Serial Data Input Serial Data Output Clock Input Hold, to pause the device without deselecting the device Write Protection + 2.5V Power Supply Ground VCC HOLD# SCLK SI 7 REV. 1.3, JAN. 27, 2011 MX25V4005 BLOCK DIAGRAM X-Decoder Address Generator Memory Array Page Buffer SI Data Register Y-Decoder SRAM Buffer CS# Mode Logic Sense Amplifier State Machine Output Buffer HV Generator SO SCLK P/N: PM1385 Clock Generator 8 REV. 1.3, JAN. 27, 2011 MX25V4005 DATA PROTECTION MX25V4005 is designed to offer protection against accidental erasure or programming caused by spurious system level signals that may exist during power transition. During power up the device automatically resets the state machine in the standby mode. In addition, with its control register architecture, alteration of the memory contents only occurs after successful completion of specific command sequences. The device also incorporates several features to prevent inadvertent write cycles resulting from VCC power-up and power-down transition or system noise. • Valid command length checking: The command length will be checked whether it is at byte base and completed on byte boundary. • Write Enable (WREN) command: WREN command is required to set the Write Enable Latch bit (WEL) before other command to change data. The WEL bit will return to reset stage under following situation: - Power-up - Write Disable (WRDI) command completion - Write Status Register (WRSR) command completion - Page Program (PP) command completion - Sector Erase (SE) command completion - Block Erase (BE) command completion - Chip Erase (CE) command completion • Software Protection Mode (SPM): by using BP0-BP2 bits to set the part of Flash protected from data change. • Hardware Protection Mode (HPM): by using WP# going low to protect the BP0-BP2 bits and SRWD bit from data change. • Deep Power Down Mode: By entering deep power down mode, the flash device also is under protected from writing all commands except Release from deep power down mode command (RDP) and Read Electronic Signature command (RES). P/N: PM1385 9 REV. 1.3, JAN. 27, 2011 MX25V4005 Table 1. Protected Area Sizes BP2 0 0 0 0 1 1 1 1 P/N: PM1385 Status bit BP1 0 0 1 1 0 0 1 1 BP0 0 1 0 1 0 1 0 1 Protect level 1Mb 0 (none) 1 (1 block) 2 (2 blocks) 3 (4 blocks) 4 (8 blocks) 5 (All) 6 (All) 7 (All) None Block 7 Block 6-7 Block 4-7 All All All All 10 REV. 1.3, JAN. 27, 2011 MX25V4005 HOLD FEATURE HOLD# pin signal goes low to hold any serial communications with the device. The HOLD feature will not stop the operation of write status register, programming, or erasing in progress. The operation of HOLD requires Chip Select(CS#) keeping low and starts on falling edge of HOLD# pin signal while Serial Clock (SCLK) signal is being low (if Serial Clock signal is not being low, HOLD operation will not start until Serial Clock signal being low). The HOLD condition ends on the rising edge of HOLD# pin signal while Serial Clock(SCLK) signal is being low( if Serial Clock signal is not being low, HOLD operation will not end until Serial Clock being low), see Figure 1. Figure 1. Hold Condition Operation CS# SCLK HOLD# Hold Condition (standard) Hold Condition (non-standard) The Serial Data Output (SO) is high impedance, both Serial Data Input (SI) and Serial Clock (SCLK) are don't care during the HOLD operation. If Chip Select (CS#) drives high during HOLD operation, it will reset the internal logic of the device. To re-start communication with chip, the HOLD# must be at high and CS# must be at low. P/N: PM1385 11 REV. 1.3, JAN. 27, 2011 MX25V4005 Table 2. COMMAND DEFINITION Command (byte) 1st byte 2nd byte 3rd byte 4th byte 5th byte Action Command (byte) 1st byte 2nd byte 3rd byte 4th byte Action Command (byte) 1st byte 2nd byte 3rd byte 4th byte Action WREN (write enable) 06 (hex) WRDI (write disable) 04 (hex) RDID (read RDSR (read WRSR (write identification) status register) status register) 9F (hex) 05 (hex) 01 (hex) sets the (WEL) resets the outputs the write enable (WEL) write Manufacturer latch bit enable latch bit ID & 2-byte Device ID SE (sector erase) BE (block erase) CE (chip erase) to read out the status register to write new values of the status register n bytes read out until CS# goes high B9 (hex) RDP (Release from deep power down) AB (hex) enters deep power down mode release from deep power down mode PP DP (Deep (page program) power down) 20 (hex) 52 or D8 (hex) 60 or C7 (hex) 02 (hex) AD1 AD1 AD1 AD2 AD2 AD2 AD3 AD3 AD3 to erase the to erase the to erase whole to program the selected sector selected block chip selected page READ (read data) 03 (hex) AD1 AD2 AD3 FAST READ (fast read data) 0B (hex) AD1 AD2 AD3 x RES (read electronic ID) AB (hex) x x x to read out 1-byte Device ID REMS (read electronic manufacturer & device ID) 90 (hex) x x ADD (1) output the Manufacturer ID & Device ID (1) ADD=00H will output the manufacturer's ID first and ADD=01H will output device ID first. (2) It is not recommended to adopt any other code which is not in the above command definition table. P/N: PM1385 12 REV. 1.3, JAN. 27, 2011 MX25V4005 Table 3. Memory Organization Block 7 6 5 4 3 2 1 0 P/N: PM1385 Sector 127 : 112 111 : 96 95 : 80 79 : 64 63 : 48 47 : 32 31 : 16 15 : 2 1 0 Address Range 07F000h 07FFFFh : : 070000h 070FFFh 06F000h 06FFFFh : : 060000h 060FFFh 05F000h 05FFFFh : : 050000h 050FFFh 04F000h 04FFFFh : : 040000h 040FFFh 03F000h 03FFFFh : : 030000h 030FFFh 02F000h 02FFFFh : : 020000h 020FFFh 01F000h 01FFFFh : : 010000h 010FFFh 00F000h 00FFFFh : : 002000h 002FFFh 001000h 001FFFh 000000h 000FFFh 13 REV. 1.3, JAN. 27, 2011 MX25V4005 DEVICE OPERATION 1. Before a command is issued, status register should be checked to ensure device is ready for the intended operation. 2. When incorrect command is inputted to this LSI, this LSI becomes standby mode and keeps the standby mode until next CS# falling edge. In standby mode, SO pin of this LSI should be High-Z. 3. When correct command is inputted to this LSI, this LSI becomes active mode and keeps the active mode until next CS# rising edge. 4. Input data is latched on the rising edge of Serial Clock(SCLK) and data shifts out on the falling edge of SCLK. The difference of SPI mode 0 and mode 3 is shown as Figure 2. 5. For the following instructions: RDID, RDSR, READ, FAST_READ, RES and REMS the shifted-in instruction sequence is followed by a data-out sequence. After any bit of data being shifted out, the CS# can be high. For the following instructions: WREN, WRDI, WRSR, SE, BE, CE, PP, RDP and DP the CS# must go high exactly at the byte boundary; otherwise, the instruction will be rejected and not executed. 6. During the progress of Write Status Register, Program, Erase operation, to access the memory array is neglected and not affect the current operation of Write Status Register, Program, Erase. Figure 2. Serial Modes Supported CPOL CPHA shift in (SPI mode 0) 0 0 SCLK (SPI mode 3) 1 1 SCLK SI shift out MSB SO MSB Note: CPOL indicates clock polarity of Serial master: -CPOL=1 for SCLK high while idle, -CPOL=0 for SCLK low while not transmitting. CPHA indicates clock phase. The combination of CPOL bit and CPHA bit decides which Serial mode is supported. P/N: PM1385 14 REV. 1.3, JAN. 27, 2011 MX25V4005 COMMAND DESCRIPTION (1) Write Enable (WREN) The Write Enable (WREN) instruction is for setting Write Enable Latch (WEL) bit. For those instructions like PP, SE, BE, CE, and WRSR, which are intended to change the device content, should be set every time after the WREN instruction setting the WEL bit. The sequence of issuing WREN instruction is: CS# goes low→ sending WREN instruction code→CS# goes high. (see Figure 11) (2) Write Disable (WRDI) The Write Disable (WRDI) instruction is for resetting Write Enable Latch (WEL) bit. The sequence of issuing WRDI instruction is: CS# goes low→sending WRDI instruction code→CS# goes high. (see Figure 12) The WEL bit is reset by following situations: - Power-up - Write Disable (WRDI) instruction completion - Write Status Register (WRSR) instruction completion - Page Program (PP) instruction completion - Sector Erase (SE) instruction completion - Block Erase (BE) instruction completion - Chip Erase (CE) instruction completion (3) Read Identification (RDID) The RDID instruction is for reading the manufacturer ID of 1-byte and followed by Device ID of 2-byte. The MXIC Manufacturer ID is C2(hex), the memory type ID is 20(hex) as the first-byte device ID, and the individual device ID of second-byte ID is as followings: 13(hex) for MX25V4005. The sequence of issuing RDID instruction is: CS# goes low→sending RDID instruction code→ 24-bits ID data out on SO→ to end RDID operation can use CS# to high at any time during data out. (see Figure. 13) While Program/Erase operation is in progress, it will not decode the RDID instruction, so there's no effect on the cycle of program/erase operation which is currently in progress. When CS# goes high, the device is at standby stage. P/N: PM1385 15 REV. 1.3, JAN. 27, 2011 MX25V4005 (4) Read Status Register (RDSR) The RDSR instruction is for reading Status Register Bits. The Read Status Register can be read at any time (even in program/erase/write status register condition) and continuously. It is recommended to check the Write in Progress (WIP) bit before sending a new instruction when a program, erase, or write status register operation is in progress. The sequence of issuing RDSR instruction is: CS# goes low→sending RDSR instruction code→Status Register data out on SO (see Figure. 14) The definition of the status register bits is as below: WIP bit. The Write in Progress (WIP) bit, a volatile bit, indicates whether the device is busy in program/erase/write status register progress. When WIP bit sets to 1, which means the device is busy in program/erase/write status register progress. When WIP bit sets to 0, which means the device is not in progress of program/erase/write status register cycle. WEL bit. The Write Enable Latch (WEL) bit, a volatile bit, indicates whether the device is set to internal write enable latch. When WEL bit sets to 1, which means the internal write enable latch is set, the device can accept program/ erase/write status register instruction. When WEL bit sets to 0, which means no internal write enable latch; the device will not accept program/erase/write status register instruction. BP2, BP1, BP0 bits. The Block Protect (BP2, BP1, BP0) bits, non-volatile bits, indicate the protected area(as defined in table 1) of the device to against the program/erase instruction without hardware protection mode being set. To write the Block Protect (BP2, BP1, BP0) bits requires the Write Status Register (WRSR) instruction to be executed. Those bits define the protected area of the memory to against Page Program (PP), Sector Erase (SE), Block Erase (BE) and Chip Erase(CE) instructions (only if all Block Protect bits set to 0, the CE instruction can be executed) SRWD bit. The Status Register Write Disable (SRWD) bit, non-volatile bit, is operated together with Write Protection (WP#) pin for providing hardware protection mode. The hardware protection mode requires SRWD sets to 1 and WP# pin signal is low stage. In the hardware protection mode, the Write Status Register (WRSR) instruction is no longer accepted for execution and the SRWD bit and Block Protect bits (BP2, BP1, BP0) are read only. Status Register bit 7 SRWD Status Register Write Protect 1= status register write disable bit 6 0 bit 5 0 bit 4 BP2 the level of protected block bit 3 BP1 the level of protected block bit 2 BP0 the level of protected block (Note 1) (Note 1) (Note 1) bit 1 bit 0 WEL WIP (write enable (write in latch) progress bit) 1=write 1=write enable operation 0=not write 0=not in write enable operation Notes: 1. See the table "Protected Area Sizes". 2. The endurance cycles of protect bits are 100,000 cycles; however, the tW time out spec of protect bits is relaxed as tW = N x 15ms (N is a multiple of 10,000 cycles, ex. N = 2 for 20,000 cycles) after 10,000 cycles on those bits. P/N: PM1385 16 REV. 1.3, JAN. 27, 2011 MX25V4005 (5) Write Status Register (WRSR) The WRSR instruction is for changing the values of Status Register Bits. Before sending WRSR instruction, the Write Enable (WREN) instruction must be decoded and executed to set the Write Enable Latch (WEL) bit in advance. The WRSR instruction can change the value of Block Protect (BP2, BP1, BP0) bits to define the protected area of memory (as shown in table 1). The WRSR also can set or reset the Status Register Write Disable (SRWD) bit in accordance with Write Protection (WP#) pin signal. The WRSR instruction cannot be executed once the Hardware Protected Mode (HPM) is entered. The sequence of issuing WRSR instruction is: CS# goes low→sending WRSR instruction code→Status Register data on SI→ CS# goes high. (see Figure 15) The WRSR instruction has no effect on b6, b5, b1, b0 of the status register. The CS# must go high exactly at the byte boundary; otherwise, the instruction will be rejected and not executed. The self-timed Write Status Register cycle time (tW) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Write Status Register cycle is in progress. The WIP sets 1 during the tW timing, and sets 0 when Write Status Register Cycle is completed, and the Write Enable Latch (WEL) bit is reset. Table 4. Protection Modes Mode Status register condition WP# and SRWD bit status Memory Software protection mode (SPM) Status register can be WP#=1 and SRWD bit=0, or written in (WEL bit is set to The protected area cannot WP#=0 and SRWD bit=0, "1") and the SRWD, BP0be program or erase. WP#=1 and SRWD bit=1 BP2 bits can be changed Hardware protection mode (HPM) The SRWD, BP0-BP2 of status register bits cannot be changed WP#=0, SRWD bit=1 The protected area cannot be program or erase. Note: 1. As defined by the values in the Block Protect (BP2, BP1, BP0) bits of the Status Register, as shown in Table 1. As the above table showing, the summary of the Software Protected Mode (SPM) and Hardware Protected Mode (HPM). Software Protected Mode (SPM): - When SRWD bit=0, no matter WP# is low or high, the WREN instruction may set the WEL bit and can change the values of SRWD, BP2, BP1, BP0. The protected area, which is defined by BP2, BP1, BP0, is at software protected mode (SPM). - When SRWD bit=1 and WP# is high, the WREN instruction may set the WEL bit can change the values of SRWD, BP2, BP1, BP0. The protected area, which is defined by BP2, BP1, BP0, is at software protected mode (SPM). Note: If SRWD bit=1 but WP# is low, it is impossible to write the Status Register even if the WEL bit has previously been set. It is rejected to write the Status Register and not be executed. Hardware Protected Mode (HPM): - When SRWD bit=1, and then WP# is low (or WP# is low before SRWD bit=1), it enters the hardware protected mode (HPM). The data of the protected area is protected by software protected mode by BP2, BP1, BP0 and hardware protected mode by the WP# to against data modification. Note: to exit the hardware protected mode requires WP# driving high once the hardware protected mode is entered. If the WP# pin is permanently connected to high, the hardware protected mode can never be entered; only can use software protected mode via BP2, BP1, BP0. P/N: PM1385 17 REV. 1.3, JAN. 27, 2011 MX25V4005 (6) Read Data Bytes (READ) The read instruction is for reading data out. The address is latched on rising edge of SCLK, and data shifts out on the falling edge of SCLK at a maximum frequency fR. The first address byte can be at any location. The address is automatically increased to the next higher address after each byte data is shifted out, so the whole memory can be read out at a single READ instruction. The address counter rolls over to 0 when the highest address has been reached. The sequence of issuing READ instruction is: CS# goes low→sending READ instruction code→ 3-byte address on SI→data out on SO→ to end READ operation can use CS# to high at any time during data out. (see Figure. 16) (7) Read Data Bytes at Higher Speed (FAST_READ) The FAST_READ instruction is for quickly reading data out. The address is latched on rising edge of SCLK, and data of each bit shifts out on the falling edge of SCLK at a maximum frequency fC. The first address byte can be at any location. The address is automatically increased to the next higher address after each byte data is shifted out, so the whole memory can be read out at a single FAST_READ instruction. The address counter rolls over to 0 when the highest address has been reached. The sequence of issuing FAST_READ instruction is: CS# goes low→sending FAST_READ instruction code→ 3-byte address on SI→1-dummy byte address on SI→data out on SO→ to end FAST_READ operation can use CS# to high at any time during data out. (see Figure. 17) While Program/Erase/Write Status Register cycle is in progress, FAST_READ instruction is rejected without any impact on the Program/Erase/Write Status Register current cycle. (8) Sector Erase (SE) The Sector Erase (SE) instruction is for erasing the data of the chosen sector to be "1". A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Sector Erase (SE). Any address of the sector (see table 3) is a valid address for Sector Erase (SE) instruction. The CS# must go high exactly at the byte boundary (the latest eighth of address byte been latched-in); otherwise, the instruction will be rejected and not executed. Address bits [Am-A12] (Am is the most significant address) select the sector address. The sequence of issuing SE instruction is: CS# goes low→ sending SE instruction code→3-byte address on SI → CS# goes high. (see Figure 19) The self-timed Sector Erase Cycle time (tSE) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Sector Erase cycle is in progress. The WIP sets 1 during the tSE timing, and sets 0 when Sector Erase Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the page is protected by BP2, BP1, BP0 bits, the Sector Erase (SE) instruction will not be executed on the page. P/N: PM1385 18 REV. 1.3, JAN. 27, 2011 MX25V4005 (9) Block Erase (BE) The Block Erase (BE) instruction is for erasing the data of the chosen block to be "1". A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Block Erase (BE). Any address of the block (see table 3) is a valid address for Block Erase (BE) instruction. The CS# must go high exactly at the byte boundary (the latest eighth of address byte been latched-in); otherwise, the instruction will be rejected and not executed. The sequence of issuing BE instruction is: CS# goes low→sending BE instruction code→3-byte address on SI→ CS# goes high. (see Figure 20) The self-timed Block Erase Cycle time (tBE) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Sector Erase cycle is in progress. The WIP sets 1 during the tBE timing, and sets 0 when Sector Erase Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the page is protected by BP2, BP1, BP0 bits, the Block Erase (BE) instruction will not be executed on the page. (10) Chip Erase (CE) The Chip Erase (CE) instruction is for erasing the data of the whole chip to be "1". A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Chip Erase (CE). Any address of the sector (see table 3) is a valid address for Chip Erase (CE) instruction. The CS# must go high exactly at the byte boundary( the latest eighth of address byte been latched-in); otherwise, the instruction will be rejected and not executed. The sequence of issuing CE instruction is: CS# goes low→sending CE instruction code→CS# goes high. (see Figure 21) The self-timed Chip Erase Cycle time (tCE) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Chip Erase cycle is in progress. The WIP sets 1 during the tCE timing, and sets 0 when Chip Erase Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the chip is protected by BP2, BP1, BP0 bits, the Chip Erase (CE) instruction will not be executed. It will be only executed when BP2, BP1, BP0 all set to "0". (11) Page Program (PP) The Page Program (PP) instruction is for programming the memory to be "0". A Write Enable (WREN) instruction must execute to set the Write Enable Latch (WEL) bit before sending the Page Program (PP). The device programs only the last 256 data bytes sent to the device. If the entire 256 data bytes are going to be programmed, A7A0 (The eight least significant address bits) should be set to 0. If the eight least significant address bits (A7-A0) are not all 0, all transmitted data going beyond the end of the current page are programmed from the start address of the same page (from the address A7-A0 are all 0). If more than 256 bytes are sent to the device, the data of the last 256-byte is programmed at the request page and previous data will be disregarded. If less than 256 bytes are sent to the device, the data is programmed at the requested address of the page without effect on other address of the same page. The sequence of issuing PP instruction is: CS# goes low→sending PP instruction code→3-byte address on SI→ at least 1-byte on data on SI→CS# goes high. (see Figure 18) P/N: PM1385 19 REV. 1.3, JAN. 27, 2011 MX25V4005 The CS# must be kept to low during the whole Page Program cycle; The CS# must go high exactly at the byte boundary( the latest eighth bit of data being latched in), otherwise the instruction will be rejected and will not be executed. The self-timed Page Program Cycle time (tPP) is initiated as soon as Chip Select (CS#) goes high. The Write in Progress (WIP) bit still can be check out during the Page Program cycle is in progress. The WIP sets 1 during the tPP timing, and sets 0 when Page Program Cycle is completed, and the Write Enable Latch (WEL) bit is reset. If the page is protected by BP3, BP2, BP1, BP0 bits, the Page Program (PP) instruction will not be executed. (12) Deep Power-down (DP) The Deep Power-down (DP) instruction is for setting the device on the minimizing the power consumption (to entering the Deep Power-down mode), the standby current is reduced from ISB1 to ISB2). The Deep Power-down mode requires the Deep Power-down (DP) instruction to enter, during the Deep Power-down mode, the device is not active and all Write/Program/Erase instruction are ignored. When CS# goes high, it's only in standby mode not deep power-down mode. It's different from Standby mode. The sequence of issuing DP instruction is: CS# goes low→ sending DP instruction code→CS# goes high. (see Figure 22) Once the DP instruction is set, all instruction will be ignored except the Release from Deep Power-down mode (RDP) and Read Electronic Signature (RES) instruction. (RES instruction to allow the ID been read out). When Powerdown, the deep power-down mode automatically stops, and when power-up, the device automatically is in standby mode. For RDP instruction the CS# must go high exactly at the byte boundary (the latest eighth bit of instruction code been latched-in); otherwise, the instruction will not executed. As soon as Chip Select (CS#) goes high, a delay of tDP is required before entering the Deep Power-down mode and reducing the current to ISB2. (13) Release from Deep Power-down (RDP), Read Electronic Signature (RES) The Release from Deep Power-down (RDP) instruction is terminated by driving Chip Select (CS#) High. When Chip Select (CS#) is driven High, the device is put in the Stand-by Power mode. If the device was not previously in the Deep Power-down mode, the transition to the Stand-by Power mode is immediate. If the device was previously in the Deep Power-down mode, though, the transition to the Stand-by Power mode is delayed by tRES2, and Chip Select (CS#) must remain High for at least tRES2(max), as specified in Table 6. Once in the Stand-by Power mode, the device waits to be selected, so that it can receive, decode and execute instructions. RES instruction is for reading out the old style of 8-bit Electronic Signature, whose values are shown as table of ID Definitions. This is not the same as RDID instruction. It is not recommended to use for new design. For new deisng, please use RDID instruction. Even in Deep power-down mode, the RDP and RES are also allowed to be executed, only except the device is in progress of program/erase/write cycle; there's no effect on the current program/erase/ write cycle in progress. The sequence is shown as Figure 23 and Figure 24. The RES instruction is ended by CS# goes high after the ID been read out at least once. The ID outputs repeatedly if continuously send the additional clock cycles on SCLK while CS# is at low. If the device was not previously in Deep Power-down mode, the device transition to standby mode is immediate. If the device was previously in Deep Power-down mode, there's a delay of tRES2 to transit to standby mode, and CS# must remain to high at least tRES2(max). Once in the standby mode, the device waits to be selected, so it can be receive, decode, and execute instruction. The RDP instruction is for releasing from Deep Power Down Mode. P/N: PM1385 20 REV. 1.3, JAN. 27, 2011 MX25V4005 (14) Read Electronic Manufacturer ID & Device ID (REMS) The REMS instruction is an alternative to the Release from Power-down/Device ID instruction that provides both the JEDEC assigned manufacturer ID and the specific device ID. The REMS instruction is very similar to the Release from Power-down/Device ID instruction. The instruction is initiated by driving the CS# pin low and shift the instruction code "90h" followed by two dummy bytes and one bytes address (A7~A0). After which, the Manufacturer ID for MXIC (C2h) and the Device ID are shifted out on the falling edge of SCLK with most significant bit (MSB) first as shown in figure 25. The Device ID values are listed in Table of ID Definitions. If the one-byte address is initially set to 01h, then the device ID will be read first and then followed by the Manufacturer ID. The Manufacturer and Device IDs can be read continuously, alternating from one to the other. The instruction is completed by driving CS# high. Table of ID Definitions RDID Command manufacturer ID C2 memory type 20 electronic ID 12 device ID 12 RES Command REMS Command P/N: PM1385 manufacturer ID C2 21 memory density 13 REV. 1.3, JAN. 27, 2011 MX25V4005 POWER-ON STATE The device is at below states when power-up: - Standby mode (please note it is not deep power-down mode) - Write Enable Latch (WEL) bit is reset The device must not be selected during power-up and power-down stage unless the VCC achieves below correct level: - VCC minimum at power-up stage and then after a delay of tVSL - GND at power-down Please note that a pull-up resistor on CS# may ensure a safe and proper power-up/down level. An internal power-on reset (POR) circuit may protect the device from data corruption and inadvertent data change during power up state. For further protection on the device, if the VCC does not reach the VCC minimum level, the correct operation is not guaranteed. The read, write, erase, and program command should be sent after the time delay: - tVSL after VCC reached VCC minimum level The device can accept read command after VCC reached VCC minimum and a time delay of tVSL. Please refer to the figure of "power-up timing". Note: - To stabilize the VCC level, the VCC rail decoupled by a suitable capacitor close to package pins is recommended.(generally around 0.1uF) P/N: PM1385 22 REV. 1.3, JAN. 27, 2011 MX25V4005 ELECTRICAL SPECIFICATIONS ABSOLUTE MAXIMUM RATINGS RATING VALUE Ambient Operating Temperature -40°C to 85°C Storage Temperature -65°C to 150°C Applied Input Voltage -0.5V to 4.6V Applied Output Voltage -0.5V to 4.6V VCC to Ground Potential -0.5V to 4.6V Notes: 1.Stresses greater than those listed under ABSOLUTE MAXIMUM RATINGS may cause permanent damage to the device. This is stress rating only and functional operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended period may affect reliability. 2.Specifications contained within the following tables are subject to change. 3.During voltage transitions, all pins may overshoot to 4.6V or -0.5V for period up to 20ns. 4.All input and output pins may overshoot to VCC+0.5V while VCC+0.5V is smaller than or equal to 4.6V. Figure 4. Maximum Positive Overshoot Waveform Figure 3.Maximum Negative Overshoot Waveform 20ns 4.6V 0V 3.6V -0.5V 20ns CAPACITANCE TA = 25°C, f = 1.0 MHz SYMBOL PARAMETER CIN COUT P/N: PM1385 MIN. TYP MAX. UNIT Input Capacitance 6 pF VIN = 0V Output Capacitance 8 pF VOUT = 0V 23 CONDITIONS REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 5. INPUT TEST WAVEFORMS AND MEASUREMENT LEVEL Input timing referance level 0.8VCC 0.7VCC 0.3VCC 0.2VCC Output timing referance level AC Measurement Level 0.5VCC Note: Input pulse rise and fall time are <5ns Figure 6. OUTPUT LOADING 25K ohm DEVICE UNDER TEST CL +2.5V 25K ohm CL=30pF Including jig capacitance P/N: PM1385 24 REV. 1.3, JAN. 27, 2011 MX25V4005 Table 5. DC CHARACTERISTICS (Temperature = -40°C to 85°C, VCC = 2.35V ~ 3.6V) SYMBOL PARAMETER NOTES MIN. TYP. MAX. UNITS TEST CONDITIONS ILI Input Load Current 1 ±2 uA VCC = VCC Max, VIN = VCC or GND ILO Output Leakage Current 1 ±2 uA VCC = VCC Max, VIN = VCC or GND ISB1 VCC Standby Current 1 10 uA VIN = VCC or GND, CS# = VCC ISB2 Deep Power-down Current 10 uA 8 mA ICC1 VCC Read VIL VCC Program Current (PP) VCC Write Status Register (WRSR) Current VCC Sector Erase Current (SE) VCC Chip Erase Current (CE) Input Low Voltage VIH Input High Voltage VOL Output Low Voltage VOH Output High Voltage ICC2 ICC3 ICC4 ICC5 1 VIN = VCC or GND, CS# = VCC f=50MHz, SCLK=0.1VCC/0.9VCC, SO=Open f=25MHz, SCLK=0.1VCC/0.9VCC, SO=Open 4 mA 15 mA 15 mA 1 15 mA 1 15 mA -0.5 0.3VCC V 0.7VCC VCC+0.4 V 0.4 V IOL = 1.6mA V IOH = -100uA 1 VCC-0.2 Program in Progress, CS# = VCC Program status register in progress, CS#=VCC Erase in Progress, CS#=VCC Erase in Progress, CS#=VCC Notes : 1. Typical values at VCC = 2.5V, T = 25°C. These currents are valid for all product versions (package and speeds). 2. Typical value is calculated by simulation. P/N: PM1385 25 REV. 1.3, JAN. 27, 2011 MX25V4005 Table 6. AC CHARACTERISTICS (Temperature = -40°C to 85°C, VCC = 2.35V ~ 3.6V) Symbol fSCLK fRSCLK tCH(1) tCL(1) tCLCH(2) tCHCL(2) tSLCH tCHSL tDVCH tCHDX tCHSH tSHCH tSHSL tSHQZ(2) tCLQV tCLQX tHLCH tCHHH tHHCH tCHHL tHHQX(2) tHLQZ(2) tWHSL(4) tSHWL(4) tDP(2) tRES1(2) tRES2(2) tW(6) tPP tSE tBE tCE Alt. Parameter Clock Frequency for the following instructions: fC FAST_READ, PP, SE, BE, CE, DP, RES, RDP,WREN, WRDI, RDID, RDSR, WRSR fR Clock Frequency for READ instructions fC=50MHz tCLH Clock High Time fR=25MHz fC=50MHz tCLL Clock Low Time fR=25MHz Clock Rise Time (3) (peak to peak) Clock Fall Time (3) (peak to peak) tCSS CS# Active Setup Time (relative to SCLK) CS# Not Active Hold Time (relative to SCLK) tDSU Data In Setup Time tDH Data In Hold Time CS# Active Hold Time (relative to SCLK) CS# Not Active Setup Time (relative to SCLK) tCSH CS# Deselect Time tDIS Output Disable Time Loading : 30pF tV Clock Low to Output Valid Loading : 15pF tHO Output Hold Time HOLD# Setup Time (relative to SCLK) HOLD# Hold Time (relative to SCLK) HOLD Setup Time (relative to SCLK) HOLD Hold Time (relative to SCLK) tLZ HOLD to Output Low-Z tHZ HOLD# to Output High-Z Write Protect Setup Time Write Protect Hold Time CS# High to Deep Power-down Mode CS# High to Standby Mode without Electronic Signature Read CS# High to Standby Mode with Electronic Signature Read Write Status Register Cycle Time Page Program Cycle Time Sector Erase Cycle Time Block Erase Cycle Time Chip Erase Cycle Time Min. Typ. Max. Unit 1KHz 50 MHz 1KHz 8 16 8 16 0.1 0.1 8 8 2 5 5 5 100 25 3 MHz ns ns ns ns V/ns V/ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns us 3 us 1.8 us 150 5 120 2 7.5 ms ms ms s s 6 11 9 0 5 5 5 5 6 6 20 100 5 1.4 60 1 3.5 Notes: 1. tCH + tCL must be greater than or equal to 1/ f(fC or fR). 2. Value guaranteed by characterization, not 100% tested in production. 3. Expressed as a slew-rate. 4. Only applicable as a constraint for a WRSR instruction when SRWD is set at 1. 5. Test condition is shown as Figure 5. 6. tW=N x 15ms (N is a multiple of 10K cycles). P/N: PM1385 26 REV. 1.3, JAN. 27, 2011 MX25V4005 Table 7. Power-Up Timing Symbol tVSL(1) Parameter VCC(min) to CS# low Min. 10 Max. Unit us Note: 1. The parameter is characterized only. INITIAL DELIVERY STATE The device is delivered with the memory array erased: all bits are set to 1 (each byte contains FFh). The Status Register contains 00h (all Status Register bits are 0). P/N: PM1385 27 REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 7. Serial Input Timing tSHSL CS# tCHSL tSLCH tCHSH tSHCH SCLK tDVCH tCHCL tCHDX tCLCH LSB MSB SI High-Z SO Figure 8. Output Timing CS# tCH SCLK tCLQV tCL tCLQV tSHQZ tCLQX LSB SO SI P/N: PM1385 ADDR.LSB IN 28 REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 9. Hold Timing CS# tHLCH tCHHL tHHCH SCLK tCHHH tHLQZ tHHQX SO HOLD# * SI is "don't care" during HOLD operation. Figure 10. WP# Disable Setup and Hold Timing during WRSR when SRWD=1 WP# tSHWL tWHSL CS# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 SCLK 01 SI SO P/N: PM1385 High-Z 29 REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 11. Write Enable (WREN) Sequence (Command 06) CS# 0 1 2 3 4 5 6 7 5 6 SCLK Command SI 06 High-Z SO Figure 12. Write Disable (WRDI) Sequence (Command 04) CS# 0 1 2 3 4 7 SCLK Command SI 04 High-Z SO Figure 13. Read Identification (RDID) Sequence (Command 9F) CS# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 28 29 30 31 SCLK Command SI 9F Manufacturer Identification SO High-Z 7 6 5 MSB P/N: PM1385 3 2 1 Device Identification 0 15 14 13 3 2 1 0 MSB 30 REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 14. Read Status Register (RDSR) Sequence (Command 05) CS# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 SCLK command 05 SI Status Register Out High-Z SO 7 6 5 4 3 2 Status Register Out 1 0 7 6 5 4 3 2 1 0 7 MSB MSB Figure 15. Write Status Register (WRSR) Sequence (Command 01) CS# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 SCLK command SI Status Register In 01 7 5 4 3 2 0 1 MSB High-Z SO 6 Figure 16. Read Data Bytes (READ) Sequence (Command 03) 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 command SI 03 24-Bit Address 23 22 21 3 2 1 0 MSB SO Data Out 1 High-Z 7 6 5 4 3 2 Data Out 2 1 0 7 MSB P/N: PM1385 31 REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 17. Read at Higher Speed (FAST_READ) Sequence (Command 0B) CS# 0 1 2 3 4 5 6 7 8 9 10 28 29 30 31 SCLK Command SI SO 24 BIT ADDRESS 23 22 21 0B 3 2 1 0 High-Z CS# 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 SCLK Dummy Byte SI 7 6 5 4 3 2 1 0 DATA OUT 2 DATA OUT 1 SO 7 6 5 P/N: PM1385 4 3 2 1 0 7 MSB MSB 32 6 5 4 3 2 1 0 7 MSB REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 18. Page Program (PP) Sequence (Command 02) 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 1 0 7 6 5 3 2 1 0 2079 2 2078 3 2077 23 22 21 02 SI Data Byte 1 2076 24-Bit Address 2075 Command 4 1 0 MSB MSB 2074 2073 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 2072 CS# SCLK Data Byte 2 SI 7 6 MSB P/N: PM1385 5 4 3 2 Data Byte 3 1 0 7 6 5 4 MSB 3 2 Data Byte 256 1 0 7 6 5 4 3 2 MSB 33 REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 19. Sector Erase (SE) Sequence (Command 20) CS# 0 1 2 3 4 5 6 7 8 9 29 30 31 SCLK 24 Bit Address Command SI 23 22 20 2 1 0 MSB Note: SE command is 20(hex). Figure 20. Block Erase (BE) Sequence (Command 52 or D8) CS# 0 1 2 3 4 5 6 7 8 9 29 30 31 SCLK Command SI 52 or D8 24 Bit Address 23 22 2 1 0 MSB Note: BE command is 52 or D8(hex). P/N: PM1385 34 REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 21. Chip Erase (CE) Sequence (Command 60 or C7) CS# 0 1 2 3 4 5 6 7 SCLK Command SI 60 or C7 Note: CE command is 60(hex) or C7(hex). Figure 22. Deep Power-down (DP) Sequence (Command B9) CS# 0 1 2 3 4 5 6 tDP 7 SCLK Command B9 SI Deep Power-down Mode Stand-by Mode Figure 23. Release from Deep Power-down and Read Electronic Signature (RES) Sequence (Command AB) CS# 0 1 2 3 4 5 6 7 8 9 10 28 29 30 31 32 33 34 35 36 37 38 SCLK Command SI AB tRES2 3 Dummy Bytes 23 22 21 3 2 1 0 MSB SO Electronic Signature Out High-Z 7 6 5 4 3 2 1 0 MSB Deep Power-down Mode P/N: PM1385 35 Stand-by Mode REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 24. Release from Deep Power-down (RDP) Sequence (Command AB) CS# 0 1 2 3 4 5 6 tRES1 7 SCLK Command SI AB High-Z SO Stand-by Mode Deep Power-down Mode Figure 25. Read Electronic Manufacturer & Device ID (REMS) Sequence (Command 90) CS# 0 1 2 3 4 5 6 7 8 9 10 SCLK Command SI 2 Dummy Bytes 15 14 13 90 3 2 1 0 High-Z SO CS# 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 SCLK ADD (1) SI 7 6 5 4 3 2 1 0 Manufacturer ID SO X 7 6 5 4 3 2 1 Device ID 0 7 6 5 4 3 2 1 MSB MSB 0 7 MSB Notes: (1) ADD=00H will output the manufacturer's ID first and ADD=01H will output device ID first P/N: PM1385 36 REV. 1.3, JAN. 27, 2011 MX25V4005 Figure 26. Power-up Timing VCC VCC(max) Chip Selection is Not Allowed VCC(min) tVSL Device is fully accessible time P/N: PM1385 37 REV. 1.3, JAN. 27, 2011 MX25V4005 RECOMMENDED OPERATING CONDITIONS At Device Power-Up AC timing illustrated in Figure 27 and Figure 28 are for the supply voltages and the control signals at device powerup and power-down. If the timing in the figures is ignored, the device will not operate correctly. During power-up and power-down, CS# needs to follow the voltage applied on VCC to keep the device not to be selected. The CS# can be driven low when VCC reach Vcc(min.) and wait a period of tVSL. Figure 27. AC Timing at Device Power-Up VCC VCC(min) GND tVR tSHSL CS# tSLCH tCHSL tCHSH tSHCH SCLK tDVCH tCHCL tCHDX LSB IN MSB IN SI High Impedance SO Symbol tVR tCLCH Parameter VCC Rise Time Notes 1 Min. 20 Max. 500000 Unit us/V Notes: 1.Sampled, not 100% tested. 2.For AC spec tCHSL, tSLCH, tDVCH, tCHDX, tSHSL, tCHSH, tSHCH, tCHCL, tCLCH in the figure, please refer to "AC CHARACTERISTICS" table. Figure 28. Power-Down Sequence During power-down, CS# needs to follow the voltage drop on VCC to avoid mis-operation. VCC CS# SCLK P/N: PM1385 38 REV. 1.3, JAN. 27, 2011 MX25V4005 ERASE AND PROGRAMMING PERFORMANCE PARAMETER Min. TYP. (1) Max. (2) UNIT Write Status Register Cycle Time (4) 5 150 ms Sector erase Time 60 120 ms Block erase Time 1 2 s Chip Erase Time 3.5 7.5 s Page Program Time 1.4 5 ms Erase/Program Cycle 100,000 cycles Note: 1. Typical program and erase time assumes the following conditions: 25°C, 2.5V, and checker board pattern. 2. Under worst conditions of 85°C and 2.35V. 3. System-level overhead is the time required to execute the first-bus-cycle sequence for the programming command. 4. Write Status Register Cycle Time tW=N x 15ms (N is a multiple of 10K cycles). LATCH-UP CHARACTERISTICS MIN. MAX. Input Voltage with respect to GND on ACC -1.0V 12.5V Input Voltage with respect to GND on all power pins, SI, CS# -1.0V 2 VCCmax Input Voltage with respect to GND on SO -1.0V VCC + 1.0V -100mA +100mA Current Includes all pins except VCC. Test conditions: VCC = 2.5V, one pin at a time. P/N: PM1385 39 REV. 1.3, JAN. 27, 2011 MX25V4005 ORDERING INFORMATION PART NO. CLOCK (MHz) OPERATING CURRENT MAX. (mA) STANDBY CURRENT MAX. (uA) TEMPERATURE MX25V4005MI-20G 50 12 10 -40~85°C MX25V4005ZNI-20G 50 12 10 -40~85°C P/N: PM1385 40 PACKAGE Remark 8-SOP RoHS (150mil) Compliant 8-land WSON RoHS (6x5mm) Compliant REV. 1.3, JAN. 27, 2011 MX25V4005 PART NAME DESCRIPTION MX 25 V 4005 ZN I 20 G OPTION: G: RoHS Compliant SPEED: 20: 50MHz TEMPERATURE RANGE: I: -40°C to 85°C PACKAGE: ZN: WSON (0.8mm package height) M: 150mil 8-SOP DENSITY & MODE: 4005: 4Mb TYPE: V: 2.5V DEVICE: 25: Serial Flash P/N: PM1385 41 REV. 1.3, JAN. 27, 2011 MX25V4005 PACKAGE INFORMATION 8-pin SOP (150mil) P/N: PM1385 42 REV. 1.3, JAN. 27, 2011 MX25V4005 8-land WSON (6x5mm, 0.8mm package height) P/N: PM1385 43 REV. 1.3, JAN. 27, 2011 MX25V4005 REVISION HISTORY Revision No. Description 1.0 1. Removed "Preliminary" 2. Changed low temperature from -20°C to -40°C 3. Modified Figure 8. Output Timing 4. Modified Figure 13, 14, 16,17, 23 (SO waveform) 1.1 1. Removed "Low Vcc write inhibit" function 1.2 1. Announced "not recommended for new designs" wording 1.3 1. Redefine Write Status Register Cycle Time with tW=N x 15ms for mula 2. Modified Storage Temperature from -55°C to 125°C to -65°C to 150°C 3. Modified Figure 8. Output Timing 4. Modified Figure 19. Sector Erase. P/N: PM1385 44 Page Date P6 OCT/29/2008 P23,25,26,40 P28 P30,31,32,35 P6,9,22, MAR/12/2009 P27,37 P1,6 APR/15/2009 P26,39 JAN/27/2011 P23 P28 P34 REV. 1.3, JAN. 27, 2011 MX25V4005 Macronix's products are not designed, manufactured, or intended for use for any high risk applications in which the failure of a single component could cause death, personal injury, severe physical damage, or other substantial harm to persons or property, such as life-support systems, high temperature automotive, medical, aircraft and military application. Macronix and its suppliers will not be liable to you and/or any third party for any claims, injuries or damages that may be incurred due to use of Macronix's products in the prohibited applications. Copyright© Macronix International Co., Ltd. 2008~2011. All rights reserved. Macronix, MXIC, MXIC Logo, MX Logo, Integrated Solutions Provider, NBit, NBiit, Macronix NBit, eLiteFlash, XtraROM, Phines, BE-SONOS, KSMC, Kingtech, MXSMIO, Macronix vEE are trademarks or registered trademarks of Macronix International Co., Ltd. The names and brands of other companies are for identification purposes only and may be claimed as the property of the respective companies. For the contact and order information, please visit Macronix’s Web site at: http://www.macronix.com MACRONIX INTERNATIONAL CO., LTD. reserves the right to change product and specifications without notice. 45