N25Q032A13E1241F MICRON | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 153

Technical content

Datasheet sections

  • 1 Description
  • 2 Signal descriptions
  • 2.1 Serial data output (DQ1)
  • 2.2 Serial data input (DQ0)
  • 2.3 Serial Clock (C)
  • 2.4 Chip Select (S)
  • 2.5 Hold (HOLD) or Reset (Reset)
  • 2.6 Write protect/enhanced program supply voltage (W
  • 2.7 V CC supply voltage
  • 2.8 V SS ground
  • 3 SPI Modes
  • 4 SPI Protocols
  • 4.1 Extended SPI protocol
  • 4.2 Dual I/O SPI (DIO-SPI) protocol
  • 4.3 Quad SPI (QIO-SPI) protocol
  • 5 Operating features
  • 5.1 Extended SPI Protocol Operating features
  • 5.1.1 Read Operations
  • 5.1.2 Page programming
  • 5.1.3 Dual input fast program
  • 5.1.4 Dual Input Extended Fast Program
  • 5.1.5 Quad Input Fast Program
  • 5.1.6 Quad Input Extended Fast Pr ogram
  • 5.1.7 Subsector erase, sector erase and bulk erase
  • 5.1.8 Polling during a write, pr ogram or erase cycle
  • 5.1.9 Active power and standby power modes
  • 5.1.10 Hold (or Reset) cond ition
  • 5.2 Dual SPI (DIO-SPI) Protocol
  • 5.2.1 Multiple I/O Read Identification

Datasheet sections

  • 6.4.1 Quad Input Command VECR<7>
  • 6.4.2 Dual Input Command VECR<6>
  • 6.4.3 Reset/Hold disable VECR<4>
  • 6.4.4 Accelerator pin enable: QIO-SPI pr otocol / QIFP/QIEFP VECR<3>
  • 6.4.5 Output Driver Strength VECR<2:0>
  • 6.5 Flag Status Register
  • 6.5.1 P/E Controller Status bit
  • 6.5.2 Erase Suspend Status bit
  • 6.5.3 Erase Status bit
  • 6.5.4 Program Status bit
  • 6.5.5 VPP Status bit
  • 6.5.6 Program Suspend Status bit
  • 6.5.7 Protection Status bit
  • 7 Protection modes
  • 7.1 SPI Protocol-related protections
  • 7.2 Specific hardware and software protection
  • 8 Memory organization
  • 9 Instructions
  • 9.1 Extended SPI Instructions
  • 9.1.1 Read Identification (RDID)
  • 9.1.2 Read Data Bytes (READ)
  • 9.1.3 Read Data Bytes at Higher Speed (FAST_READ)
  • 9.1.4 Read Serial Flash Discovery Parameter
  • 9.1.5 Dual Output Fast Read (DOFR)
  • 9.1.6 Dual I/O Fast Read
  • 9.1.7 Quad Output Fast Read
  • 9.1.8 Quad I/O Fast Read
  • 9.1.9 Read OTP (ROTP)
  • 9.1.10 Write Enable (WREN)
  • 9.1.11 Write Disable (WRDI)
  • 9.1.12 Page Program (PP)
  • 9.1.13 Dual Input Fast Program (DIF P)
  • 9.1.14 Dual Input Extended Fast Program
  • 9.1.15 Quad Input Fast Program

Datasheet sections

  • 9.2.18 Read Flag Status Register
  • 9.2.19 Clear Flag Status Register
  • 9.2.20 Read NV Configuration Register
  • 9.2.21 Write NV Configuration Register
  • 9.2.22 Read Volatile Configuration Register
  • 9.2.23 Write Volatile Configuration Register
  • 9.2.24 Read Volatile Enhanced Configuration Re gister
  • 9.2.25 Write Volatile Enhanced Configuration Re gister
  • 9.3 QIO-SPI Instructions
  • 9.3.1 Multiple I/O Read Identification (MIORDID)
  • 9.3.2 Read Serial Flash Discovery Parameter
  • 9.3.3 Quad Command Fast Read (QCFR)
  • 9.3.4 Read OTP (ROTP)
  • 9.3.5 Write Enable (WREN)
  • 9.3.6 Write Disable (WRDI)
  • 9.3.7 Quad Command Page Program (QCPP)
  • 9.3.8 Program OTP instruction (POTP)
  • 9.3.9 Subsector Erase (SSE)
  • 9.3.10 Sector Erase (SE)
  • 9.3.11 Bulk Erase (BE)
  • 9.3.12 Program/Erase Suspend
  • 9.3.13 Program/Erase Resume
  • 9.3.14 Read Status Register (RDSR)
  • 9.3.15 Write status register (WRSR)
  • 9.3.16 Read Lock Register (RDLR)
  • 9.3.17 Write to Lock Register (WRLR)
  • 9.3.18 Read Flag Status Register
  • 9.3.19 Clear Flag Status Register
  • 9.3.20 Read NV Configuration Register
  • 9.3.21 Write NV Configuration Register
  • 9.3.22 Read Volatile Configuration Register
  • 9.3.23 Write Volatile Configuration Register
  • 9.3.24 Read Volatile Enhanced Configuration Re gister
  • 9.3.25 Write Volatile Enhanced Configuration Re gister
  • 10 XIP Operations
  • 10.1 Enter XIP mode by setting the Non Vola tile Configuration Register

Features

„ SPI-compatible serial bus interface „ 108 MHz (maximum) clock frequency „ 2.7 V to 3.6 V single supply voltage „ Supports legacy SPI protocol and new Quad I/O or Dual I/O SPI protocol „ Quad/Dual I/O instructions resulting in an equivalent clock frequency up to 432 MHz: „ XIP mode for all three protocols – Configurable via volatile or non-volatile registers (enabling the memory to work in XiP mode directly after power on) „ Program/Erase suspend instructions „ Continuous read of entire memory via single instruction: –F a s t R e a d – Quad or Dual Output Fast Read – Quad or Dual I/O Fast Read „ Flexible to fit application: – Configurable numb er of dummy cycles – Output buffer configurable – Reset function available upon customer request „ 64-byte user-lockable, one-time programmable (OTP) area „ Erase capability – Subsector (4-Kbyte) granularity on the entire memory array. – Sector (64-Kbyte) granularity „ Write protections – Software write protection applicable to every 64-Kbyte sector (volatile lock bit) – Hardware write protection: protected area size defined by five non-volatile bits (BP0, BP1, BP2, and TB bit) – Additional smart protections available upon customer request „ Electronic signature – JEDEC standard two-byte signature (BA16h) – Additional 2 Extended Device ID (EDID) bytes to identify device factory options – Unique ID code (UID) with 14 bytes read- only, factory programmed „ More than 100,000 program/erase cycles per sector „ More than 20 years data retention „ Packages (All packages RoHS compliant): – F4 = UFDFPN8 4 x 3 mm (MLP8) – F6 = VDFPN8 6 x 5 mm (MLP8) – F8 = VDFPN8 8 x 6 mm (MLP8) – SC = SO8N (150 mils body width) – SE = SO8W (208 mils body width) – SF = SO16 (300 mils body width) – 12 = TBGA24 6 x 8 mm

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. 6.2.1 Dummy clock cycles NV configuration bits (NVCR bits from 15 to 12) . 36 6.2.3 Output Driver Strength NV configuratio n bits (NVCR bits from 8 to 6) . . 37

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

1 Description

The N25Q032 is a 32 Mbit (4Mb x 8) serial Flash memory, with advanced write protection mechanisms. It is accessed by a high speed SPI-compatible bus and features the possibility to work in XIP (“eXecution in Place”) mode. The N25Q032 supports innovative, high-performance quad/dual I/O instructions, these new instructions allow to double or quadruple the transfer bandwidth for read and program operations. Furthermore the memory can be operated with 3 different protocols: z Standard SPI (Extended SPI protocol) z Dual I/O SPI z Quad I/O SPI The Standard SPI protocol is enriched by the new quad and dual instructions (Extended SPI protocol). For Dual I/O SPI (DIO-SPI) all the instructions codes, the addresses and the data are always transmitted across two data lines. For Quad I/O SPI (QIO-SPI) the instructions codes, the addresses and the data are always transmitted across four data lines thus enabling a tremendous improvement in both random access time and data throughput. The memory can work in “XIP mode”, that means the device only requires the addresses and not the instructions to output the data. This mode dramatically reduces random access time thus enabling many applications requiring fast code execution without shadowing the memory content on a RAM. The XIP mode can be used with QIO-SPI, DIO-SPI, or Extended SPI protocol, and can be entered and exited using different dedicated instructions to allow maximum flexibility: for applications required to enter in XIP mode right after power up of the device, this can be set as default mode by using dedicated Non Volatile Register (NVR) bits. Another feature is the ability to pause and resume program and erase cycles by using dedicated Program/Erase Suspend and Resume instructions. The N25Q032 memory offers the following additional features to be configured by using the Non Volatile Configuration Register (NVCR) for default /Non-Volatile settings or by using the Volatile and Volatile Enhanced Configuration Registers for Volatile settings: z the number of dummy cycles for fast read instructions (single, dual and, quad I/O) according to the operating frequency z the output buffer impedance z the type of SPI protocol (extended SPI, DIO-SPI or QIO-SPI) z the required XIP mode z the Hold (Reset) functionality enabling/disabling z the Wrap mode enabling/disabling. The memory is organized as 64 (64-Kbyte) main sectors that are further divided into 16 subsectors each (1024 subsectors in total). The memory can be erased a 4-KByte subsector at a time, a 64-KByte sector at a time, or as a whole. The memory can be write protected by software using a mix of volatile and non-volatile protection features, depending on the application needs. The protection granularity is of 64- Kbyte (sector granularity) for volatile protections.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Numonyx Sales office for more information. Figure 1. Logic diagram Table 1. Signal names

  1. Provides dual and quad I/O for Extended SPI protocol instruct ions, dual I/O for Dual I/O SPI protocol instructions, and

quad I/O for Quad I/O SPI protocol instructions.

  1. Provides dual and quad instruction input for Extended SPI protocol, dual instruction input for Dual I/O SPI protocol, and

quad instruction input for Quad I/O SPI protocol.

  1. Provides quad I/O for Extended SPI protocol instructions, and quad I/O for Quad I/O SPI protocol instructions.
  2. Reset functionality available with a dedicated part number. See Section 16: Ordering information.

N25Q032 - 3 V Signal descriptions Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

2 Signal descriptions

2.1 Serial data output (DQ1)

This output signal is used to transfer data serially out of the device. Data are shifted out on the falling edge of Serial Clock (C). When used as an Input, It is latched on the rising edge of the Serial Clock (C). In the Extended SPI protocol, during the Quad and Dual Input Fast Program (QIFP, DIFP) instructions and during the Quad and Dual Input Extended Fast Program (QIEFP, DIEFP) instructions, pin DQ1 is used also as an input. In the Dual I/O SPI protocol (DIO-SPI) the DQ1 pin always acts as an input/output. In the Quad I/O SPI protocol (QIO-SPI) the DQ1 pin always acts as an input/output, with the exception of the Program or Erase cycle performed with the Enhanced Program Supply Voltage (VPP). In this case the device temporarily goes in Extended SPI protocol. The protocol then becomes QIO-SPI as soon as the VPP pin voltage goes low.

2.2 Serial data input (DQ0)

This input signal is used to transfer data serially into the device. It receives instructions, addresses, and the data to be programmed. Values are latched on the rising edge of Serial Clock (C). Data are shifted out on the falling edge of the Serial Clock (C). In the Extended SPI protocol, during the Quad and Dual Output Fast Read (QOFR, DOFR) and the Quad and Dual Input/Output Fast Read (QIOFR, DIOFR) instructions, pin DQ0 is also used as an input/output. In the DIO-SPI protocol the DQ0 pin always acts as an input/output. In the QIO-SPI protocol, the DQ0 pin always acts as an input/output, with the exception of the Program or Erase cycle performed with the enhanced program supply voltage (VPP). In this case the device temporarily goes in Extended SPI protocol. Then, the protocol returns to QIO-SPI as soon as the VPP pin voltage goes low.

2.3 Serial Clock (C)

This input signal provides the timing for the serial interface. Instructions, addresses, or data present at serial data input (DQ0) are latched on the rising edge of Serial Clock (C). Data are shifted out on the falling edge of the Serial Clock (C).

2.4 Chip Select (S )

When this input signal is high, the device is deselected and serial data output (DQ1) is at high impedance. Unless an internal program, erase or write status register cycle is in progress, the device will be in the standby power mode (this is not the deep power-down mode). Driving Chip Select (S ) low enables the device, placing it in the active power mode. After power-up, a falling edge on Chip Select (S) is required prior to the start of any instruction.

Signal descriptions N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

2.5 Hold (HOLD ) or Reset (Reset)

The Hold (HOLD) signal is used to pause any serial communications with the device without deselecting the device. Reset functionality is present instead of Hold in devices with a dedicated part number. See Section 16: Ordering information. During Hold condition, the Serial Data output (DQ1) is in high impedance, and Serial Data input (DQ0) and Serial Clock (C) are Don't Care. To start the Hold condition, the device must be selected, with Chip Select (S) driven Low. For devices featuring Reset instead of Hold functionality, the Reset (Reset) input provides a hardware reset for the memory. When Reset (Reset) is driven High, the memory is in the normal operating mode. When Reset (Reset) is driven Low, the memory will enter the Reset mode. In this mode, the output is high impedance. Driving Reset (Reset) Low while an internal operation is in progress will affect this operation (write, program or erase cycle) and data may be lost. In the Extended SPI protocol, during the QOFR, QIOFR, QIFP and the Quad Extended Fast Program (QIEFP) instructions, the Hold (Reset) / DQ3 is used as an input/output (DQ3 functionality). In QIO-SPI, the Hold (Reset) / DQ3 pin acts as an I/O (DQ3 functionality), and the HOLD (Reset) functionality disabled when the device is selected. When the device is deselected (S signal is high), in parts with Reset functionality, it is possible to reset the device unless this functionality is not disabled by mean of dedicated registers bits. The HOLD (Reset) functionality can be disabled using bit 3 of the NVCR or bit 4 of the VECR.

2.6 Write protect/enhanced program supply voltage (W/VPP),

W/VPP/DQ2 can be used as: z A protection control input. z A power supply pin. z I/O in Extended SPI protocol quad instructions and in QIO-SPI protocol instructions. When the device is operated in Extended SPI protocol with single or dual instructions, the two functions W or VPP are selected by the voltage range applied to the pin. If the W/VPP input is kept in a low voltage range (0 V to VCC) the pin is seen as a control input. This input signal is used to freeze the size of the area of memory that is protected against program or erase instructions (as specified by the values in the BP[0:3] bits of the Status Register. (See Table 2.: Status register format). If VPP is in the range of VPPH, it acts as an additional power supply during the Program or Erase cycles (See Table 27.: Operating conditions). In this case VPP must be stable until the Program or Erase algorithm is completed. During the Extended SPI protocol, the QOFR and QIOFR instructions, and the QIO-SPI protocol instructions, the pin W /VPP/DQ2 is used as an input/output (DQ2 functionality).

N25Q032 - 3 V Signal descriptions Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Using the Extended SPI protocol the QIFP, QIEFP and the QIO-SPI Program/Erase instructions, it is still possible to use the VPP additional power supply to speed up internal operations. However, to enable this possibility it is necessary to set bit 3 of the Volatile Enhanced Configuration Register to 0. In this case the W/VPP/DQ2 pin is used as an I/O pin until the end of the instruction sequence. After the last input data is shifted in, the application should apply VPP voltage to W/VPP/DQ2 within 200 ms to speed up the internal operations. If the VPP voltage is not applied within 200 ms the Program/Erase operations start with standard speed. The default value of the VECR bit 3 is 1, and the VPP functionality for Quad I/O modify instruction is disabled.

2.7 V CC supply voltage

VCC is the supply voltage.

2.8 V SS ground

VSS is the reference for the VCC supply voltage.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

3 SPI Modes

output data is available from the falling edge of Serial Clock (C). Figure 5. Bus master and memory devices on the SPI bus

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. master leaves the SPI bus in high impedance. Figure 6. SPI modes supported

SPI Protocols N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

4 SPI Protocols

The N25Q032 memory can work with 3 different Serial protocols: z Extended SPI protocol. z Dual I/O SPI (DIO-SPI) protocol. z Quad I/O SPI (QIO-SPI) protocol. It is possible to choose among the three protocols by means of user volatile or non-volatile configuration bits.It's not possible to mix Extended SPI, DIO-SPI, and QIO-SPI protocols. The device can operate in XIP mode in all 3 protocols.

4.1 Extended SPI protocol

This is an extension of the standard (legacy) SPI protocol. Instructions are transmitted on a single data line (DQ0), while addresses and data are transmitted by one, two or four data lines (DQ0, DQ1, W /VPP(DQ2) and HOLD / (DQ3) according to the instruction. When used in the Extended SPI protocol, these devices can be driven by a micro controller in either of the two following modes: z CPOL=0, CPHA=0 z CPOL=1, CPHA=1 Please refer to the SPI modes for a detailed description of these two modes

4.2 Dual I/O SPI (DIO-SPI) protocol

Dual I/O SPI (DIO-SPI) protocol: instructions, addresses and I/O data are always transmitted on two data lines (DQ0 and DQ1). Also when in DIO-SPI mode, the device can be driven by a micro controller in either of the two following modes: z CPOL= 0, CPHA= 0 z CPOL= 1, CPHA= 1 Please refer to the SPI modes for a detailed description of these two modes. Note: Extended SPI protocol Dual I/O instructions allow only address and data to be transmitted over two data lines. However, DIO-SPI allows instructions, addresses, and data to be transmitted on two data lines. This mode can be set using two ways z Volatile: by setting bit 6 of the VECR to 0. The device enters DIO-SPI protocol immediately after the Write Enhanced Volatile Configuration Register sequence completes. The device returns to the default working mode (defined by NVCR) on power on. z Default/ Non-Volatile: This is default mode on power-up. By setting bit 2 of the NVCR to 0. The device enters DIO-SPI protocol on the subsequent power-on. After all subsequent power-on sequences, the device still starts in DIO-SPI protocol unless bit 2 of NVCR is set to 1 (default value, corresponding to Extended SPI protocol) or bit 3 of NVCR is set to 0 (corresponding to QIO-SPI protocol).

N25Q032 - 3 V SPI Protocols Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

4.3 Quad SPI (QIO-SPI) protocol

Quad SPI (QIO-SPI) protocol: instructions, addresses, and I/O data are always transmitted on four data lines DQ0, DQ1, W/VPP(DQ2), and HOLD / (DQ3). The exception is the Program/Erase cycle performed with the VPP , in which case the device temporarily goes to Extended SPI protocol. Going temporarily into Extended SPI protocol allows the application either to: z check the polling bits: WIP bit in the Status Register or Program/Erase Controller bit in the Flag Status Register z perform Program/Erase suspend functions. Note: As soon as the VPP pin voltag e goes low, the protocol returns to the QIO-SPI protocol. In QIO-SPI protocol the W and HOLD/ (RESET) functionality is disabled when the device is selected (S signal low). When used in the QIO-SPI mode, these devices can be driven by a micro controller in either of the two following modes: z CPOL=0, CPHA=0 z CPOL=1, CPHA=1 Please refer to the SPI modes for a detailed description of the 2 modes. Note: In the Extended SPI protocol only Address and data are allowed to be transmitted on 4 data lines, However in QIO-SPI protocol, the address, data and instructions are transmitted across 4 data lines. This working mode is set in either bit 7 of the Volatile Enhanced Configuration Register (VECR) or in bit 3 of the Non Volatile Configuration Register (NVCR). This mode can be set using two ways z Volatile: by setting bit 7 of the VECR to 0, the device enters QIO-SPI protocol immediately after the Write Enhanced Volatile Configuration Register sequence completes. The device returns to the default working protocol (defined by the NVCR) on the next power on. z Default/ Non- Volatile: This is default protocol on power up. By setting bit 3 of the NVCR to 0, the device enters QIO-SPI protocol on the subsequent power-on. After all subsequent power-on sequences, the device still starts in QIO-SPI protocol unless bit 3 of the NVCR is set to 1 (default value, corresponding to Extended SPI mode).

Operating features N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

5 Operating features

5.1 Extended SPI Protoc ol Operating features

5.1.1 Read Operations

To read the memory content in Extended SPI protocol different instructions are available: READ, Fast Read, Dual Output Fast Read, Dual Input Output Fast Read, Quad Output Fast Read and Quad Input Output Fast read, allowing the application to choose an instruction to send addresses and receive data by one, two or four data lines. Note: In the Extended SPI protocol the instruction co de is always sent on one data line (DQ0): to use two or four data lines the user must use either the DIO-SPI or the QIO-SPI protocol respectively. For fast read instructions the number of dummy clock cycles is configurable by using VCR bits [7:4] or NVCR bits [15:12]. After a successful reading instruction a reduced tSHSL equal to 20 ns is allowed to further improve random access time (in all the other cases tSHSL should be at least 50 ns). See Table 31.: AC Characteristics.

5.1.2 Page programming

To program one data byte, two instructions are required: write enable (WREN), which is one byte, and a page program (PP) sequence, which consists of four bytes plus data. This is followed by the internal program cycle (of duration t PP). To spread this overhead, the page program (PP) instruction allows up to 256 bytes to be programmed at a time (changing bits from ‘1’ to ‘0’), provided that they lie in consecutive addresses on the same page of memory. For optimized timings, it is recommended to use the page program (PP) instruction to program all consecutive targeted bytes in a single sequence versus using several page program (PP) sequences with each containing only a few bytes (see Section 5.2.3: Page programming and Table 31: AC Characteristics).

5.1.3 Dual input fast program

The dual input fast program (DIFP) instruction makes it possible to program up to 256 bytes using two input pins at the same time (by changing bits from ‘1’ to ‘0’). For optimized timings, it is recommended to use the DIFP instruction to program all consecutive targeted bytes in a single sequence rather using several DIFP sequences each containing only a few bytes (see Section 9.1.13: Dual Input Fast Program (DIFP)).

5.1.4 Dual Input Extended Fast Program

The Dual Input Extended Fast Program (DIEFP) instruction is an enhanced version of the Dual Input Fast Program instruction, allowing to transmit address across two data lines. For optimized timings, it is recommended to use the DIEFP instruction to program all consecutive targeted bytes in a single sequence rather than using several DIEFP sequences, each containing only a few bytes.

N25Q032 - 3 V Operating features Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

5.1.5 Quad Input Fast Program

The Quad Input Fast Program (QIFP) instruction makes it possible to program up to 256 bytes using 4 input pins at the same time (by changing bits from 1 to 0). For optimized timings, it is recommended to use the QIFP instruction to program all consecutive targeted bytes in a single sequence rather than using several QIFP sequences each containing only a few bytes.

5.1.6 Quad Input Ex tended Fast Program

The Quad Input Extended Fast Program (QIEFP) instruction is an enhanced version of the Quad Input Fast Program instruction, allowing parallel input on the 4 input pins, including the address being sent to the device. For optimized timings, it is recommended to use the QIEFP instruction to program all consecutive targeted bytes in a single sequence rather than using several QIEFP sequences each containing only a few bytes.

5.1.7 Subsector erase, se ctor erase and bulk erase

The page program (PP) instruction allows bits to be reset from ‘1’ to’0’. In order to do this the bytes of memory need to be erased to all 1s (FFh). This can be achieved as follows: z a subsector at a time, using the subsector erase (SSE) instruction. See Section 16: Ordering information; z a sector at a time, using the sector erase (SE) instruction; z throughout the entire memory, using the bulk erase (BE) instruction. This starts an internal erase cycle (of duration tSSE, tSE or tBE). The erase instruction must be preceded by a write enable (WREN) instruction.

5.1.8 Polling during a write, program or erase cycle

A further improvement in the time to Write Status Register (WRSR), POTP, PP, DIFP,DIEFP ,QIFP, QIEFP or Erase (SSE, SE or BE) can be achieved by not waiting for the worst case delay (tW, tPP , tSSE, tSE, or tBE). The application program can monitor if the required internal operation is completed, by polling the dedicated register bits to establish when the previous Write, Program or Erase cycle is complete. The information on the memory being in progress for a Program, Erase, or Write instruction can be checked either on the Write In Progress (WIP) bit of the Status Register or in the Program/Erase Controller bit of the Flag Status Register. Note: The Program/Erase Controller bit is the opposite state of the WIP bit in the Status Register. In the Flag Status Register additional information can be checked, as eventual Program/Erase failures by mean of the Program or erase Error bits.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

5.1.9 Active power and standby power modes

When Chip Select (S) is Low, the device is selected, and in the active power mode.

5.1.10 Hold (or Reset) condition

write status register, program or erase cycle that is currently in progress. Serial Clock (C) is Low (as shown in Figure 7). Low (this is shown in Figure 7). input (DQ0) and Serial Clock (C) are don’t care. from the moment of entering the hold condition. the device from going back to the hold condition. Figure 7. Hold condition activation Section 16: Ordering information.

N25Q032 - 3 V Operating features Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. driving Chip Select (S) Low. For the value of tRHSL, see Table 31.: AC Characteristics. All the lock bits are reset to 0 after a Reset Low pulse. The Hold/Reset feature is not available when the Hold (Reset) / DQ3 pin is used as I/O (DQ3 functionality) during Quad Instructions: QOFR, QIOFR,QIFP and QIEFP. The Hold/Reset feature can be disabled by using of the bit 4 of the VECR.

Operating features N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

5.2 Dual SPI (DIO-SPI) Protocol

In the Dual SPI (DIO-SPI) protocol all the instructions, addresses and I/O data are transmitted on two data lines. All the functionality available in the Extended SPI protocol is also available in the DIO-SPI protocol. The DIO-SPI instructions are comparable with the Extended SPI instructions; however, in DIO-SPI, the instructions are multiplexed on the two data lines, DQ0 and DQ1. The only exceptions are the READ, Quad Read, and Program instructions, which are not available in DIO-SPI protocol, and the RDID instruction, which is replaced in the DIO-SPI protocol by the Multiple I/O Read Identification (MIORDID) instruction. The Multiple I/O Read Identification Instruction reads just the standard SPI electronic ID (3 bytes), while the Extended SPI protocol RDID instruction allows access to the UID bytes. To help the application code port from Extended SPI to DIO-SPI protocol, the instructions available in the DIO-SPI protocol have the same operation code as the Extended SPI protocol, the only exception being the MIORDID instruction.

5.2.1 Multiple I/O Read Identification

The Multiple I/O Read Identification (MIORDID) instruction is available to read the device electronic ID.With respect to the RDID instruction of the Extended SPI protocol, the output data, shifted out on the 2 data lines DQ0 and DQ1. Since the read ID instruction in the DIO-SPI protocol is limited to 3 bytes of the standard electronic ID, the UID bytes are not read with the MIORDID instruction

5.2.2 Dual Command Fast reading

Reading the memory data multiplexing the instruction, the addresses and the output data on 2 data lines can be achieved in DIO-SPI protocol by mean of the Dual Command Fast Read instruction, that has 3 instruction codes (BBh, 3Bh and 0Bh) to help the application code porting from Extended SPI protocol to DIO-SPI protocol. Of course quad and single I/O Read instructions are not available in DIO-SPI mode. For Dual Command fast read instructions the number of dummy clock cycles is configurable by using VCR bits [7:4] or NVCR bits [15:12]. After a successful reading instruction, a reduced tSHSL equal to 20ns is allowed to further improve random access time (in all the other cases tSHSL should be at least 50 ns). See Table 31.: AC Characteristics.

5.2.3 Page programming

Programming the memory by transmitting the instruction, addresses and the output data on 2 data lines can be achieved in DIO-SPI protocol by using the Dual Command Page Program instruction, that has 3 instruction codes (D2h, A2h and 02h) to help port from Extended SPI protocol to DIO-SPI protocol Quad and single input Program instructions are not available in DIO-SPI mode.

N25Q032 - 3 V Operating features Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. The DIO-SPI protocol is similar to the Extended SPI protocol i.e., to program one data byte two instructions are required: z Write Enable (WREN), which is one byte, and a z Dual Command Page Program (DCPP) sequence, which consists of four bytes plus data. This is followed by the internal Program cycle (of duration tPP). To spread this overhead, the Dual Command Page Program (DCPP) instruction allows up to 256 bytes to be programmed at a time (changing bits from 1 to 0), provided that they are consecutive addresses on the same page of memory. For optimized timings, it is recommended to use the DCPP instruction to program all consecutive targeted bytes in a single sequence versus using several DCPP sequences with each containing only a few bytes. See Table 31.: AC Characteristics.

5.2.4 Subsector Erase, Sect or Erase and Bulk Erase

Similar to the Extended SPI protocol, in the DIO-SPI protocol to erase the memory bytes to all 1s (FFh) the Subsector Erase (SSE), the Sector Erase (SE) and the Bulk Erase (BE) instructions are available. These instructions start an internal Erase cycle (of duration tSSE, tSE or tBE). The Erase instruction must be preceded by a Write Enable (WREN) instruction.

5.2.5 Polling during a Write, Program or Erase cycle

Similar to the Extended SPI protocol, in the DIO-SPI protocol it is possible to monitor if the internal write, program or erase operation is completed, by polling the dedicated register bits by using the Read Status Register (RDSR) or Read Flag Status Register (RFSR) instructions, the only obvious difference is that instruction codes, addresses and output data are transmitted across two data lines.

5.2.6 Read and Modify registers

Similar to the Extended SPI protocol, the only obvious difference is that instruction codes, addresses and output data are transmitted across two data lines

5.2.7 Active Power and Standby Power modes

Similar to the Extended SPI protocol, when Chip Select (S) is Low, the device is selected, and in the Active Power mode. When Chip Select (S) is High, the device is deselected, but could remain in the Active Power mode until all internal cycles have completed (Program, Erase, Write Cycles). The device then goes in to the Standby Power mode. The device consumption drops to ICC1.

5.2.8 HOLD (or Reset) condition

The HOLD (or Reset i.e. for parts having the reset functionality instead of hold pin) signal has exactly the same behavior in DIO-SPI protocol as do in Extended SPI protocol, so please refer to section 5.1.10, Hold (or Reset) condition” in the Extend SPI protocol section for further details.

Operating features N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

5.3 Quad SPI (QIO-SPI)Protocol

In the Quad SPI (QIO-SPI) protocol all the Instructions, addresses and I/O data are transmitted on four data lines, with the exception of the polling instructions performed during a Program or Erase cycle performed with VPP, in this case the device temporarily goes in Extended SPI protocol. The protocol again becomes QIO-SPI as soon as the VPP voltage goes low. All the functionality available in the Extended SPI protocol are also available in the QIO-SPI mode, with equivalent instruction transmitted on the 4 data lines DQ0, DQ1, DQ2 and DQ3. The exceptions are the READ, Dual Read and Dual Program instructions, that are not available in QIO-SPI protocol, and the RDID instruction, that is replaced in the QIO-SPI protocol by the Multiple I/O Read Identification (MIORDID) instruction. The Multiple I/O Read Instruction reads just the standard SPI electronic ID (3 bytes), while with the Extended SPI protocol RDID instruction is possible to access also the UID bytes. To help the application code port from Extended SPI to QIO-SPI protocol, the instructions available in the QIO-SPI protocol have the same operation code as in the Extended SPI protocol, the only exception is the MIORDID instruction.

5.3.1 Multiple I/O Read Identification

The Multiple I/O Read Identification (MIORDID) instruction is available to read the device electronic ID. With respect to the RDID instruction of the Extended SPI protocol, the output data, shifted out on the 4 data lines DQ0, DQ1, DQ2 and DQ3. Since in the QIO-SPI protocol the Read ID instruction is limited to 3 bytes of the standard electronic ID, the UID bytes are not read with the MIORDID instruction.

5.3.2 Quad Command Fast reading

The Array Data can be read by the Quad Command Fast Read instruction using 3 instructions (EBh, 6Bh and 0Bh) to help the application code port from Extended SPI protocol to DIO-SPI protocol. The instruction, address and output data are transmitted across 4 data lines. The Dual and Single I/O Read instructions are not available in QIO-SPI protocol.

5.3.3 QUAD Command Page programming

The memory can be programmed in QIO-SPI protocol by the Quad Command Page Program instruction using (02h, 12h and 32h). The instruction, address and input data are transmitted across 4 data lines The Dual and Single I/O Program instructions are not available in QIO-SPI protocol Programming the memory by multiplexing the instruction, the addresses and the output data on 4 wires can be achieved in QIO-SPI protocol by mean of the Quad Command Page Program instruction, that has 3 instruction codes (02h, 12h and 32h) to help the application code porting from Extended SPI protocol to QIO-SPI protocol. Similar to the Extended SPI protocol in the QIO-SPI protocol, to program one data byte two instructions are required: z Write Enable (WREN), which is one byte, and z Quad Command Page Program (QCPP) sequence, which consists of instruction (one byte), address (3 bytes) and input data.

N25Q032 - 3 V Operating features Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. This is followed by the internal Program cycle (of duration tPP). To spread this overhead, the Quad Command Page Program (QCPP) instruction allows up to 256 bytes to be programmed at a time (changing bits from 1 to 0), provided that they are in consecutive addresses on the same page of memory. For optimized timings, it is recommended to use the QCPP instruction to program all consecutive targeted bytes in a single sequence versus using several QCPP sequences with each containing only a few bytes. See Table 31.: AC Characteristics. The QCPP instruction is transmitted across 4 data lines except when VPP is raised to VPPH. The VPP can be raised to VPPH to decrease programming time (provided that the bit 3 of the VECR has been set to 0 in advance). When bit 3 of VECR is set to 0 after the Quad Command Page Program instruction sequence has been received, the memory temporarily goes in Extended SPI protocol, and is possible to perform polling instructions (checking the WIP bit of the Status Register or the Program/Erase Controller bit of the Flag Status Register) or Program/Erase Suspend instruction even if DQ2 is temporarily used in this VPP functionality. The memory automatically comes back in QIO-SPI protocol as soon as the VPP pin goes Low.

5.3.4 Subsector Erase, Sect or Erase and Bulk Erase

Similar to the Extended SPI protocol, Subsector Erase (SSE), the Sector Erase (SE) and the Bulk Erase (BE) instructions are used to erase the memory in the QIO-SPI protocol. These instructions start an internal Erase cycle (of duration tSSE, tSE or tBE). The Erase instruction must be preceded by a Write Enable (WREN) instruction. The erase instructions are transmitted across 4 data lines unless the VPP is raised to VPPH. The VPP can be raised to VPPH to decrease erasing time, provided that the bit 3 of the VECR has been set to 0 in advance. In this case, after the erase instruction sequence has been received, the memory temporarily goes in extended SPI protocol, and it is possible to perform polling instructions (checking the WIP bit of the Status Register or the Program/Erase Controller bit of the Flag Status Register) or Program/Erase Suspend instruction even if DQ2 is temporarily used in this VPP functionality. The memory automatically comes back in QIO-SPI protocol as soon as the VPP pin goes Low.

5.3.5 Polling during a Write, Program or Erase cycle

It is possible to check if the internal write, program or erase operation is completed, by polling the dedicated register bits of the Read Status Register (RDSR) or Read Flag Status Register (RFSR). When the Program or Erase cycle is performed with the VPP, the device temporarily goes in single I/O SPI mode. The protocol became again QIO-SPI as soon as the VPP pin voltage goes low.

5.3.6 Read and Modify registers

The read and modify register instructions are available and behave in QIO-SPI protocol exactly as they do in Extended SPI protocol, the only difference is that instruction codes, addresses and output data are transmitted across 4 data lines.

Operating features N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

5.3.7 Active Power and Standby Power modes

Exactly as in Extended SPI protocol, when Chip Select (S) is Low, the device is selected, and in the Active Power mode. When Chip Select (S) is High, the device is deselected, but could remain in the Active Power mode until all internal (Program, Erase, Write) Cycles have completed. The device then goes in to the Standby Power mode. The device consumption drops to ICC1.

5.3.8 HOLD (or Reset) condition

The HOLD (Hold) feature (or Reset feature, for parts having the reset functionality instead of hold) is disabled in QIO-SPI protocol when the device is selected: the Hold (or Reset)/ DQ3 pin always behaves as an I/O pin (DQ3 function) when the device is deselected. For parts with reset functionality, it is still possible to reset the memory when it is deselected (C signal high).

5.3.9 VPP pin Enhanced Supply Voltage feature

It is possible in the QIO-SPI protocol to use the VPP pin as an enhanced supply voltage, but the intention to use VPP as accelerated supply voltage must be declared by setting bit 3 of the VECR to 0. In this case, to accelerate the Program cycle the VPP pin must be raised to VPPH after the device has received the last data to be programmed within 200ms. If the VPP is not raised within 200ms, the program operation starts with the standard internal cycle speed as if the Vpp high voltage were not used, and a flag error appears on Flag Status Register bit 3".

N25Q032 - 3 V Volatile and Non Volatile Registers Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6 Volatile and Non Volatile Registers

The device features many different registers to store, in volatile or non volatile mode, many parameters and operating configurations: z Legacy SPI Status Register z 3 configuration registers: – Non Volatile Configuratio n Register (NVCR), 16 bits – Volatile Configuration Register (VCR), 8 bits – Volatile Enhanced Configuration Register (VECR), 8 bits The Non Volatile Configuration Register (NVCR) affects the memory configuration starting from the successive power-on. It can be used to make the memory start in a determined condition. The VCR and VECR affect the memory configuration after every execution of the related Write Volatile configuration Register (WRVCR) and Write Enhanced Volatile Configuration register (WRVECR) instructions. These instructions overwrite the memory configuration set at POR by NVCR. As described in Figure 8.: Non Volatile and Volatile configuration Register Scheme, the working condition of the memory is set by an internal configuration register, which is not accessible by the user. The working parameters of the internal configuration register are loaded from the NVCR during the boot phase of the device. In this sense the NVCR can be seen as having the default settings of the memory. During the normal life of the application, every time a write volatile or enhanced volatile configuration register instruction is performed, the new configuration parameters set in the volatile registers are also copied in the internal configuration register, thus instantly affecting the memory behavior. Please note that on the next power on the memory will start again in the working protocol set by the Non Volatile Register parameters.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 8. Non Volatile and Volatile configuration Register Scheme detecting possible errors or a Program/Erase internal cycle in progress. protocols (Extended SPI, DIO-SPI, and QIO-SPI). cycles. See Table 31.: AC Characteristics.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.1 Legacy SPI Status Register

is available in all the 3 protocols (Extended SPI, DIO-SPI, and QIO-SPI).

6.1.1 WIP bit

Status Register, Program or Erase cycle. 0 indicates no cycle is in progress.

6.1.2 WEL bit

Program or Erase instruction is accepted.

6.1.3 Block Protect bits (BP2, BP1, BP0)

Protect (BP2, BP1, BP0) bits are 0.

6.1.4 TB bit

(WRSR) instruction provided that the Write Enable (WREN) instruction has been issued. Table 2. Status register format

Volatile and Non Volatile Registers N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. The Top/Bottom (TB) bit is used in conjunction with the Block Protect (BP2, BP1, BP0) bits to determine if the protected area defined by the Block Protect bits starts from the top or the bottom of the memory array: z When TB is reset to '0' (default value), the area protected by the Block Protect bits starts from the top of the memory array. z When TB is set to '1', the area protected by the Block Protect bits starts from the bottom of the memory array. The TB bit cannot be written when the SRWD bit is set to '1' and the W pin is driven Low.

6.1.5 SRWD bit

The Status Register Write Disable (SRWD) bit is operated in conjunction with the Write Protect (W/VPP) signal. The Status Register Write Disable (SRWD) bit and the Write Protect (W/VPP) signal allow the device to be put in the hardware protected mode (when the Status Register Write Disable (SRWD) bit is set to '1', and Write Protect ((W/VPP) is driven Low). In this mode, the non-volatile bits of the Status Register (TB, BP2, BP1, BP0) become read- only bits and the Write Status Register (WRSR) instruction is no longer accepted for execution.

6.2 Non Volatile Configuration Register

The Non Volatile Configuration Register (NVCR) bits affects the default memory configuration after power-on. It can be used to make the memory start in the configuration to fit the application requirements. The device is delivered with Non Volatile Configuration Register (NVCR) bits all erased to 1 (FFFFh). The purpose of the NVCR is to define the default memory settings after the power-on sequence related to many features: z The number of dummy clock cycle for fast read instructions, z XIP mode configurations, z output driver strengths, z Reset (or Hold) disabling z Multiple I/O protocol enabling. The NVCR can be read by the Read Non Volatile Configuration Register (RDNVCR) instruction and written by the Write Non Volatile Configuration Register (WRNVCR) in all the 3 available SPI protocols. See the sections that follow as well as Table 3.: Non-Volatile Configuration Register.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 3. Non-Volatile Configuration Register

0000 As '1111'

000 XIP for SIO Read

001 XIP for DOFR

010 XIP for DIOFR

011 XIP for QOFR

100 XIP for QIOFR

111 XIP disabled (default)

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.2.1 Dummy clock cycles NV configurati on bits (NVCR bits from 15 to 12)

the dummy clock cycle number) to optimize the fast read instructions performance. number is not sufficient for the operating frequency, the memory reads wrong data. Table 4. Maximum operative frequency by dummy clock cycles

  1. All the values are guaranteed by characterization and not 100% tested in production

N25Q032 - 3 V Volatile and Non Volatile Registers Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.2.2 XIP NV configuration bits (NVCR bits from 11 to 9)

The bits from 11 to 9 of the Non Volatile Configuration register store the default settings for the XIP operation, allowing the memory to start working directly on the required XIP mode after successive POR sequence: the device then accepts only address on one, two, or four wires (skipping the instruction) depending on the NVCR XIP bits settings. The default settings for the XIP bits of the NVCR enable the memory to start working in Extended SPI mode after the POR sequence (XIP directly after POR is disabled).

6.2.3 Output Driver Strengt h NV configuration bits (NVCR bits from 8 to 6)

The bits from 8 to 6 of the Non Volatile Configuration register store the default settings for the output driver strength, enabling to optimize the impedance at Vcc/2 output voltage for the specific application. The default values of Output Driver Strength bits of the NVCR set the output impedance at Vcc/2 equal to 30 Ohms.

6.2.4 Hold (Reset) disable NV configuration bit (NVCR bit 4)

The Hold (RESET) disable bit can be used to disable the Hold (Reset) functionality of the Hold (Reset) / DQ3 pin as described in Table 3.: Non-Volatile Configuration Register. This feature can be useful to avoid accidental Hold or Reset condition entries in applications that never require the Hold (Reset) functionality. The default values of Hold (Reset) bit of the NVCR is set to enable the Hold (Reset) functionality. Note: Reset functionality is available instead of Hold in devices with a dedicated part number. See Section 16: Ordering information.

6.2.5 Quad Input NV conf iguration bit (NVCR bit 3)

The Quad Input NV configuration bit can be used to make the memory start working in QIO- SPI protocol directly after the power on sequence. The products are delivered with this set to 1, making the memory default in Extended SPI protocol. If the application sets this bit to 0, the device will enter in DIO-SPI protocol right after the next power on. Please note that in case both QIO-SPI and DIO-SPI are enabled (both bit 3 and bit 2 of the Non Volatile Configuration Register set to 0), the memory will work in QIO-SPI.

6.2.6 Dual Input NV conf iguration bit (NVCR bit 2)

The Dual Input NV configuration bit can be used to make the memory start working in DIO- SPI protocol directly after the power on sequence. The products are delivered with this set to 1, making the memory default in Extended SPI protocol, if the application sets this bit to 0 the device will enter in QIO-SPI protocol right after the next power on. Please note that in case both QIO-SPI and DIO-SPI are enabled (both bit 3 and bit 2 of the Non Volatile Configuration Register set to 0), the memory will work in QIO-SPI.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.3 Volatile Configuration Register

ready to enter in the required XIP mode. Table 5. Volatile Configuration Register starting from the address issued after the command code. starting from the address issued after the command code. starting from the address issued after the command code.

  1. To optimize instruction executio n (FASTREAD, DOFR,DIOFR,QOFR, QIOFR, ROTP) according to the frequency.
  2. To make the data on DQ0 during the first dummy clock NOT “Don’ t Care.” For devices with feature set digit equal to 2 or 4

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.3.1 Dummy clock cycle: VCR bits 7:4

cycles) to optimize the fast read instructions performance.

6.3.2 XIP Volatile Confi guration bits (VCR bit 3)

the memory in XIP mode without setting it to 0. See Section 16: Ordering information.

6.3.3 Wrap: VCR bits 1:0

byte options, according to the starting address.

6.4 Volatile Enhanced Configuration Register

Table 6. Sequence of Bytes Read during Wrap Mode

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.4.1 Quad Input Command VECR<7>

0 (in this case the memory start working in DIO-SPI mode). VECR set to 0), the memory will work in QIO-SPI. Table 7. Volatile Enhanced Configuration Register

0 Enabled

1 Disabled (default)

0 Disabled

1 Enabled (default)

N25Q032 - 3 V Volatile and Non Volatile Registers Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.4.2 Dual Input Command VECR<6>

The Dual Input Command configuration bit can be used to make the memory start working in DIO-SPI protocol directly after the Write Volatile Enhanced Configuration Register (WRVECR) instruction. The default value of this bit is 1, corresponding to Extended SPI protocol, if this bit is set to 0 the memory works in DIO-SPI protocol (unless the Volatile Enhanced Configuration Register bit 7 is also set to 0). If the Volatile Enhanced Configuration Register bit 6 is set back to 1 the memory start working again in Extended SPI protocol. Please note that in case both QIO-SPI and DIO-SPI are enabled (both bit 7 and bit 6 of the VECR are set to 0), the memory will work in QIO-SPI.

6.4.3 Reset/Hold disable VECR<4>

The Hold (RESET) disable bit can be used to disable the Hold (Reset) functionality of the Hold (Reset) / DQ3 pin right after the Write Volatile Enhanced Configuration Register (WRVECR) instruction. This feature can be useful to avoid accidental Hold or Reset condition entries in applications that never require the Hold (Reset) functionality. If this bit is set to 0 the Hold (Reset) functionality is disabled, it is possible to enable it back by setting this bit to 1. Please note that after the next power on the Hold (Reset) functionality will be enabled again unless the bit 4 of the Non Volatile Configuration Register is set to 0. Note: Reset functionality is available instead of Hold in devices with a dedicated part number. See Section 16: Ordering information.

6.4.4 Accelerator pin enable: QIO- SPI protocol / QIFP/QIEFP VECR<3>

The bit 3 of the Volatile Enhanced Configuration Register determines whether it is possible to use the Vpp accelerating voltage to speed up internal modify operation with Quad program and erase instructions (both in Extended or QIO-SPI protocols). If we want to use the Vpp voltage with Quad I/O modify instructions, we must set previously this bit to 0 (his default value is 1, in this case the Vpp pin functionality is disabled in all Quad I/O operations: both in Extended SPI and QIO-SPI protocols). If the Volatile Enhanced Configuration Register bit 3 is set to 0, using the QIO-SPI protocol, after a Quad Command Page Program instruction or an Erase instruction is received (with all input data in the Program case) and the memory is de-selected, the protocol temporarily switches to Extended SPI protocol until Vpp passes from Vpph to normal I/O value (this transition is mandatory to come back to QIO-SPI protocol), to enable the possibility to perform polling instructions (to check if the internal modify cycle is finished by means of the WIP bit of the Status Register or of the Program/Erase controller bit of the Flag Status register) or Program/Erase Suspend instruction even if the DQ2 pin is temporarily used in his Vpp functionality. If the Volatile Enhanced Configuration Register bit 3 is set to 0, after any quad modify instruction (both in Extended SPI protocol and QIO-SPI protocol) there is a maximum allowed time-out of 200ms after the last instruction input is received and the memory is de- selected to raise the Vpp signal to Vpph, otherwise the modify instruction start at normal speed, without the Vpph enhancement, and a flag error appears on Flag Status Register bit

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.4.5 Output Driver Strength VECR<2:0>

Table 7.: Volatile Enhanced Configuration Register.

6.5 Flag Status Register

Register (CLFSR) instruction.

6.5.1 P/E Controll er Status bit

device is ready to process a new command. finished, both on the Flag Status register bit 7 or on WIP bit of the Status Register. Table 8. Flag Status Register

7 P/E Controller (not WIP) Status

6 Erase Suspend Status

5 Erase Error

4 Program Error

3 VPP Error

2 Program Suspend Status

1 Protection Error

0 RESERVED

N25Q032 - 3 V Volatile and Non Volatile Registers Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

6.5.2 Erase Suspend Status bit

The bit 6 of the Flag Status register represents the Erase Suspend Status bit, It indicates that an Erase operation has been suspended or is going to be suspended. The bit is set (FSR<6>=1) within the Erase Suspend Latency time, that is as soon as the Program/Erase Suspend command (PES) has been issued, therefore the device may still complete the operation before entering the Suspend Mode. The Erase Suspend Status should be considered valid when the P/E Controller bit is high (FSR<7>=1). When a Program/Erase Resume command (PER) is issued the Erase Suspend Status bit returns Low (FSR<6>=0)

6.5.3 Erase Status bit

The bit 5 of the Flag Status Register represents the Erase Status bit. It indicates an erase failure or a protection error when an erase operation is issued. When the Erase Status bit is High (FSR<5>=1) after an Erase failure that means that the P/E Controller has applied the maximum pulses number to the portion to be erased and still failed to verify that it has correctly erased. The Erase Status bit should be read once the P/E Controller Status bit is High. The Erase Status bit is related to all possible erase operations: Sector Erase, Sub Sector Erase, and Bulk Erase in all the three available protocols (SPI, DIO-SPI and QIO-SPI). Once the bit 5 is set High, it can only be reset Low (FSR<5>=0) by a Clear Flag Status Register command (CLFSR). If set High it should be reset before a new Erase command is issued; otherwise the new command will appear to fail.

6.5.4 Program Status bit

The bit 4 of the Flag Status Register represents the Program Status bit. It indicates: z a Program failure z an attempt to program a '1' on '0' when VPP=VPPH (only when the pattern is a multiple of 64 bits, otherwise this bit is "Don't care"). z a protection error when a program is issued When the Program Status bit is High (FSR<4>=1) after a Program failure that means that the P/E Controller has applied the maximum pulses number to the bytes and it still failed to verify that the required data have been correctly programmed. After an attempt to program '1' on '0', the FSR<4> only goes High (FSR<4>=1) if VPP=VPPH and the data pattern is a multiple of 64 bits: if VPP is not VPPH, FSR<4> remains Low and the attempt is not shown while if VPP is equal to VPPh but the pattern is not a 64 bits multiple the bit 4 is Don't Care. The Program Status bit should be read once the P/E Controller Status bit is High. The Program Status bit is related to all possible program operations in the Extended SPI protocol: Page Program, Dual and Quad Input Fast Program, Dual and Quad Input Extended Fast Program, and OTP Program.

Volatile and Non Volatile Registers N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. The Program Status bit is related to the following program operations in the DIO-SPI and QIO-SPI protocols: Dual and Quad Command Page program and OTP program. Once the bit is set High, it can only be reset Low (FSR<4>=0) by a Clear Flag Status Register command (CLFSR). If set High it should be reset before a new Program command is issued, otherwise the new command will appear to fail.

6.5.5 VPP Status bit

The bit 3 of the Flag Status Register represents the VPP Status bit. It indicates an invalid voltage on the VPP pin during Program and Erase operations. The VPP pin is sampled at the beginning of a Program or Erase operation. If VPP becomes invalid during an operation, that is the voltage on VPP pin is below the VPPH Voltage (9V), the VPP Status bit goes High (FSR<3>=1) and indeterminate results can occur. Once set High, the VPP Status bit can only be reset Low (FSR<3>=0) by a Clear Flag Status Register command (CLFSR). If set High it should be reset before a new Program or Erase command is issued; otherwise, the new command will appear to fail.

6.5.6 Program Suspend Status bit

The bit 2 of the Flag Status register represents the Program Suspend Status bit. It indicates that a Program operation has been suspended or is going to be suspended. The bit is set (FSR<2>=1) within the Program Suspend Latency time; that is, as soon as the Program/Erase Suspend command (PES) has been issued. Therefore the device may still complete the operation before entering the Suspend Mode. The Program Suspend Status should be considered valid when the P/E Controller bit is high (FSR<7>=1). When a Program/Erase Resume command (PER) is issued the Program Suspend Status bit returns Low (FSR<2>=0)

6.5.7 Protection Status bit

The bit 1 of the Flag Status Register represents the Protection Status bit. It indicates that an Erase or Program operation has tried to modify the contents of a protected array sector, or that a modify operation has tried to access to a locked OTP space. The Protection Status bit is related to all possible protection violations as follows: n The sector is protected by Software Protection Mode 1 (SPM1) Lock registers, n The sector is protected by Software Protection Mode 2 (SPM2) Block Protect Bits (standard SPI Status Register), n An attempt to program OTP when locked, n A Write Status Register command (WRSR) on STD SPI Status Register when locked by the SRWD bit in conjunction with the Write Protect (W/VPP) signal (Hardware Protection Mode). Once set High, the Protection Status bit can only be reset Low (FSR<1>=0) by a Clear Flag Status Register command (CLFSR). If set High it should be reset before a new command is issued, otherwise the new command will appear to fail.

N25Q032 - 3 V Protection modes Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

7 Protection modes

There are protocol-related and specific hardware and software protection modes. They are described below.

7.1 SPI Protocol-related protections

This applies to all three protocols. The environments where non-volatile memory devices are used can be very noisy. No SPI device can operate correctly in the presence of excessive noise. To help combat this, the N25Q032 features the following data protection mechanisms: z Power On Reset and an internal timer (tVTW) can provide protection against inadvertent changes while the power supply is outside the operating specification. z Program, Erase, and Write Status Register instructions are checked to ensure the instruction includes a number of clock pulses that is a multiple of a byte before they are accepted for execution. z All instructions that modify data must be preceded by a Write Enable (WREN) instruction to set the Write Enable Latch (WEL) bit. This bit is returned to its reset state by the following events (in Extended SPI protocol mode): –P o w e r - u p – Write Disable (WRDI) instruction completion – Write Status Register (W RSR) instruction completion – Write to Lock Register (W RLR) instruction completion – Program OTP (POTP) instruction completion – Page Program (PP) instruction completion – Dual Input Fast Program (DIFP) instruction completion – Dual Input Extended Fast Program (DIEFP) instruction completion – Quad Input Fast Program (QIFP) instruction completion – Quad Input Extended Fast Progra m (QIEFP) instruction completion – Subsector Erase (SSE) instruction completion – Sector Erase (SE) instruction completion – Bulk Erase (BE) instruction completion – Write Non-Volatile Configuration Re gister (WRNVCR) instruction completion This bit is also returned to its reset state after all the analogous events in DIO-SPI and QIO- SPI protocol modes.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

7.2 Specific hardware and software protection

Write to Lock Register (WRLR) instructions. the Lock Register, and may be modified. '0', the Write Lock and Lock Down bits can be changed. The definition of the Lock Register bits is given in Table 19.: Lock Register out. and the Top/Bottom bit (TB bit) to allow part of the memory to be configured as read-only. See Section 16: Ordering information. Table 9. Software protection truth table (Sectors 0 to 63, 64 Kbyte granularity) 0 0 Sector unprotected from Program/Erase o perations, protection status reversible. 0 1 Sector protected from Program/Erase operations, protection status reversible. 10 Sector unprotected from Program/Erase operations. Sector protection status cannot be changed except by a power-up. 11 Sector protected from Program/Erase operations. Sector protection status cannot be changed except by a power-up.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 10. Protected area sizes, Upper (TB bit = 0) Table 11. Protected area sizes, Lower (TB bit = 1)

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

8 Memory organization

Figure 9. Block diagram

64 OTP bytes

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 12. Memory organization

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 12. Memory organization (continued)

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

255 FF000h FFFFFh

240 F0000h F0FFFh 64 40000h 40FFFh

239 EF000h EFFFFh

224 E0000h E0FFFh 48 30000h 30FFFh

223 DF000h DFFFFh

208 D0000h D0FFFh 32 20000h 20FFFh

207 CF000h CFFFFh

192 C0000h C0FFFh 16 10000h 10FFFh

191 BF000h BFFFFh

176 B0000h B0FFFh 4 04000h 04FFFh

175 AF000h AFFFFh 3 03000h 03FFFh

160 A0000h A0FFFh 1 01000h 01FFFh

Instructions N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9 Instructions

The device can work in three different protocols: Extended SPI, DIO-SPI and QIO-SPI. Each protocol has a dedicated instruction set, and each instruction set features the same functionality: z Read, program and erase the memory and the 64 byte OTP area, z Suspend and resume the program or erase operations, z Read and modify all the registers, read the Serial Flash Discovery Parameter area (SFDP), and read the device ID: please note that in this case there is a small functionality difference among the single and the multiple I/O read ID instructions. See Section 9.2.1: Multiple I/O Read Identification protocol and Section 9.3.1: Multiple I/O Read Identification (MIORDID). The application can choose in every time of the device life which protocol to use by setting the dedicated bits either in the Non Volatile Configuration Register or the Volatile Enhanced Configuration Register. Note: In multiple SPI protocols, all instructions, addresses, and data are parallel on two lines (DIO- SPI protocol) or four lines (QIO-SPI protocol). All instructions, addresses and data are shifted in and out of the device, most significant bit first. Serial Data input(s) is (are) sampled on the first rising edge of Serial Clock (C) after Chip Select (S ) is driven Low. Then, the one-byte instruction code must be shifted in to the device, most significant bit first, on Serial Data input(s), each bit being latched on the rising edges of Serial Clock (C). Instruction code is shifted into the device just on DQ0 in Extended SPI protocol, on DQ0 and DQ1 in DIO-SPI protocol and on DQ0, DQ1, DQ2, and DQ3 in QIO-SPI protocol. In standard mode every instruction sequence starts with a one-byte instruction code. Depending on the instruction, this might be followed by address bytes, or by data bytes, or by both or none. In XIP modes only read operation and exit XIP mode can be performed, and to read the memory content no instructions code are needed: the device directly receives addresses and after a configurable number of dummy clock cycles, it outputs the required data.

9.1 Extended SP I Instructions

In Extended SPI protocol instruction set the instruction code is always shifted into the device just on DQ0 pin, while depending on the instruction addresses and input/output data can run on single, two or four wires. In the case of a Read Instructions Data Bytes (READ), Read Data Bytes at Higher Speed (FAST_READ), Dual Output Fast Read (DOFR), Dual Input/Output Fast Read (DIOFR), Quad Output Fast Read (QOFR), Quad Input/Output Fast Read (QIOFR), Read OTP (ROTP), Read Lock Registers (RDLR), Read Status Register (RDSR), Read Flag Status Register (RFSR), Read NV Configuration Register (RDNVCR), Read Volatile Configuration Register (RDVCR), Read Volatile Enhanced Configuration Register (RDVECR), Read Serial Flash Discovery Parameter (RDSFDP), and Read Identification (RDID) instruction, the shifted-in instruction sequence is followed by a data-out sequence. Chip Select (S ) can be driven High after any bit of the data-out sequence is being shifted out.

N25Q032 - 3 V Instructions Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. In the case of a Page Program (PP), Program OTP (POTP), Dual Input Fast Program (DIFP), Dual Input Extended Fast Program (DIEFP), Quad Input Fast Program (QIFP), Quad Input Extended Fast Program (QIEFP), Subsector Erase (SSE), Sector Erase (SE), Bulk Erase (BE), Write Status Register (WRSR), Clear Flag Status Register (CLFSR), Write to Lock Register (WRLR), Write Configuration Register (WRVCR), Write Enhanced Configuration Register (WRVECR), Write NV Configuration Register (WRNVCR), Write Enable (WREN) or Write Disable (WRDI) instruction, Chip Select (S) must be driven High exactly at a byte boundary, otherwise the instruction is rejected, and is not executed. That is, Chip Select (S) must driven High when the number of clock pulses after Chip Select (S) being driven Low is an exact multiple of eight. All attempts to access the memory array are ignored during: – Write Status Register cycle – Write Non Volatile Configuration Register – Program cycle – Erase cycle The following continue unaffected, with one exception: – Internal Write Status Register cycle, – Write Non Volatile Configuration Register, – Program cycle, – Erase cycle The only exception is the Program/Erase Suspend instruction (PES), that can be used to pause all the program and the erase cycles except for: – Program OTP (POTP), – Bulk Erase, – Write Status Register, – Write Non Volatile Configuration Register. The suspended program or erase cycle can be resumed by the Program/Erase Resume instruction (PER). During the program/erase cycles, the polling instructions (both on the Status register and on the Flag Status register) are also accepted to allow the application to check the end of the internal modify cycles. Note: These polling instruct ions don't affect the internal cycles performing.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 13. Instruction set: extended SPI protocol (page 1 of 2)

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.1.1 Read Identification (RDID)

programmed with specific data for each device. not decoded, and has no effect on the cycle that is in progress. bit is shifted out during the falling edge of Serial Clock (C). The instruction sequence is shown in Figure 10. any time during data output.

  1. The Number of dummy clock cycles is configurable by user

Table 13. Instruction set: extended SPI protocol (page 2 of 2) Table 14. Read Identification data-out sequence

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 10. Read identification instruction and data-out sequence

9.1.2 Read Data Bytes (READ)

maximum frequency fR during the falling edge of Serial Clock (C). to be continued indefinitely. effects on the cycle that is in progress. Table 15. Extended Device ID table (first byte)

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 11. Read Data Bytes instruction and data-out sequence

9.1.3 Read Data Bytes at Higher Speed (FAST_READ)

rising edge of Serial Clock (C). maximum frequency fC, during the falling edge of Serial Clock (C). 000000h, allowing the read sequence to be continued indefinitely. cycle is in progress, is rejected without having any effects on the cycle that is in progress.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 12. Read Data Bytes at Higher Speed instruction and data-out sequence

9.1.4 Read Serial Fl ash Discovery Parameter

Note: Data to be written to the SFDP area is in definition phase. number of dummy clock cycles. sequence to be continued indefinitely.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 13. Read Serial Flash Discovery Sequence

9.1.5 Dual Output Fast Read (DOFR)

maximum frequency Fc, during the falling edge of Serial Clock (C). memory can, therefore, be read with a single Dual Output Fast Read (DOFR) instruction.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. the read sequence can be continued indefinitely. Figure 14. Dual Output Fast Read instruction sequence

9.1.6 Dual I/O Fast Read

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 15. Dual I/O Fast Read instruction sequence

9.1.7 Quad Output Fast Read

Fast Read (DOFR) instruction. single Quad Output Fast Read (QOFR) instruction. the read sequence can be continued indefinitely. Section 16: Ordering information.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 16. Quad Output Fast Read instruction sequence

9.1.8 Quad I/O Fast Read

/VPP/DQ2 and pin HOLD/DQ3 (1)) instead of only one. Section 16: Ordering information. Figure 17. Quad Input/ Output Fast Read instruction sequence

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.1.9 Read OTP (ROTP)

number of dummy clock cycles. Each bit is latched in on the rising edge of Serial Clock (C). Then the memory contents at that address are shifted out on Serial Data output (DQ1). any effect on the cycle that is in progress. Figure 18. Read OTP instruction and data-out sequence

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.1.10 Write Enable (WREN)

The Write Enable (WREN) instruction sets the Write Enable Latch (WEL) bit. NV Configuration Register (WRNVCR) instruction. instruction code, and then driving Chip Select (S) High. Figure 19. Write Enable instruction sequence

9.1.11 Write Disable (WRDI)

code, and then driving Chip Select (S) High.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 20. Write Disable instruction sequence

9.1.12 Page Program (PP)

decoded, the device sets the Write Enable Latch (WEL). must be driven Low for the entire duration of the sequence.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. addresses without having any effects on the other bytes of the same page. latched in, otherwise the Page Program (PP) instruction is not executed. (BP2, BP1, BP0 and TB) bits is not executed. and resumed by mean of Program/Erase Resume (PER) instruction. Figure 21. Page Program Instruction Sequence

N25Q032 - 3 V Instructions Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.1.13 Dual Input Fast Program (DIFP)

The Dual Input Fast Program (DIFP) instruction is very similar to the Page Program (PP) instruction, except that the data are entered on two pins (pin DQ0 and pin DQ1) instead of only one. Inputting the data on two pins instead of one doubles the data transfer bandwidth compared to the Page Program (PP) instruction. The Dual Input Fast Program (DIFP) instruction is entered by driving Chip Select (S) Low, followed by the instruction code, three address bytes and at least one data byte on Serial Data input (DQ0). If the 8 least significant address bits (A7-A0) are not all zero, all transmitted data that go beyond the end of the current page are programmed from the start address of the same page (from the address whose 8 least significant bits (A7-A0) are all zero). Chip Select (S must be driven Low for the entire duration of the sequence. If more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be programmed correctly within the same page. If less than 256 data bytes are sent to device, they are correctly programmed at the requested addresses without having any effects on the other bytes in the same page. For optimized timings, it is recommended to use the Dual Input Fast Program (DIFP) instruction to program all consecutive targeted bytes in a single sequence rather to using several Dual Input Fast Program (DIFP) sequences each containing only a few bytes. See Table 31.: AC Characteristics. Chip Select (S ) must be driven High after the eighth bit of the last data byte has been latched in, otherwise the Dual Input Fast Program (DIFP) instruction is not executed. As soon as Chip Select (S) is driven High, the self-timed Page Program cycle (whose duration is tPP) is initiated. While the Dual Input Fast Program (DIFP) cycle is in progress, the Status Register and the Flag Status Register may be read to check if the internal modify cycle is finished. At some unspecified time before the cycle is completed, the Write Enable Latch (WEL) bit is reset. A Dual Input Fast Program (DIFP) instruction applied to a page that belongs to a hardware or software protected sector is not executed. Dual Input Fast Program cycle can be paused by mean of Program/Erase Suspend (PES) instruction and resumed by mean of Program/Erase Resume (PER) instruction.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 22. Dual Input Fast Program Instruction Sequence

9.1.14 Dual Input Extended Fast Program

pin DQ1) instead of only one.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 23. Dual Input Extended Fast Program instruction sequence

9.1.15 Quad I nput Fast Program

least one data byte on Serial Data I/Os (DQ0, DQ1, DQ2, DQ3). must be driven Low for the entire duration of the sequence. addresses without having any effects on the other bytes in the same page.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 31.: AC Characteristics. latched in; otherwise, the Quad Input Fast Program (QIFP) instruction is not executed. internal modify cycle is finshed. or software protected sector is not executed. (PES) instruction and resumed by mean of Program/Erase Resume (PER) instruction. Figure 24. Quad Input Fast Program instruction sequence

9.1.16 Quad Input Ex tended Fast Program

/VPP/DQ2 and pin HOLD/DQ3) instead of only one.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 25. Quad Input Extended Fast Program instruction sequence

9.1.17 Program OTP instruction (POTP)

instruction has been decoded, the device sets the Write Enable Latch (WEL) bit. latched in, otherwise the Program OTP instruction is not executed. once all 65 bytes have been latched in, any following byte will be discarded. z When bit 0 of byte 64 = '1', the 64 bytes of the OTP memory array can be programmed. cannot be programmed anymore. Once a bit of the OTP memory has been programmed to '0', it can no longer be set to '1'.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. memory array become read-only in a permanent way. cannot be paused by a Program/Erase Suspend (PES) instruction. Figure 26. Program OTP instruction sequence

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 27. How to permanently lock the OTP bytes

9.1.18 Subsector Erase (SSE)

The Subsector Erase (SSE) instruction sets to '1' (FFh) all bits inside the chosen subsector. Select (S) must be driven Low for the entire duration of the sequence. unspecified time before the cycle is complete, the Write Enable Latch (WEL) bit is reset. instruction and resumed by a Program/Erase Resume (PER) instruction.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 28. Subsector Erase instruction sequence

9.1.19 Sector Erase (SE)

can be accepted, a Write Enable (WREN) instruction must previously have been executed. driven Low for the entire duration of the sequence. is possible to read the Flag Status Register to check if the internal modify cycle is finished. (PES) instruction and resumed by mean of Program/Erase Resume (PER) instruction. Figure 29. Sector Erase instruction sequence

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.1.20 Bulk Erase (BE)

(WREN) instruction has been decoded, the device sets the Write Enable Latch (WEL). entire duration of the sequence. completed, the Write Enable Latch (WEL) bit is reset. Figure 30. Bulk Erase instruction sequence

9.1.21 Program/Erase Suspend

Input Extended Page Program instructions can be suspended and resumed.

Instructions N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. whose erase cycle is suspended. Any read instruction issued on this sector outputs Don't Care data. After a subsector erase instruction has been suspended, neither an erase instruction or a program instruction is allowed; only a read instruction is allowed on all sectors except the one containing the subsector whose erase cycle is suspended. Any read instruction issued on this sector outputs Don't Care data. After a program instruction has been suspended, neither a program instruction or an erase instructions is allowed; however, it is possible to perform a read instruction on all pages except the one whose program cycle is suspended. Any read instruction issued on this page outputs Don't Care data. It's possible to nest a suspend instruction inside another suspended one just once, meaning that it's possible for example to send to the device an erase instruction, then suspend it, then send a program instruction and in the end suspend it as well. In this case, the next Program/Erase Resume Instruction resumes the more recent suspended modify cycle, and another Program/Erase Resume Instruction is need to resume also the former modify cycle.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 16. Suspend Parameters Note: As shown here, the device can be in only one state at a time, such as Standby or Program. Table 17. Operations Allowed / Disallowed During Device States

  1. The Read operation is accepted but the data output is not guaranteed until the program or erase has completed.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.1.22 Program/Erase Resume

required to continue performing the suspended Program or Erase sequence. Program/Erase Resume instruction until the Program or Erase sequence is completed. resume also the former modify cycle.

9.1.23 Read Status Register (RDSR)

Status Register continuously, as shown here. Figure 31. Read Status Register instruction sequence

9.1.24 Write status register (WRSR)

the device sets the write enable latch (WEL). followed by the instruction code and the data byte on serial data input (DQ0). Chip Select (S) must be driven High after the eighth bit of the data byte has been latched in.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. cycle is completed, the write enable latch (WEL) is reset. Protected area sizes, Lower (TB bit = 1). instruction is not executed once the hardware protected mode (HPM) is entered. Figure 32. Write Status Register instruction sequence /VPP) is driven High or Low.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. (BP2, BP1, BP0) bits and the Top/Bottom (T/B) bits of the Status Register, can be used.

9.1.25 Read Lock Register (RDLR)

any time during data output. progress, is rejected without having any effects on the cycle that is in progress. Table 18. Protection modes

  1. As defined by the values in the Block Protect (TB, BP2 , BP1, BP0) bits of the Status Register, as shown in Table 2: Status

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 33. Read Lock Register instruction and data-out sequence

9.1.26 Write to Lo ck Register (WRLR)

device sets the Write Enable Latch (WEL). Enable Latch (WEL) bit is reset after a delay time less than tSHSL minimum value. progress, is rejected without having any effects on the cycle that is in progress. Table 19. Lock Register out (1) Lock Down bit it cannot be cleared to ‘0’, except by a power-up. ‘0’ The Write Lock and Lock Down bits can be changed by writing new values to them. contents will not be changed.

  1. Values of (b1, b0) after power-up are defined in Section 7: Protection modes.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 34. Write to Lock Register instruction sequence

9.1.27 Read Flag Status Register

to read the Flag Register continuously, as shown here. Figure 35. Read Flag Status Register instruction sequence

9.1.28 Clear Flag Status Register

will be unchanged after this command is executed. Table 20. Lock Register in (1)

  1. Values of (b1, b0) after power-up are defined in Section 7: Protection modes.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 36. Clear Flag Status Register instruction sequence

9.1.29 Read NV C onfiguration Register

Configuration Register to be read. Figure 37. Read NV Configurati on Register instruction sequence

9.1.30 Write NV C onfiguration Register

Chip Select (S) must be driven High after the 16th bit of the data bytes has been latched in. If not, the Write Non Volatile Configuration register (WRNVCR) instruction is not executed. cycle (whose duration is tWRNVCR) is initiated.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. completed. When the cycle is completed, the write enable latch (WEL) is reset. Non-Volatile Configuration Register. Figure 38. Write NV Configuratio n Register instruction sequence

9.1.31 Read Volatile Configuration Register

Configuration Register to be read. See Table 5.: Volatile Configuration Register. Figure 39. Read Volatile Configuration Register instruction sequence

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.1.32 Write Volatile Configuration Register

has been decoded and executed, the device sets the write enable latch (WEL). Chip Select (S) must be driven High after the eighth bit of the data byte has been latched in. If not, the Write Volatile Configuration register (WRVCR) instruction is not executed. When the new data are latched, the write enable latch (WEL) is reset. instruction is received by the device. Figure 40. Write Volatile Configuration Register instruction sequence

9.1.33 Read Volatile Enha nced Configuration Register

Volatile Configuration Register to be read.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 41. Read Volatile Enhanced Configuration Register instruction sequence

9.1.34 Write Volatile Enha nced Configuration Register

Chip Select (S) must be driven High after the eighth bit of the data byte has been latched in. When the new data are latched, the write enable latch (WEL) is reset. Table 7.: Volatile Enhanced Configuration Register. the instruction is received by the device.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 42. Write Volatile Enhanced Configuration Register instruction sequence

9.2 DIO-SPI Instructions

driven High after any bit of the data-out sequence is being shifted out. rejected, and is not executed. instructions don't affect the internal cycles performing.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 21. Instruction set: DIO-SPI protocol

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.2.1 Multiple I/O Read Identification protocol

instruction can not read the Unique ID code (UID) (17 bytes). Section 9.1.1: Read Identification (RDID). and DQ0. Each two bits are shifted out during the falling edge of Serial Clock (C). any time during data output. Figure 43. Multiple I/O Read Identification instruction and data-out sequence DIO-

9.2.2 Read Serial Fl ash Discovery Parameter

code, address and output data are all parallelized on the two pins DQ0 and DQ1.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. the internal reading operation. Figure 44. Dual Read Serial Flash Discovery Parameter

9.2.3 Dual Command Fast Read (DCFR)

Figure 45. Dual Command Fast Read instruction and data-out sequence DIO-SPI The dummy clock cycle depends on the dummy clock configuration in the NVCR/VCR register (default = 8).

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.2.4 Read OTP (ROTP)

address and output data are all parallelized on the two pins DQ0 and DQ1. the internal reading operation. Figure 46. Read OTP instruction and data-out sequence DIO-SPI

9.2.5 Write Enable (WREN)

The Write Enable (WREN) instruction sets the Write Enable Latch (WEL) bit. Figure 47. Write Enable instruction sequence DIO-SPI

9.2.6 Write Disable (WRDI)

The Write Disable (WRDI) instruction resets the Write Enable Latch (WEL) bit.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 48. Write Disable instruction sequence DIO-SPI

9.2.7 Dual Command Page Program (DCPP)

porting from Extended SPI protocol to DIO-SPI protocol. Program of the Extended SPI protocol. Figure 49. Dual Command Page Program instruction sequence DIO-SPI, 02h

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 50. Dual Command Page Program instruction sequence DIO-SPI, A2h Figure 51. Dual Command Page Program instruction sequence DIO-SPI, D2h

9.2.8 Program OTP instruction (POTP)

(WREN) instruction must previously have been executed. (POTP) instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 52. Program OTP instruction sequence DIO-SPI

9.2.9 Subsector Erase (SSE)

The Subsector Erase (SSE) instruction sets to '1' (FFh) all bits inside the chosen subsector. Figure 53. Subsector Erase instruction sequence DIO-SPI

9.2.10 Sector Erase (SE)

can be accepted, a Write Enable (WREN) instruction must previously have been executed.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 54. Sector Erase instruction sequence DIO-SPI

9.2.11 Bulk Erase (BE)

Enable (WREN) instruction must previously have been executed. Figure 55. Bulk Erase instruction sequence DIO-SPI

9.2.12 Program/Erase Suspend

Program OTP (POTP) cannot be suspended. instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 56. Program/Erase Suspend instruction sequence DIO-SPI

9.2.13 Program/Erase Resume

required to continue performing the suspended Program or Erase sequence. instruction of the Extended SPI protocol. Figure 57. Program/Erase Resume instruction sequence DIO-SPI

9.2.14 Read Status Register (RDSR)

instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 58. Read Status Register instruction sequence DIO-SPI

9.2.15 Write status register (WRSR)

Figure 59. Write Status Register instruction sequence DIO-SPI

9.2.16 Read Lock Register (RDLR)

The Read Lock Register instruction is used to read the lock register content. Register (RDLR) instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 60. Read Lock Register instruction and data-out sequence DIO-SPI

9.2.17 Write to Lock Register (WRLR)

Register (WRLR) instruction of the Extended SPI protocol. Figure 61. Write to Lock Register instruction sequence DIO-SPI

9.2.18 Read Flag Status Register

(RFSR) instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 62. Read Flag Status Register instruction sequence DIO-SPI

9.2.19 Clear Flag Status Register

will be unchanged after this command is executed. Figure 63. Clear Flag Status Register instruction sequence DIO-SPI

9.2.20 Read NV C onfiguration Register

Configuration Register to be read.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 64. Read NV Configuration Re gister instruction sequence DIO-SPI

9.2.21 Write NV C onfiguration Register

enable (WREN) instruction must previously have been executed. Configuration Register (WNVCR) instruction of the Extended SPI protocol. Figure 65. Write NV Configuration Register instruction sequence DIO-SPI

9.2.22 Read Volatile Configuration Register

Configuration Register to be read. See Table 5.: Volatile Configuration Register.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 66. Read Volatile Configuration Register instruction sequence DIO-SPI

9.2.23 Write Volatile Configuration Register

(WREN) instruction must have been executed previously. Register (WVCR) instruction of the Extended SPI protocol. Figure 67. Write Volatile Configurati on Register instruction sequence DIO-SPI

9.2.24 Read Volatile Enha nced Configuration Register

Volatile Configuration Register to be read.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 68. Read Volatile Enhanced Configuration Register instruction sequence

9.2.25 Write Volatile Enha nced Configuration Register

accepted, a write enable (WREN) instruction must previously have been executed. Configuration Register (WRVECR) instruction of the Extended SPI protocol. Figure 69. Write Volatile Enhanced Configuration Register instruction sequence

N25Q032 - 3 V Instructions Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.3 QIO-SPI Instructions

In QIO-SPI protocol, instructions, addresses and Input/Output data always run in parallel on four wires: DQ0, DQ1, DQ2 and DQ3 with the already mentioned exception of the modify instruction (erase and program) performed with the VPP=VPPh. In the case of a Quad Command Fast Read (QCFR), Read OTP (ROTP), Read Lock Registers (RDLR), Read Status Register (RDSR), Read Flag Status Register (RFSR), Read NV Configuration Register (RDNVCR), Read Volatile Configuration Register (RDVCR), Read Volatile Enhanced Configuration Register (RDVECR), Read Serial Flash Discovery Parameter (RDSFDP), and Multiple I/O Read Identification (MIORDID) instruction, the shifted-in instruction sequence is followed by a data-out sequence. Chip Select (S) can be driven High after any bit of the data-out sequence is being shifted out. In the case of a Quad Command Page Program (QCPP), Program OTP (POTP), Subsector Erase (SSE), Sector Erase (SE), Bulk Erase (BE), Program/Erase Suspend (PES), Program/Erase Resume (PER), Write Status Register (WRSR), Clear Flag Status Register (CLFSR), Write to Lock Register (WRLR), Write Volatile Configuration Register (WRVCR), Write Volatile Enhanced Configuration Register (WRVECR), Write NV Configuration Register (WRNVCR), Write Enable (WREN) or Write Disable (WRDI) instruction, Chip Select (S ) must be driven High exactly at a byte boundary, otherwise the instruction is rejected, and is not executed. All attempts to access the memory array during a Write Status Register cycle, a Write Non Volatile Configuration Register, a Program cycle or an Erase cycle are ignored, and the internal Write Status Register cycle, Write Non Volatile Configuration Register, Program cycle or Erase cycle continues unaffected, the only exception is the Program/Erase Suspend instruction (PES), that can be used to pause all the program and the erase cycles but the Program OTP (POTP), Write Status Register (WRSR), Bulk Erase (BE) and Write Non Volatile Configuration Register. The suspended program or erase cycle can be resumed by mean of the Program/Erase Resume instruction (PER). During the program/erase cycles also the polling instructions (to check if the internal modify cycle is finished by mean of the WIP bit of the Status Register or of the Program/Erase controller bit of the Flag Status register) are also accepted to allow the application checking the end of the internal modify cycles, of course these polling instructions don't affect the internal cycles performing.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. 1) The number of Dummy Clock cycles is configurable by the user. Table 22. Instruction set: QIO-SPI protocol

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.3.1 Multiple I/O Read Identification (MIORDID)

instruction can not read the Unique ID code (UID) (17 bytes). any time during data output. Figure 70. Multiple I/O Read Identification instruction and data-out sequence QIO-

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.3.2 Read Serial Fl ash Discovery Parameter

internal reading operation at highest frequency (108MHz). Figure 71. Quad Read Serial Flash Discovery Parameter

9.3.3 Quad Command Fast Read (QCFR)

protocol to QIO-SPI protocol. The dummy clock cycle depends on the Fast Read configuration in the NVCR/VCR register (default = 8).

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 74. Quad Command Fast Read instruction and data-out sequence QIO-SPI,

9.3.4 Read OTP (ROTP)

address and output data are all parallelized on the four pins DQ0, DQ1, DQ2 and DQ3. internal reading operation at highest frequency (108MHz).

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 75. Read OTP instruction and data-out sequence QIO-SPI

9.3.5 Write Enable (WREN)

Figure 76. Write Enable instruction sequence QIO-SPI

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.3.6 Write Disable (WRDI)

The Write Disable (WRDI) instruction resets the Write Enable Latch (WEL) bit. instruction of the Extended SPI protocol. Figure 77. Write Disable instruction sequence QIO-SPI

9.3.7 Quad Command Page Program (QCPP)

code porting from Extended SPI protocol to QIO-SPI protocol. Program of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 80. Quad Command Page Program instruction sequence QIO-SPI, 32h

9.3.8 Program OTP instruction (POTP)

(WREN) instruction must previously have been executed. is exactly the same as the Program OTP (POTP) instruction of the Extended SPI protocol. Figure 81. Program OTP instruction sequence QIO-SPI

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.3.9 Subsector Erase (SSE)

The Subsector Erase (SSE) instruction sets to '1' (FFh) all bits inside the chosen subsector. (SSE) instruction of the Extended SPI protocol. Figure 82. Subsector Erase instruction sequence QIO-SPI

9.3.10 Sector Erase (SE)

can be accepted, a Write Enable (WREN) instruction must previously have been executed. (SE) instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 83. Sector Erase instruction sequence QIO-SPI

9.3.11 Bulk Erase (BE)

Enable (WREN) instruction must previously have been executed. Figure 84. Bulk Erase instruction sequence QIO-SPI

9.3.12 Program/Erase Suspend

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Program OTP (POTP) cannot be suspended. Figure 85. Program/Erase Suspend instruction sequence QIO-SPI

9.3.13 Program/Erase Resume

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 86. Program/Erase Resume instruction sequence QIO-SPI

9.3.14 Read Status Register (RDSR)

(RDSR) instruction of the Extended SPI protocol. Figure 87. Read Status Register instruction sequence QIO-SPI

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.3.15 Write status register (WRSR)

needed to switch temporarily to the Extended SPI protocol. Figure 88. Write Status Register instruction sequence QIO-SPI

9.3.16 Read Lock Register (RDLR)

instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 89. Read Lock Register instruction and data-out sequence QIO-SPI

9.3.17 Write to Lock Register (WRLR)

Write to Lock Register (WRLR) instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 90. Write to Lock Register instruction sequence QIO-SPI

9.3.18 Read Flag Status Register

Status Register (RFSR) instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 91. Read Flag Status Register instruction sequence QIO-SPI

9.3.19 Clear Flag Status Register

will be unchanged after this command is executed. Figure 92. Clear Flag Status Register instruction sequence QIO-SPI

9.3.20 Read NV C onfiguration Register

Configuration Register to be read.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 93. Read NV Configuration Re gister instruction sequence QIO-SPI

9.3.21 Write NV C onfiguration Register

enable (WREN) instruction must previously have been executed. Volatile Configuration Register (WRNVCR) instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 94. Write NV Configuration Register instruction sequence QIO-SPI

9.3.22 Read Volatile Configuration Register

Configuration Register to be read.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 95. Read Volatile Configuration Register instruction sequence QIO-SPI

9.3.23 Write Volatile Configuration Register

(WREN) instruction must previously have been executed. Configuration Register (WRVCR) instruction of the Extended SPI protocol.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 96. Write Volatile Configuration Register instruction sequence QIO-SPI

9.3.24 Read Volatile Enha nced Configuration Register

Volatile Configuration Register to be read. Figure 97. Read Volatile Enhanced Configuration Register instruction sequence

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

9.3.25 Write Volatile Enha nced Configuration Register

accepted, a write enable (WREN) instruction must previously have been executed. Enhanced Configuration Register (WRVECR) instruction of the Extended SPI protocol. Figure 98. Write Volatile Enhanced Configuration Register instruction sequence

XIP Operations N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

10 XIP Operations

XIP (eXecution in Place) mode is available in each protocol: Extended SPI, DIO-SPI, and QIO-SPI. XIP mode allows the memory to be read simply by sending an address to the device and then receiving the data on one, two, or four pins in parallel, depending on the customer requirements. It offers maximum flexibility to the application, saves instruction overhead, and allows a dramatic reduction to the Random Access time. You can enable XIP mode in two ways: z Using the Volatile Configuration Register: this is dedicated to applications that boot in SPI mode (Extended SPI, DIO-SPI or QIO-SPI) and then during the application life need to switch to XIP mode to directly execute some code in the flash. z Using the Non Volatile Configuration Register: this is dedicated to applications that need to boot directly in XIP mode. Setting to 0 the bit 3 of the Volatile Configuration Register the device is ready to enter in XIP mode right after the next fast read instruction (by 1, 2 or 4 pin). While acting on the Non Volatile Configuration Register (bit 11 to bit 9, depending on which XIP type is required, single, dual or quad I/O) the memory enters in the selected XIP mode only after the next power-on sequence. The Non Volatile Configuration Register XIP configuration bits allows the memory to start directly in the required XIP mode (Single, Dual or Quad) after the power on. The XIP mode status must be confirmed forcing the XIP confirmation bit to "0", the XIP confirmation bit is the value on the DQ0 pin during the first dummy clock cycle after the address in XIP reading instruction. Forcing the bit "1" on DQ0 during the first dummy clock cycle after the address (XIP Confirmation bit) the memory returns in the previous standard read mode, that means it will codify as an instruction code the next byte received on the input pin(s) after the next chip select. Instead, if the XIP mode is confirmed (by forcing the XIP confirmation bit to 0), after the device next de-selection and selection cycle, the memory codify the first 3 bytes received on the inputs pin(s) as a new address. Besides not confirming the XIP mode during the first dummy clock cycle, it is possible to exit the XIP mode by mean of a dedicated rescue sequence. Note: For devices with a feature set digit equal to 2 or 4 in the part number (Basic XiP), it is not necessary to set the Volatile Configuration Register bit 3 to enter XIP mode: it is possible to enter XIP mode directly by setting XIP Confirmation bit to 0 during the first dummy clock cycle after a fast read instruction.See Section 16: Ordering information.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 99. N25Q032 Read functionality Flow Chart

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

10.1 Enter XIP mode by setting the Non Volatile Configuration

Table 23. NVCR XIP bi ts setting example

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 100. XIP mode di rectly after power on

10.2 Enter XIP mode by setting the Volatile Configuration Register

(either Single, Dual or Quad) is needed once to start the XIP Reading. instruction code, and after the dummy clock cycles (configurable) directly outputs the data. Read instruction, as described in Table 24.: VCR XIP bits setting example. clock cycle after a fast read instruction. See Section 16: Ordering information. Xb is the XIP Confirmation bit and should be set as follows: 0 to keep XIP state; 1 to exit XIP mode and return to standard read mode. Table 24. VCR XIP bits setting example

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 101. XiP: enter by VCR 2/2 (Q IOFR in normal SPI protocol example)

10.3 XIP mode hold and exit

bit to be sent to the memory on DQ0 during the first dummy clock cycle. means codifying the first byte after the next chip select as an instruction code. addresses is always Don't Care. after the addresses are always Don't Care. deselected. See Section 16: Ordering information. Xb is the XIP Confirmation bit and should be set as follows: 0 to keep XIP state; 1 to exit XIP mode and return to standard read mode.

N25Q032 - 3 V XIP Operations Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

10.4 XIP Memory reset after a controller reset

If during the application life the system controller is reset during operation, and the device features the RESET functionality (in devices with a dedicated part number), and the feature has not been disabled, after the controller resets, the memory returns to POR state and there is no issue. See Section 16: Ordering information. In all the other cases, it is possible to exit the memory from the XIP mode by sending the following rescue sequence at the first chip selection after a system reset: DQ0= '1' for: 7 clock cycles within S low (S becomes high before 8th clock cycle) + 13 clock cycles within S low (S becomes high before 14th clock cycle) + 25 clock cycles within S low (S becomes high before 26th clock cycle) The global effect is only to exit from XIP without any other reset.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

11 Power-up and power-down

A safe configuration is provided in Section 3: SPI Modes. the device does not respond to any instruction. z The Lock Registers are configured as: (Write Lock bit, Lock Down bit) = (0,0). Normal precautions must be taken for supply line decoupling, to stabilize the VCC supply. to the package pins (generally, this capacitor is of the order of 100 nF). Program or Erase cycle is in progress, some data corruption may result). Figure 102. Power-up timing

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

11.1 Rescue sequence in case of power loss during WRNVCR

Volatile configuration Register again. The rescue sequence is composed of two parts that have to be run in the correct order. Table 25. Power-up timing and V WI threshold

  1. These parameters are characterized only.

Initial delivery state N25Q032 - 3 V Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

12 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).

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

13 Maximum rating

Table 26. Absolute maximum ratings

  1. Compliant with JEDEC Std. J-STD-020C (for small body, Sn-Pb or Pb assembly), the Numonyx

Substances (RoHS) 2002/95/EU.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved.

14 DC and AC parameters

match the measurement conditions when relying on the quoted parameters. 1) Output Buffers are configurable by user. 2) For QUAD/DUAL operations: 0 to Vcc. Figure 103. AC measurement I/O waveform Table 27. Operating conditions Table 28. AC measurement conditions Table 29. Capacitance (1)

  1. Sampled only, not 100% tested, at T A=25 °C and a frequency of 54 MHz.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Note: The AC Characteristi cs data is preliminary. Table 30. DC Characteristics

108 MHz 18 mA

108 MHz 20 mA

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 31. AC Characteristics (page 1 of 2)

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 104. Reset AC waveforms while a program or erase cycle is in progress See Table 32.: Reset Conditions.

  1. tCH + tCL must be greater than or equal to 1/ fC.
  2. Typical values given for TA = 25 °C
  3. Value guaranteed by characterization, not 100% tested in production.
  4. Expressed as a slew-rate.
  5. Only applicable as a constraint for a WRSR instruction when SRWD is set to '1'.
  6. VPPH should be kept at a valid level until the program or eras e operation has completed and its result (success or failure)
  7. When using the page program (PP) instruction to program consecutive bytes, optimized timings are obtained with one
  8. int(A) corresponds to the upper integer part of A. For example int(12/8) = 2, int(32/8) = 4 int(15.3) =16.

Table 31. AC Characteristics (page 2 of 2)

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 105. Serial input timing Table 32. Reset Conditions DIFP, QIEFP, QIFP, SE, BE, PER, PES.

  1. All values are guaranteed by characteri zation and not 100% tested in production.
  2. The device reset is possible but not guaranteed if tRLRH < 50 ns.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 110. UFDFPN8 (MLP8) Ultra Thin Dual Flat Package, No lead, 4×3 mm Drawing Table 33. UFDFPN8 (MLP8) Ultra Thin Dual Flat Package, No lead, 4×3 mm Dimensions

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 111. VDFPN8 (MLP8) Very Thin Pitch Dual Flat Package, No lead, 6×5 mm

  1. The circle in the top view of the package indicates the position of pin 1.

Table 34. VDFPN8 (MLP8) Very Thin Dual Flat Package No leads 6×5 mm Dimensions

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 112. VDFPN8 (MLP8) Very Thin Dual Flat Package 8 leads, 8×6x1 mm Drawing

  1. The circle in the top view of the package indicates the position of pin 1.

Table 35. VDFPN8 (MLP8) Very Thin Dual Flat Package 8 leads 8×6x1 mm Dimensions

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 113. SO8W – 8 Lead Plastic Small Outline, 208 mils Body Width, Drawing Table 36. SO8 Wide – 8 Lead Plastic Small Outline, 208 mils Body Width, Dimensions

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 114. SO16 Wide – 16 Lead Plastic Small Outline, 300 mils Body Width, Drawing Table 37. SO16 Wide – 16 Lead Plastic Small Outline, 300 mils Body Width, Dimensions

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 115. TBGA - 6 x 8 mm, 24-Ball, Drawing

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Figure 116. SO8N – 8 Lead Plastic Small Outline, 150 mils Body Width, Drawing Table 38. TBGA 6x8 mm 24-Ball, Dimensions, Symbols A to eE Table 39. TBGA 6x8 mm 24-Ball, Dimensions, Symbols FD to fff Table 40. SO8N – 8 Lead Plastic Small Out line, 150 mils Body Width, Dimensions

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 41. Ordering information scheme

  1. Additional secure options are ava ilable upon request. For security features options please refer to AN:309025

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. contact your nearest Numonyx Sales Office. (16th digit of part number). Table 42. Valid Order Information Line Items

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. Table 43. Document revision history 10-May 2010 1 Initial release. 14-Jan-2011 2 Revised package information.

Micron Technology, Inc., reserves the right to change products or specifications without notice. ©2010 Micron Technology, Inc. All rights reserved. 8000 S. Federal Way, P.O. Box 6, Boise, ID 83707-0006, Tel: 208-368-3900 www.micron.com/productsupport Customer Comment Line: 800-932-4992 Micron and the Micron logo are trademarks of Micron Technology, Inc. All other trademarks are the property of their respective owners. This data sheet contains minimum and maximum limits specified over the power supply and temperature range set forth herein. Although considered final, these specifications are subject to change, as further product development and data characterization sometimes occur.