MR10Q010 1 Mb High Speed Quad SPI MRAM FEATURES * * * * * High bandwidth - Read and Write at 52MB/sec Quad I/O with the use of dual purpose pins to maintain a low pin count Operates in both standard, single SPI mode and high speed quad SPI mode Fast quad Read and Write with quad address input and quad I/O Intended for next generation RAID controllers, server system logs, storage device buffers, and embedded system data and program memory * Data is non-volatile with retention greater than 20 years * Automatic data protection on power loss * Unlimited write endurance * Low-current sleep mode * Dual 3.3v VDD / 1.8v VDDQ power supply * Tamper Detect function will detect possible data modification from outside magnetic fields. * Quad Peripheral Interface (QPI) mode is supported to enhance system performance for Execute in Place (XIP) operation. * MSL Level 3. RoHS 16-SOIC 24-BGA DESCRIPTION The MR10Q010 is the ideal memory solution for applications that must store and retrieve data and programs quickly using a small number of pins, low power, and choice of a 24-ball BGA or a 16-pin SOIC package. The four I/O's in Quad SPI mode allow very fast reads and writes, making it an attractive alternative to conventional parallel data bus interfaces in next generation RAID controllers, server system logs, storage device buffers, and embedded system data and program memory. Using Everspin's patented MRAM technology, both reads and writes can occur randomly in memory with no delay between writes. Standard Serial Peripheral Interface (SPI), Quad SPI and Quad Peripheral Interface (QPI) modes are supported at a clock rate up to 104MHz. XIP operation is supported for Read commands in all three modes. The MR10Q010 Quad SPI MRAM is organized as 131,072 words of 8 bits. Operational Overview Mode Command Set Utility Commands XIP Command Operation SPI Mode Read 40MHz. Write, Fast Read 104MHz Write Enable/Disable, Sleep Mode, Read/Write Status Register, Tamper Detect, Read Device ID, Enable QPI Mode Fast Read Quad SPI Mode Quad I/O mode Read/Write data, or both address and data None. Fast Read Quad Output, Fast Read Quad Address and Data QPI Mode Enables command instruction entry in quad I/O mode. (2 clocks) Disable QPI Mode. Fast Read, Fast Read Quad Output, Fast Read Quad Address and Data Copyright (c) 2018 Everspin Technologies, Inc. 1 MR10Q010 Revision 5.6, 6/2018 MR10Q010 TABLE OF CONTENTS Operational Overview.....................................................................................................................1 OVERVIEW.............................................................................................................................................7 Table 1 - Operational Parameters Summary....................................................................................................... 7 Operation in 3.3v Data Bus Systems - Evaluation Board Available..............................................7 Figure 1 - MR10Q010 Block Diagram..................................................................................................................... 8 Figure 2 - System Configuration.............................................................................................................................. 9 Figure 3 - 16-SOIC Package Pin Assignments...................................................................................................10 Table 2 - 16-SOIC Pin Functions.............................................................................................................................10 Figure 4 - 24-BGA Package Ball Assignments...................................................................................................12 Table 3 - 24-BGA Ball Functions.............................................................................................................................12 STATUS REGISTER.............................................................................................................................. 14 Table 4 - Status Register Bit Definitions..............................................................................................................14 Memory Protection Modes........................................................................................................... 15 Table 5 - Memory Protection Modes...................................................................................................................15 Block Protection Modes................................................................................................................ 15 Table 6 - Block Memory Write Protection...........................................................................................................15 SPI COMMUNICATIONS PROTOCOL................................................................................................. 16 SPI MODE COMMANDS..................................................................................................................... 16 Table 7 - SPI Mode Commands Overview..........................................................................................................17 SPI Mode Commands Overview................................................................................................... 17 Read Status Register (RDSR)......................................................................................................... 18 Figure 5 - Read Status Register (RDSR) Command Operation ...................................................................18 Write Enable (WREN)..................................................................................................................... 19 Figure 6 - Write Enable (WREN) Command Operation .................................................................................19 Write Disable (WRDI)..................................................................................................................... 20 Figure 7 - Write Disable (WRDI) Command Operation .................................................................................20 Copyright (c) 2018 Everspin Technologies, Inc. 2 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table of Contents (Cont'd) Write Status Register (WRSR)....................................................................................................... 21 Figure 8 - Write Status Register (WRSR) Command Operation .................................................................21 Read Data Bytes (READ)................................................................................................................ 22 Figure 9 - Read Data Bytes (READ) Command Operation............................................................................22 Fast Read Data Bytes (FREAD)...................................................................................................... 23 Figure 10 - Fast Read Data Bytes (FREAD) Command Operation..............................................................23 Write Data Bytes (WRITE).............................................................................................................. 24 Figure 11 - Write Data Bytes (WRITE) Command Operation.......................................................................24 Enter Sleep Mode (SLEEP)............................................................................................................. 25 Figure 12 - Enter Sleep Mode (SLEEP) Command Operation......................................................................25 Exit Sleep Mode (WAKE)................................................................................................................ 26 Figure 13 - Exit Sleep Mode (WAKE) Command Operation.........................................................................26 Tamper Detect (TDET)................................................................................................................... 27 Figure 14 - Tamper Detect (TDET) Command Operation.............................................................................27 Tamper Detect Exit (TDETX)......................................................................................................... 28 Figure 15 - Tamper Detect Exit (TDETX) Command Operation..................................................................28 Read ID (RDID)............................................................................................................................... 29 Figure 16 - Read ID (RDID) Command Operation............................................................................................29 Table 8 - Device ID for MR10Q010........................................................................................... 30 QUAD SPI MODE COMMANDS.......................................................................................................... 31 Quad SPI Mode Commands Overview......................................................................................... 31 Table 9 - Quad SPI Mode Commands Overview..............................................................................................31 Fast Read Quad Output (FRQO)................................................................................................... 32 Figure 17 - Fast Read Quad Output (FRQO) Command Operation...........................................................33 Fast Read Quad Address and Data (FRQAD)............................................................................... 34 Figure 18 - Fast Read Quad Address and Data (FRQAD) Command Operation...................................35 Copyright (c) 2018 Everspin Technologies, Inc. 3 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table of Contents (Cont'd) Fast Write Quad Data (FWQD)....................................................................................................... 36 Figure 19 - Fast Write Quad Data (FWQD) Command Operation..............................................................36 Fast Write Quad Address and Data (FWQAD).............................................................................. 37 Figure 20 - Fast Write Quad Address and Data (FWQAD) Command Operation.................................37 QPI MODE........................................................................................................................................... 38 Table 10 - SPI Mode Command Structures in QPI Mode..............................................................................38 Table 11 - Quad SPI Mode Command Structures in QPI Mode..................................................................39 Enable QPI (EQPI) Command........................................................................................................ 40 Figure 21 - Enable QPI Mode (EQPI) Command Operation ........................................................................40 Disable QPI (DQPI) Command...................................................................................................... 41 Figure 22 - Disable QPI Mode (DQPI) Command Timing .............................................................................41 EXECUTE IN PLACE (XIP) MODE....................................................................................................... 42 Table 12 - Mode Byte Definitions to Set/Reset XIP Mode............................................................................42 Table 13 - XIP Mode with FREAD Command.....................................................................................................43 Figure 23 - FREAD Command- Set XIP Mode - Initial Access .....................................................................44 Figure 24 - FREAD Command - XIP Mode Set - Next Access......................................................................45 Figure 25 - FREAD Command - XIP Mode Exit..................................................................................................46 Table 14 - XIP Operation with FRQO Command..............................................................................................47 Figure 26 - FRQO Command - Set XIP Mode - Initial Access .....................................................................48 Figure 27 - FRQO Command - XIP Mode Set - Next Access........................................................................49 Figure 28 - FRQO Command - XIP Mode Exit....................................................................................................50 Table 15 - XIP Operation with FRQAD Command...........................................................................................51 Figure 29 - FRQAD Command - Set XIP Mode - Initial Access ...................................................................52 Figure 30 - FRQAD Command - XIP Mode Set - Next Access.....................................................................53 Figure 31 - FRQAD Command - XIP Mode Exit.................................................................................................54 ELECTRICAL SPECIFICATIONS.......................................................................................................... 55 Copyright (c) 2018 Everspin Technologies, Inc. 4 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table of Contents (Cont'd) Table 16 - Absolute Maximum Ratings ............................................................................................................55 Table 17 - Operating Conditions...........................................................................................................................56 Table 18 - DC Characteristics..................................................................................................................................56 Table 19 - Power Supply Characteristics.............................................................................................................57 Table 20 - Capacitance..............................................................................................................................................57 TIMING SPECIFICATIONS.................................................................................................................. 58 AC Measurement Conditions........................................................................................................ 58 Table 21 - AC Measurement Conditions.............................................................................................................58 Figure 32 - Output Load for Impedance Parameter Measurements........................................................58 Figure 33 - Output Load for all Other Parameter Measurements..............................................................58 Power Up Timing........................................................................................................................... 59 Table 22 - Power-Up Delay Minimum Voltages and Timing........................................................................59 Figure 34 - Power-Up Timing.................................................................................................................................60 AC Timing Parameters................................................................................................................... 61 Table 23 - AC Timing Parameters..........................................................................................................................61 Figure 35 - Synchronous Data Timing (READ)..................................................................................................63 Figure 36 - Synchronous Data Timing Fast Read (FREAD)............................................................................63 Figure 37 - Synchronous Data Timing (WRITE)................................................................................................64 Figure 38 - Synchronous Data Timing Fast Write Quad Data and Fast Write Quad Address and Data (FWQD and FWQAD)...............................................................................................................................64 Figure 39 - HOLD Timing........................................................................................................................................65 PART NUMBERS AND ORDERING..................................................................................................... 66 Table 24 - Part Numbering System.......................................................................................................................66 Table 25 - Ordering Part Numbers........................................................................................................................66 PACKAGE CHARACTERISTICS........................................................................................................... 67 Copyright (c) 2018 Everspin Technologies, Inc. 5 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table of Contents (Cont'd) Table 26 - Thermal Resistance 16-pin SOIC......................................................................................................67 Figure 40 - 16-SOIC Package Outline..................................................................................................................68 Figure 41 - 24 Ball BGA Package Outline...........................................................................................................70 HOW TO REACH US............................................................................................................................ 72 Copyright (c) 2018 Everspin Technologies, Inc. 6 MR10Q010 Revision 5.6, 6/2018 MR10Q010 OVERVIEW The Serial Peripheral Interface, SPI, is becoming increasingly popular in system design due to the reduced pin count of the serial interface and increasing data bandwidth offered when compared against x8 or x16 parallel interface architectures. The SPI interface has evolved from a single data line to a four data line, or quad architecture. This interface provides a data bandwidth in excess of 50Mbytes/sec. SPI is currently well-established in microcontroller/microprocessor based systems. The Everspin family of single I/O SPI MRAM is popular in smart meter applications and a variety of other embedded systems. However, the 40MHz limitation with a single data I/O may be too slow for higher performance applications such as the next generation RAID controllers, server system logs, and storage device buffers . Operating at 52MB/second for both Read and Write the Everspin 1Mb Quad I/O SPI MRAM will meet the needs of these applications. And as a non-volatile memory with over 20 years of data retention, this SPI memory family is equally suited for embedded system data and program memory. The Quad Peripheral Interface, QPI, mode provides a lower overhead to load commands, which will improve system throughput when operating in an Execute in Place, XIP, environment. This added feature will make the device attractive in embedded applications that store program code in an external memory. QPI effectively increases the effective clock rate and, when combined with Quad SPI instructions, Quad SPI memory performance will outstrip asynchronous parallel memories. Table 1 - Operational Parameters Summary Density Interface Voltage (V) 1 Mb 104MHz Quad SPI 3.3v VDD 1.8v VDDQ Read/ Write Active Current R/W (mA) Standby Current (mA) Sleep Current (A) Package 52MB/sec 60/100 8.0 100 16-SOIC Operation in 3.3v Data Bus Systems - Evaluation Board Available The Everspin MR10Q010 Quad SPI Serial MRAM requires a 3.3v VDD power supply and is designed to operate on a 1.8v I/O bus. Adapting the MR10Q010 to operate on a 3.3v data bus can be done by interfacing it to the bus through a level translator. An evaluation board is available to test this adaptation of the MR10Q010 in an existing system. It can be connected to the bus at the board position currently occupied by a SPI or Quad SPI E2PROM and operate with the MR10Q010 I/O levels translated for operation on a 3.3v bus. Contact Everspin for more information about the MR10Q010 3.3v evaluation board and adapting your 3.3v bus system to operate with MR10Q010 MRAM. Copyright (c) 2018 Everspin Technologies, Inc. 7 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 1 - MR10Q010 Block Diagram Address Register Counter SCK 17 CS Instruction Decode Control Logic Write Protect Clock Generator SI or I/O0 SO or I/O1 1 Mb SPI MRAM Array Serial I/O Interface 8 WP or I/O2 Data I/O Register HOLD or I/O3 Copyright (c) 2018 Everspin Technologies, Inc. 8 4 Nonvolatile Status Register MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 2 - System Configuration SCK MOSI or I/O0 (Master Out - Slave In) MISO or I/O1 (Master In - Slave Out) SPI Micro Controller SO I/O1 SI I/O0 SCK CS WP I/O2 HOLD I/O3 SO I/O1 SI I/O0 SCK CS WP I/O2 HOLD I/O3 CS (1) WP or I/O2 (1) HOLD or I/O3 (1) CS (2) WP or I/O2 (2) HOLD or I/O3 (2) Copyright (c) 2018 Everspin Technologies, Inc. 9 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 3 - 16-SOIC Package Pin Assignments HOLD (I/O 3) 1 16 SCK VDDQ 2 15 SI (I/O 0) VDD 3 14 VSS NC 4 13 NC NC 5 12 NC VDD 6 11 VSS CS 7 10 VSSQ SO (I/O 1) 8 9 WP (I/O 2) 16-SOIC 16-SOIC TOP VIEW Table 2 - 16-SOIC Pin Functions Signal Name CS Pin 7 SPI Mode Chip Select Quad SPI Mode 1 Description Chip Select An active low chip select for the serial MRAM. When chip select is high, the memory is powered down to minimize standby power, inputs are ignored and the serial output pin is Hi-Z. Multiple serial memories can share a common set of data pins by using a unique chip select for each memory. SPI Mode: The data output pin is driven during a read operation and remains Hi-Z at all other times. SO is Hi-Z when HOLD is low. Data transitions on the data output occur on the falling edge of SCK. SO (I/O1) 8 Serial Output I/O 1 Quad SPI Mode: Bidirectional I/O to serially write instructions, addresses or data to the device on the rising edge of SCK or read data output from the device on the falling edge of SCK. Table continues on next page. Copyright (c) 2018 Everspin Technologies, Inc. 10 MR10Q010 Revision 5.6, 6/2018 MR10Q010 16-SOIC Pin Functions - Continued Signal Name Pin SPI Mode Quad SPI Mode 1 Description SPI Mode: A low on the write protect input prevents write operations to the Status Register. WP (I/O2) 9 Write Protect I/O 2 VSS 11, 14 Ground Ground Power supply ground pin. VSSQ 10 Ground Ground I/O Voltage ground pin. SI (I/O0) SCK 15 16 Serial Input Clock I/O 0 Clock Quad SPI Mode: Bidirectional I/O to serially write instructions, addresses or data to the device on the rising edge of SCK or read data output from the device on the falling edge of SCK. SPI Mode: All data is input to the device through this pin. This pin is sampled on the rising edge of SCK and ignored at other times. SI can be tied to SO to create a single bidirectional data bus if desired. Quad SPI Mode: Bidirectional I/O to serially write instructions, addresses or data to the device on the rising edge of SCK or read data output from the device on the falling edge of SCK. Synchronizes the operation of the MRAM. The clock can operate up to 104 MHz to shift commands, address, and data into the memory. Inputs are captured on the rising edge of clock. Data outputs from the MRAM occur on the falling edge of clock. The serial MRAM supports both SPI Mode 0 (CPOL=0, CPHA=0) and Mode 3 (CPOL=1, CPHA=1). In Mode 0, the clock is normally low. In Mode 3, the clock is normally high. Memory operation is static so the clock can be stopped at any time. SPI Mode: A low on the HOLD pin interrupts a memory operation for another task. When HOLD is low, the current operation is suspended. The device will ignore transitions on the CS and SCK when HOLD is low. All transitions of HOLD must occur while CS is low. HOLD (I/O3) 1 VDD 3, 6 Power Supply Power Supply Power supply voltage from +3.0 to +3.6 volts. VDDQ 2 I/O Bus Power Supply I/O Bus Power Supply I/O Bus supply voltage from +1.7 volts to +1.9 volts. HOLD I/O 3 Copyright (c) 2018 Everspin Technologies, Inc. Quad SPI Mode: Bidirectional I/O to serially write instructions, addresses or data to the device on the rising edge of SCK or read data output from the device on the falling edge of SCK. 11 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 4 - 24-BGA Package Ball Assignments 1 A B NC C NC 2 3 NC NC VSS SCK CS NC 4 5 NC NC VDD WP IO2 NC NC * 24-ball BGA package. * 8mm x 6mm package outline. * Serial NOR Flash pinout compatible. * VDDQ on ball E4 to support 1.8v I/O. * No VSSQ ball. D E NC SO NC NC SO IO0 HOLD IO3 NC NC VDDQ NC IO1 Table 3 - 24-BGA Ball Functions Signal Name CS Ball C2 SPI Mode Chip Select Quad SPI Mode 1 Description Chip Select An active low chip select for the serial MRAM. When chip select is high, the memory is powered down to minimize standby power, inputs are ignored and the serial output pin is Hi-Z. Multiple serial memories can share a common set of data pins by using a unique chip select for each memory. SPI Mode: The data output pin is driven during a read operation and remains Hi-Z at all other times. SO is Hi-Z when HOLD is low. Data transitions on the data output occur on the falling edge of SCK. SO (I/O1) D2 Serial Output I/O 1 Quad SPI Mode: Bidirectional I/O to serially write instructions, addresses or data to the device on the rising edge of SCK or read data output from the device on the falling edge of SCK. Table continues on next page. Copyright (c) 2018 Everspin Technologies, Inc. 12 MR10Q010 Revision 5.6, 6/2018 MR10Q010 24-BGA Ball Functions - Continued Signal Name Ball SPI Mode Quad SPI Mode 1 Description SPI Mode: A low on the write protect input prevents write operations to the Status Register. WP (I/O2) C4 Write Protect I/O 2 VSS B3 Ground Ground Quad SPI Mode: Bidirectional I/O to serially write instructions, addresses or data to the device on the rising edge of SCK or read data output from the device on the falling edge of SCK. Power supply ground pin. SPI Mode: All data is input to the device through this pin. This pin is sampled on the rising edge of SCK and ignored at other times. SI can be tied to SO to create a single bidirectional data bus if desired. SI (I/O0) SCK D3 B2 Serial Input Clock I/O 0 Clock Quad SPI Mode: Bidirectional I/O to serially write instructions, addresses or data to the device on the rising edge of SCK or read data output from the device on the falling edge of SCK. Synchronizes the operation of the MRAM. The clock can operate up to 104 MHz to shift commands, address, and data into the memory. Inputs are captured on the rising edge of clock. Data outputs from the MRAM occur on the falling edge of clock. The serial MRAM supports both SPI Mode 0 (CPOL=0, CPHA=0) and Mode 3 (CPOL=1, CPHA=1). In Mode 0, the clock is normally low. In Mode 3, the clock is normally high. Memory operation is static so the clock can be stopped at any time. SPI Mode: A low on the HOLD pin interrupts a memory operation for another task. When HOLD is low, the current operation is suspended. The device will ignore transitions on the CS and SCK when HOLD is low. All transitions of HOLD must occur while CS is low. HOLD (I/O3) D4 VDD B4 Power Supply Power Supply Power supply voltage from +3.0 to +3.6 volts. VDDQ E4 I/O Bus Power Supply I/O Bus Power Supply I/O Bus supply voltage from +1.7 volts to +1.9 volts. HOLD I/O 3 Copyright (c) 2018 Everspin Technologies, Inc. Quad SPI Mode: Bidirectional I/O to serially write instructions, addresses or data to the device on the rising edge of SCK or read data output from the device on the falling edge of SCK. 13 MR10Q010 Revision 5.6, 6/2018 MR10Q010 STATUS REGISTER The status register consists of the 8 bits shown in Table 3 below. The Status Register Write Disable bit (SRWD, Bit 7) is used in conjunction with the Write Enable Latch (WEL, bit 1) and the Write Protection pin (WP) to provide hardware memory block protection. Their usage for memory block protection is defined in "Table 5 - Memory Protection Modes" . The Status Register Write Disable bit is non-volatile and will remain set whenever power is removed from the memory. The WEL bit (Bit 7) is volatile and set by the Write Enable command. It is set to "0" at power up and reset to "0" when recovering from a loss of power. The status of memory block protection is indicated by the states of bits BP0 and BP1 (Bits 2 and 3) and are also defined in "Table 5 - Memory Protection Modes" on page 15. BP0 and BP1 are non-volatile and remain set if power is removed from the memory. The QPI Mode bit (Bit 6) indicates whether the memory is in QPI mode or not. Its value is set when the Enable QPI (EQPI) or Disable QPI (DQPI) commands are invoked. Logic "1" indicates QPI mode is enabled. The QPI Mode Bit is volatile and set to "0" at power up and reset to "0" when recovering from a loss of power. The fast writing speed of the MR10Q010 does not require write status bit information (Normally Bit 0). The state of reserved bits 4, 5, and 0 can be modified by the user but do not affect memory operation. All bits in the status register are pre-set at the factory to the "0" state. Non-reserved Status Register bits are non-volatile with the exception of the WEL and QPI Mode which are reset to 0 upon power cycling. Table 4 - Status Register Bit Definitions Bit 7 Bit 6 Bit 5 Bit 4 SRWD (Non volatile) QPI Mode (Volatile) R2 R1 Bit 3 Bit 2 BP1 BP0 (Non-Volatile) (Non-Volatile) Bit 1 Bit 0 WEL (Volatile) R0 Bit Definitions: 7 - SRWD - Status Register Write Disable 6 - QPI Mode bit. Logic 1 = The device is in QPI Mode. Set by the Enable QPI (page 40) and Disable QPI Commands (page 41). Cannot be modified by the Write Status Register Command (page 21). Reset to "0" upon any power cycling. 5 - R2 - Reserved bit 2 4 - R1 - Reserved bit 1 3 - BP1 - Block Protect bit 1 2 - BP0 - Block Protect bit 0 1 - WEL - Write Enable Latch bit. Set by the Write Enable (page 19) Command. Reset to "0" upon any power cycling. 0 - R0 - Reserved bit 0. This is the "Write in Progress" bit for many memory devices. For MR10Q010, the "Write in progress" bit (bit 0) is not written by the memory because there is no write delay with MRAM. Copyright (c) 2018 Everspin Technologies, Inc. 14 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Memory Protection Modes When WEL is reset to 0, writes to all blocks and the status register are protected. When WEL is set to 1, BP0 and BP1 determine which memory blocks are protected. While SRWD is reset to 0 and WEL is set to 1, status register bits BP0 and BP1 can be modified. Once SRWD is set to 1, WP must be high to modify SRWD, BP0 and BP1. Table 5 - Memory Protection Modes SRWD WP Protected Blocks Unprotected Blocks Status Register 0 X X Protected Protected Protected 1 0 X Protected Writable Writable 1 1 Low Protected Writable Protected 1 1 High Protected Writable Writable WEL Block Protection Modes The memory enters hardware block protection when the WP input is low and the Status Register Write Disable (SRWD) Bit is set to 1. The memory leaves hardware block protection only when the WP pin goes high. While WP is low, the write protection blocks for the memory are determined by the status register bits BP0 and BP1 and cannot be modified without taking the WP signal high again. If the WP signal is high (independent of the status of SRWD Bit), the memory is in software protection mode. This means that block write protection is controlled solely by the status register BP0 and BP1 block write protect bits and this information can be modified using the WRSR command. Table 6 - Block Memory Write Protection Status Register BP1 BP0 Memory Contents Protected Area Unprotected Area 0 0 None All Memory 0 1 Upper Quarter Lower Three-Quarters 1 0 Upper Half Lower Half 1 1 All None Copyright (c) 2018 Everspin Technologies, Inc. 15 MR10Q010 Revision 5.6, 6/2018 MR10Q010 SPI COMMUNICATIONS PROTOCOL The MR10Q010 can be operated in either SPI Mode 0 (CPOL=0, CPHA =0) or SPI Mode 3 (CPOL=1, CPHA=1). For both modes, inputs are captured on the rising edge of the clock and data outputs occur on the falling edge of the clock. When not conveying data, SCK remains low for Mode 0; while in Mode 3, SCK is high. The memory determines the mode of operation (Mode 0 or Mode 3) based upon the state of the SCK when CS falls. All memory transactions start when CS is brought low to the memory. The first byte is a command code. Depending upon the command, subsequent bytes of address are input. Data is either input or output. There is only one command performed per CS active period. CS must go inactive before another command can be accepted. To ensure proper part operation according to specifications, it is necessary to terminate each access by raising CS at the end of a byte (a multiple of 8 clock cycles from CS dropping to avoid partial or aborted accesses. SPI MODE COMMANDS All memory transactions start when CS is brought low, selecting the memory. The first byte is an 8-bit command code in hexadecimal. The subsequent 24 bits entered are address input. Following the address input (except for the FREAD command) the device will read/write data beginning at the address entered. For the FREAD command the Mode Byte must be entered following the address. The Mode Byte will either set or reset the XIP mode. See "Execute in Place (XIP) Mode" on page 42. There is only one command performed per CS active period. CS must go inactive before another command can be accepted. Note: To avoid partial or aborted accesses, memory access must remain active (CS low) for a multiple of 8 clocks from CS going low (the end of a byte.) At power up, the default operational mode is SPI mode. Copyright (c) 2018 Everspin Technologies, Inc. 16 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table 7 - SPI Mode Commands Overview SPI Mode Commands Overview Name Operation Code RDSR Read Status Register 05h Returns the contents of the 8 Status Register bits. WREN Write Enable 06h Sets the Write Enable Latch (WEL) bit in the status register to 1. WRDI Write Disable 04h Sets the Write Enable Latch (WEL) bit in the status register to 0. WRSR Write Status Register 01h Writes new values to the entire Status Register. READ Read Data Bytes 03h Continuously reads data bytes starting at an initial address specified. FREAD 1 Fast Read Data Bytes 0Bh High-speed READ with XIP operation option. WRITE Write Data Bytes 02h Continuously writes data bytes starting at an address specified. SLEEP Enter Sleep Mode B9h Initiates Sleep Mode. WAKE Exit Sleep Mode ABh Terminates Sleep Mode. TDET Tamper Detect 17h Returns 4 data bytes indicating corrupted or uncorrupted memory. RDID Read ID 4Bh Returns the Everspin device ID assigned by JEDEC. Description Notes: 1. FREAD has the option of using XIP operational mode. See "Execute in Place (XIP) Mode" on page 42 for details of XIP mode with the FREAD command. Copyright (c) 2018 Everspin Technologies, Inc. 17 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Read Status Register (RDSR) The Status Register can be read at any time to check the status of the Write Enable Latch Bit, status register Write Protect Bit, QPI mode, and the block write protect bits. The RDSR command is entered by driving CS low, sending the command code, and then driving CS high. See "Table 3 - Status Register Bit Definitions" on page 11 for Status Register Bit definitions. Figure 5 - Read Status Register (RDSR) Command Operation Clock Number 2 Name Operation 0-71 8 - 15 16 - 23 24 - 31 32 - 39 40 - n RDSR Read Status Register 05h S7-S0 3 - - - - Notes: 1. Clocks 0 - 7 are the command byte. 2. See "AC Timing Parameters" on page 61 for timing requirements. 3. See "Table 3 - Status Register Bit Definitions" on page 11 for status register bit definitions. CS 0 Mode 3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 SCK Mode 0 Instruction (05h) SI 0 0 0 0 0 1 0 1 Status Register Bits SO High Impedance Copyright (c) 2018 Everspin Technologies, Inc. 7 18 6 5 4 3 2 1 0 High Z MR10Q010 Revision 5.6, 6/2018 MR10Q010 Write Enable (WREN) The Write Enable (WREN) command sets the Write Enable Latch Bit (WEL) in the status register (Bit 1). The Write Enable Latch must be set prior to writing in the status register or the memory. The WREN command is entered by driving CS low, sending the command code, and then driving CS high. See "Table 3 - Status Register Bit Definitions" on page 11 for Status Register Bit definitions. Figure 6 - Write Enable (WREN) Command Operation Clock Number 1 Name Operation 0-72 8 - 15 16 - 23 24 - 31 32 - 39 40 - n WREN Write Enable 06h - - - - - 7 Mode 3 Notes: 1. See "AC Timing Parameters" on page 61 for timing requirements. 2. Clocks 0 - 7 are the command byte. CS Mode 3 SCK 0 1 2 3 4 5 6 Mode 0 Mode 0 Instruction (06h) SI 0 0 SO Copyright (c) 2018 Everspin Technologies, Inc. 0 0 0 1 1 0 High Impedance 19 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Write Disable (WRDI) The Write Disable (WRDI) command resets the Write Enable Latch (WEL) bit in the status register (bit 1) to 0. This prevents writes to status register or memory. The WRDI command is entered by driving CS low, sending the command code, and then driving CS high. The Write Enable Latch (WEL) is reset to 0 on power-up or when the WRDI command is completed. See "Table 3 - Status Register Bit Definitions" on page 11 for Status Register bit definitions. Figure 7 - Write Disable (WRDI) Command Operation Clock Number 1 Name Operation 0-72 8 - 15 16 - 23 24 - 31 32 - 39 40 - n WRDI Write Disable 04h - - - - - Notes: 1. See "AC Timing Parameters" on page 61 for timing requirements. 2. Clocks 0 - 7 are the command byte. CS Mode 3 SCK 0 1 2 3 4 5 6 7 Mode 3 Mode 0 Mode 0 Instruction (04h) SI 0 0 SO Copyright (c) 2018 Everspin Technologies, Inc. 0 0 0 1 0 0 High Impedance 20 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Write Status Register (WRSR) The Write Status Register (WRSR) command allows new values for certain bits to be written to the Status Register. The WRSR command cannot be executed unless the Write Enable Latch (WEL) has been set to 1 by executing a WREN command while pin WP the SRWD Bit correspond to values that make the status register writable as seen in Table 5 on page 15. QPI Mode Bit, Bit 6, and the WEL Bit, Bit 0, are set by other commands and cannot be changed by this command. The WRSR command is entered by driving CS low, sending the command code and status register write data byte, and then driving CS high. Figure 8 - Write Status Register (WRSR) Command Operation Clock Number Name Operation 0-71 8 - 15 2 16 - 23 24 - 31 32 - 39 40 - n WRSR Write Status Register 01h S7-S0 - - - - Notes: 1. Clocks 0 - 7 are the command byte. 2. Neither the QPI Mode Bit, Bit 6, or the WEL Bit, bit 0, can be changed by this command. CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 12 13 14 15 Mode 0 Instruction (01h) SI 11 0 0 0 0 0 0 Status Register In 0 1 7 6 (DC) 5 4 3 1 2 1 0 (DC) MSB SO High Impedance Notes: 1. Neither the QPI Mode Bit, Bit 6, or the WEL Bit, bit 0, can be changed by this command. Treat as Don't Care. Copyright (c) 2018 Everspin Technologies, Inc. 21 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Read Data Bytes (READ) The Read Data Bytes (READ) command allows data bytes to be continuously read starting at an initial address specified by the 24-bit address entry. The data bytes are read out sequentially from memory until the read operation is terminated by bringing CS high. The entire memory can be read in a single command. The address counter will roll over to 0000H when the address reaches the top of memory. The READ command is entered by driving CS low and sending the command code. The memory drives the read data bytes on the SO pin. Reads continue as long as the memory is clocked. (Maximum READ clock frequency 40MHz.) The command is terminated by bringing CS high. Figure 9 - Read Data Bytes (READ) Command Operation Clock Number Name Operation 0-71 8 - 15 16 - 23 24 - 31 32 - 39 READ Read Data Bytes 03h A23-A16 A15-A8 A7-A0 D7-D0, until CS high 40 - n Notes: 1. Clocks 0 - 7 are the command byte. 2. For timing details, see "Figure 35 - Synchronous Data Timing (READ)" on page 63. CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 29 30 31 32 33 34 36 37 38 39 0 0 0 0 0 0 24-Bit Address 1 1 23 22 21 3 2 1 0 MSB SO 35 Mode 0 Instruction (03h) SI 28 Data Out 1 High Impedance 7 6 5 4 3 Data Out 2 2 1 0 7 Data Clocked Out Continuously until CS high. Copyright (c) 2018 Everspin Technologies, Inc. 22 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Fast Read Data Bytes (FREAD) The Fast Read Data Bytes FREAD command is similar to the READ command except that the device can be operated at the highest frequency (fSCK = 104MHz ) and the command has an XIP operation option. For more detail on the XIP option, see "Table 13 - XIP Mode with FREAD Command" on page 43. The FREAD command is entered by driving CS low and sending the command code. The memory drives the read data bytes on the SO pin. Reads continue as long as the memory is clocked. The command is terminated by bringing CS high. Figure 10 - Fast Read Data Bytes (FREAD) Command Operation Clock Number Name Operation 0-71 8 - 15 16 - 23 24 - 31 32 - 39 40 - n FREAD Fast Read Data Bytes 0Bh A23-A16 A15-A8 A7-A0 Mode bits 2 (7-0) D7-D0, until CS high Notes: 1. Clocks 0 - 7 are the command byte. 2. Mode Byte to Set/Reset XIP operation. Set/Continue XIP Mode = EFh. Reset XIP Mode FFh (exit XIP). See "Execute in Place (XIP) Mode" on page 42 for more detailed information on XIP operation with FREAD. 3. For timing details, see "Figure 36 - Synchronous Data Timing Fast Read (FREAD)" on page 63. CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 28 29 30 31 2 1 0 Mode 0 Instruction (0Bh) SI 0 0 0 0 1 24-Bit Address 0 1 1 23 22 21 3 LSB MSB High Impedance SO CS 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 3 2 1 0 SCK Mode Bits Set /Reset XIP Mode SI SO 0 M7 M6 M5 M4 M3 High Impedance M2 M1 M0 Data Out 1 7 6 5 4 Data Out 2 3 2 1 0 7 6 5 4 7 Data Clocked Out Continuously until CS high. Copyright (c) 2018 Everspin Technologies, Inc. 23 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Write Data Bytes (WRITE) The Write Data Bytes (WRITE) command allows data bytes to be written starting at an address specified by the 24-bit address. The data bytes are written sequentially in memory until the write operation is terminated by bringing CS high. The entire memory can be written in a single command. The address counter will roll over to 0000h when the address reaches the top of memory. MRAM is a random access memory rather than a page, sector, or block organized memory so it is ideal for both program and data storage. Unlike EEPROM or Flash Memory, MRAM can write data bytes continuously at its maximum rated clock speed without write delays or data polling. Back to back WRITE commands to any random location in memory can be executed without write delay. The WRITE command is entered by driving CS low, sending the command code, and then sequential write data bytes. Writes continue as long as the memory is clocked. The command is terminated by bringing CS high. Figure 11 - Write Data Bytes (WRITE) Command Operation Clock Number Name Operation 0-71 8 - 15 16 - 23 24 - 31 32 - 39 WRITE Write Data Bytes 02h A23-A16 A15-A8 A7-A0 D7-D0, until CS high 40 - n Notes: 1. Clocks 0 - 7 are the command byte. 2. For timing details see "Figure 37 - Synchronous Data Timing (WRITE)" on page 64. CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 29 30 31 32 33 34 35 36 37 38 39 Mode 0 Instruction (02h) SI 28 0 0 0 0 0 24-Bit Address 0 1 0 23 22 21 3 Data Byte 1 2 1 0 MSB 7 6 5 4 3 2 1 0 MSB High Impedance SO CS 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 SCK Data Byte 2 SI 7 6 5 4 3 Data Byte 3 2 1 0 7 6 5 4 MSB 3 Data Byte N 2 1 0 7 6 5 4 3 2 1 0 MSB High Impedance SO Copyright (c) 2018 Everspin Technologies, Inc. 24 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Enter Sleep Mode (SLEEP) The Enter Sleep Mode (SLEEP) command turns off all MRAM power regulators in order to reduce the overall chip standby power to 15 A typical. The SLEEP command is entered by driving CS low, sending the command code, and then driving CS high. The standby current is achieved after time, tDP. See "Table 23 - AC Timing Parameters" on page 61 for the tDP value. If power is removed when the part is in sleep mode, upon power restoration, the part enters normal standby. The only valid command following SLEEP mode entry is a WAKE command. Figure 12 - Enter Sleep Mode (SLEEP) Command Operation Clock Number Name Operation 0-71 8 - 15 16 - 23 24 - 31 32 - 39 40 - n SLEEP Enter Sleep Mode B9h - - - - - Notes: 1. Clocks 0 - 7 are the command byte. CS t DP 0 Mode 3 SCK 1 2 3 4 5 6 7 Mode 0 Instruction (B9h) SI 1 0 1 1 1 0 0 Active Current 1 Standby Current Sleep Mode Current SO Copyright (c) 2018 Everspin Technologies, Inc. 25 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Exit Sleep Mode (WAKE) The Exit Sleep Mode (WAKE) command turns on internal MRAM power regulators to allow normal operation. The WAKE command is entered by driving CS low, sending the command code, and then driving CS high. The memory returns to standby mode after tRDP. See "Table 23 - AC Timing Parameters" on page 61 for the tRPD value. The CS pin must remain high until the tRDP period is over. WAKE must be executed after sleep mode entry and prior to any other command when the device is in Sleep mode. Figure 13 - Exit Sleep Mode (WAKE) Command Operation Clock Number Name Operation 0-71 8 - 15 16 - 23 24 - 31 32 - 39 40 - n WAKE Exit Sleep Mode ABh - - - - - Notes: 1. Clocks 0 - 7 are the command byte. CS t RDP 0 Mode 3 SCK 1 2 3 4 5 6 7 Mode 0 Instruction (ABh) SI 1 0 1 0 1 0 1 1 Sleep Mode Current Standby Current SO Copyright (c) 2018 Everspin Technologies, Inc. 26 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Tamper Detect (TDET) The Tamper Detect command is used to check whether the memory contents have been corrupted by exposure to external magnetic fields. The command is invoked by entering the command code followed by the 8-bit Mode Byte. The device reads dedicated pre-programmed memory bits located around the memory physical array. The contents of these bits are compared to reference bits that are hard programmed into the device via a metal mask. The result of the comparison is returned in 32 status bits of data on SO beginning after the last Mode Byte clock. All 0's in the 32 TDET status bits indicates that the tamper check bits are correct against the reference bits and the memory has not been corrupted. Presence of any 1's in the 32-bit string indicates that at least one of the check bits does not match its reference bit and the memory contents have likely been corrupted. Following CS high, any new command can be entered on the next access, except another TDET command. If it is necessary to immediately enter another TDET command, a Tamper Detect Exit (TDETX) command must be issued first to reset the device for another Tamper Detect sequence. Figure 14 - Tamper Detect (TDET) Command Operation Clock Number Name Operation 0-71 8 - 15 16 - 47 48 - n TDET Tamper Detect 17h Mode Byte bits 7 - 0 3 T31 - T0 2 CS high Notes: 1. Clocks 0 - 7 are the command byte. 2. 32 Tamper Detect indication bits. Any 1's present in the 32-bit string indicate probable corruption of the memory contents. 3. In the TDET command operation, the Mode Byte is used as a time delay to read the check and reference bits. The Mode Byte must be set to FFh. CS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 44 45 46 47 SCK Mode Bits Instruction (4Bh) SI SO 0 1 0 0 1 0 1 1 1 M7 M6 M5 M4 M3 M2 M1 M0 1 1 1 1 1 1 1 1 High Impedance T31 Notes: 1. In the TDET command operation, the Mode Byte must be set to FFh. Copyright (c) 2018 Everspin Technologies, Inc. Don't Care 27 T30 Don't Care T29 T3 T2 T1 T0 High-Z TDET Status Bits MR10Q010 Revision 5.6, 6/2018 MR10Q010 Tamper Detect Exit (TDETX) After running a TDET command, any other command can be run as the next command, except another TDET command. If another TDET command is to be run, then the Tamper Detect Exit (TDETX) command must be run first to reset the device. This is necessary only if immediately running another TDET command. See "Tamper Detect (TDET)" on page 27. Figure 15 - Tamper Detect Exit (TDETX) Command Operation Clock Number Name Operation 0-71 8-n2 TDETX Tamper Detect Exit 07h CS high. Any command can be entered on next access. Notes: 1. Clocks 0 - 7 are the command byte. 2. After CS goes high any other command can be given on the next access. Copyright (c) 2018 Everspin Technologies, Inc. 28 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Read ID (RDID) The Read Device ID command (RDID) returns 40 bits of information that identify the Everspin device. The command is invoked with CS low, and sending command code 4Bh on the Serial Input (SI) pin. See "Figure 16 - Read ID (RDID) Command Operation" below. After 8 clocks for the Mode Byte, 40 bits of data uniquely identifying the Everspin device are returned on the Serial Out (SO) pin. See "Table 8 - Device ID for MR10Q010". If CS remains low after reading the 40 ID bits, additional clocks with CS low will return zeros on SO until CS goes high. Figure 16 - Read ID (RDID) Command Operation Clock Number Name Operation 0-71 8 - 15 RDID Read ID 4Bh Mode Byte 2 Bits 7 - 0 16 - 23 24 - 31 40 - n 32 - 39 Device ID 3 Clocks 16 - 55 Notes: 1. Clocks 0 - 7 are the command byte. 2. In the RDID command operation, the Mode Byte is used as a time delay to read the device ID bits. The Mode Byte must be set to FFh. 3. For the Everspin device ID codes, see "Table 8 - Device ID for MR10Q010" on page 30. CS SCK Mode 3 0 1 2 3 4 5 6 7 8 9 10 11 Mode Bits Instruction (4Bh) SI SO 12 13 14 15 16 17 18 19 50 51 52 53 54 55 Mode 0 0 1 0 0 1 0 1 1 1 M7 M6 M5 M4 M3 M2 M1 M0 1 1 1 1 1 1 1 1 High Impedance Don't Care Bit 39 Bit 38 Bit 37 Bit 36 Bit 35 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 High-Z Device ID Data Bits Notes: 1. In the RDID command operation, the Mode Byte must be set to FFh. Copyright (c) 2018 Everspin Technologies, Inc. 29 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table 8 - Device ID for MR10Q010 RDID Device ID for MR10Q010 Bit # 39 - 24 23 - 20 19 - 16 15 - 12 11 - 8 7-4 3-0 Meaning Manufacturer's ID (JEP 106AH) Technology Interface Speed Density Voltage Die Rev MR10Q010 6Bh, eighth bank Toggle MRAM Quad IO SPI 104MHz 1 Mb 3.3v VDD / 1.8v VDDQ A Binary 0000_0111_0110_1011 0001 0001 0001 0001 0001 0001 Complete Hexadecimal and Binary Device ID for MR10Q010 Hexadecimal 076B111111 Binary 0000_0111_0110_1011_0001_0001_0001_0001_0001_0001 Copyright (c) 2018 Everspin Technologies, Inc. 30 MR10Q010 Revision 5.6, 6/2018 MR10Q010 QUAD SPI MODE COMMANDS Quad SPI commands allow data to be transferred to or from the device at least four times the rate of conventional SPI mode. When using Quad SPI commands the DI and DO pins become bidirectional IO0 and IO1, and the WP and HOLD pins become IO2 and IO3 respectively. Address and data information can be input to the device on four IO's and data output can be read from four IO's, offering a significant improvement in continuous and random access transfers. XIP mode operation is available for FRQO and FRQAD commands. Quad SPI Mode Commands Overview Table 9 - Quad SPI Mode Commands Overview Name Operation Code Description FRQO 1 Fast Read Quad Output 6Bh Initial address entry on IO0, returns data continuously in Quad SPI Mode on all four I/O. Has XIP operation option. FWQD Fast Write Quad Data 32h Initial address entry on IO0, writes data continuously in Quad SPI Mode on all four I/O. FRQAD 1 Fast Read Quad Address and Data EBh Initial address entry on all four IO's, returns data continuously in quad mode on all four I/O's. Has XIP operation option. FWQAD Fast Write Quad Address and Data 12h Initial address entry on all four IO's, writes data continuously in quad mode on all four I/O's. Notes: 1. XIP mode option. See "Execute in Place (XIP) Mode" on page 42 for details of how to use FRQD and FRQAD in XIP mode. Copyright (c) 2018 Everspin Technologies, Inc. 31 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Fast Read Quad Output (FRQO) The Fast Read Quad Output (6Bh) command is similar to the Fast Read Output except that a data byte is output on the four I/O pins, requiring only two clocks. An XIP mode is available for this command. See "Table 14 - XIP Operation with FRQO Command" on page 47 for more information about XIP mode operation. The I/O pins should be high impedance prior to the falling edge of the first Mode clock. The FRQO command is entered by driving CS low and sending the command code. The memory drives the read data bytes on the IO pins. Reads continue as long as the memory is clocked. The command is terminated by bringing CS high. Commmand Operation and Timing next page. Copyright (c) 2018 Everspin Technologies, Inc. 32 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 17 - Fast Read Quad Output (FRQO) Command Operation Clock Number Name Title 0-71 8 - 15 16 - 23 24 - 31 FRQO Fast Read Quad Output 6Bh A23-A16 A15 - A8 A7- A0 32 - 33 34 - 35 36 - n M7- M0 2 D7 - D0, until CS high 3 Notes: 1. Clocks 0 - 7 are the command byte. All commands and address bits on I/O0. 2. Mode Byte. See "Execute in Place (XIP) Mode" on page 42 for more information on XIP operation with FRQO. 3. Quad Mode data output. I/O0 switches from Input to Output. I/O1-3 active outputs until CS returns high. tCSH must be observed for valid output when bringing CS high. CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 28 30 2 1 31 Mode 0 Instruction (6Bh) IO0 0 1 1 0 1 0 24-Bit Address 1 1 23 22 21 3 0 LSB MSB High Impedance IO1 IO2 High IO3 High CS 29 (Low) 31 32 33 34 35 36 37 38 39 40 41 SCK 1 Mode Bits Set / Reset XIP IO0 IO switches from Input to Output LSB 0 1 M4 M0 4 0 4 0 4 0 4 0 4 IO1 M5 M1 5 1 5 1 5 1 5 1 5 IO2 M6 M2 6 2 6 2 6 2 6 2 6 IO3 M7 M3 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Data Clocked Out Continuously until CS high. Note: 1. The I/O pins should be high impedance prior to the falling edge of the second mode clock. Copyright (c) 2018 Everspin Technologies, Inc. 33 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Fast Read Quad Address and Data (FRQAD) The Fast Read Quad Address and Data (FRQAD) command is similar to the FRQO command except that the address bits are loaded into the four I/O's, requiring six clocks instead of 24. The data bytes also are read from the four I/O's as shown in Figure 18 below. An XIP operating mode is available for this command. See "Table 15 - XIP Operation with FRQAD Command" on page 51 for more information on the XIP operating mode for this command. The FRQAD command is entered by driving CS low and sending the command code. The memory drives the read data bytes on the IO pins. Reads continue as long as the memory is clocked. The command is terminated by bringing CS high. Commmand Operation and Timing next page. Copyright (c) 2018 Everspin Technologies, Inc. 34 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 18 - Fast Read Quad Address and Data (FRQAD) Command Operation Clock Number Name Description 0-71 8 - 13 4 14- 15 2 FRQAD Fast Read Quad Address and Data EBh A23 - A0 M7 - M0 2 18 - n 16 - 17 D7 - D0 every two clocks until CS high 3 Notes: 1. Clocks 0 - 7 are the command byte. All commands and address bits on I/O0. 2. Mode Byte. See "Execute in Place (XIP) Mode" on page 42 for more information on XIP operation with FRQAD. 3. 4. Quad Mode data output. I/O0 switches from Input to Output. I/O1-3 active outputs until CS returns high. tCSH must be observed for valid output when bringing CS high. For timing details, see "Figure 38 - Synchronous Data Timing Fast Write Quad Data and Fast Write Quad Address and Data (FWQD and FWQAD)" on page 64. CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Mode 0 24-Bit Address Instruction (EBh) IO0 1 1 1 0 1 A23 - 16 0 1 1 High Impedance IO1 A15 - 8 A7 - 0 20 16 12 8 4 0 21 17 13 9 5 1 IO2 High 22 18 14 10 6 2 IO3 High 23 19 15 11 7 3 CS Mode Bits (Low) 13 14 15 16 17 18 19 20 21 22 23 SCK Mode Bits 1 IO switches from Input to Output IO0 0 M4 M0 4 0 4 0 4 0 4 0 4 IO1 1 M5 M1 5 1 5 1 5 1 5 1 5 IO2 2 M6 M2 6 2 6 2 6 2 6 2 6 IO3 3 M7 M3 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Data Clocked Out Continuously until CS high. Note: 1. The I/O pins should be high impedance prior to the falling edge of the second mode clock. Copyright (c) 2018 Everspin Technologies, Inc. 35 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Fast Write Quad Data (FWQD) The Fast Write Quad Data FWQD command provides a high speed write capability to the memory using four I/O's for data input. The FWQD command can operate at the highest frequency, fSCK = 104MHz. The FWQD command is entered by driving CS low and sending the command code (32h). Data is input on all four I/O's and Writes continue as long as the memory is clocked. The command is terminated by bringing CS high. Figure 19 - Fast Write Quad Data (FWQD) Command Operation Clock Number Name Title 0-71 8 - 15 16 - 23 24 - 31 32 - 33 FWQD Fast Write Quad Data 32h A23-A16 A15 - A8 A7- A0 D7 - D0 every two clocks until CS high 2 34 - 35 36 - n Notes: 1. Clocks 0 - 7 are the command byte. All commands and address bits on I/O0. 2. 3. Quad Mode address input. I/O0 remains input. I/O1-3 active inputs until CS returns high. For timing details, see "Figure 38 - Synchronous Data Timing Fast Write Quad Data and Fast Write Quad Address and Data (FWQD and FWQAD)" on page 64. CS Mode 3 SCK 0 1 2 3 4 5 6 7 8 9 10 23 22 21 30 31 1 0 Mode 0 Instruction (32h) IO0 0 0 1 IO1 High Impedance IO2 High IO3 High CS 29 24-Bit Address 1 0 0 1 0 35 36 37 38 39 2 (Low) 31 32 33 34 SCK Data Bytes IO0 4 0 4 0 4 0 4 0 4 IO1 5 1 5 1 5 1 5 1 5 IO2 6 2 6 2 6 2 6 2 6 IO3 7 3 7 3 7 3 7 3 7 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte n Data Writes Continuously until CS high. Copyright (c) 2018 Everspin Technologies, Inc. 36 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Fast Write Quad Address and Data (FWQAD) The Fast Write Quad Address and Data Command (FWQAD) provides a very fast write at both the highest frequency and fewest clock cycles. The 24-bit address is input on all four I/O's, reducing the number of clock cycles. The data bytes to be written are also input on all four I/O's following the address bits. The FWQAD command can operate at the highest frequency, fSCK = 104MHz. The FWQAD command is entered by driving CS low and sending the command code (12h). Data are input on all four I/O's and Writes continue as long as the memory is clocked. The command is terminated by bringing CS high. Figure 20 - Fast Write Quad Address and Data (FWQAD) Command Operation Clock Number Name Description 0-71 8 - 13 4 FWQAD Fast Write Quad Address and Data 12h A23 - A0 14 - 15 2 16 - n D7 - D0 every two clocks until CS high 2 Notes: 1. Clocks 0 - 7 are the command byte. All commands and address bits on I/O0. 2. Quad Mode address input. I/O0 remains input. I/O1-3 active inputs until CS returns high. CS Mode 3 SCK 0 1 2 3 4 5 6 7 8 9 10 11 12 13 Mode 0 24-Bit Address Instruction (12h) IO0 0 0 0 1 0 A23 - 16 0 1 0 A15 - 8 A7 - 0 20 16 12 8 4 0 21 17 13 9 5 1 IO1 High Impedance IO2 High 22 18 14 10 6 2 IO3 High 23 19 15 11 7 3 CS (Low) 13 14 15 16 17 18 19 20 21 SCK Data Bytes IO0 4 0 4 0 4 0 4 0 4 IO1 5 1 5 1 5 1 5 1 5 IO2 6 2 6 2 6 2 6 2 6 IO3 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Byte n Data Writes Continuously until CS high. Copyright (c) 2018 Everspin Technologies, Inc. 37 MR10Q010 Revision 5.6, 6/2018 MR10Q010 QPI MODE QPI Mode is designed to reduce command entry overhead in an XIP environment. QPI mode allows the instruction code to be entered on all four I/O's, which reduces the number of clock cycles required for command entry to two from eight. Otherwise, all SPI or Quad SPI commands operate normally. In SPI or Quad SPI mode device operation is determined by which command is entered. To operate in QPI Mode, the device must be specifically placed into QPI Mode by invoking the Enable QPI Command. When in QPI Mode, the Status Register Bit 6 is set to 1 and will reset to 0 when either power is removed from the device or the QPI Mode is exited with an DQPI command. At power up, QPI mode is disabled. Table 10 - SPI Mode Command Structures in QPI Mode Clock Number Name Description 0-11 2-9 10 - 17 18 - 25 26 - 33 34 - n RDSR Read Status Register 05h S7-S0 - - - - WREN Write Enable 06h - - - - - WRDI Write Disable 04h - - - - - WRSR Write Status Register 01h S7-S0 - - - - READ Read Data Bytes 03h A23-A16 A15-A8 A7-A0 FREAD Fast Read Data Bytes 08h A23-A16 A15-A8 A7-A0 WRITE Write Data Bytes 02h A23-A16 A15-A8 A7-A0 SLEEP Enter Sleep Mode B9h - - - - - WAKE Exit Sleep Mode ABh - - - - - TDET Tamper Detect 17h M7 - M0 3 T7 - T0 RDID Read ID 4Bh M7 - M0 3 DQPI Disable QPI FFh - D7-D0 until CS high M7 - M0 2 D7-D0 until CS high D7-D0 until CS high Device ID 40 bits - - - - Notes: 1. Clocks 0 - 1 are the command bits while in QPI mode. 2. M7 - M0 is the Mode Byte to Set/Reset XIP Mode. Set XIP Mode = EFh; Reset XIP Mode = FFh. 3. Mode Byte must be FFh for TDET and RDID. Copyright (c) 2018 Everspin Technologies, Inc. 38 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table 11 - Quad SPI Mode Command Structures in QPI Mode Clock Number Name Description 0-11 2-9 10 - 17 18 - 25 26 - 27 28 - n DQPI Disable QPI FFh - - - - - FRQO Fast Read Quad Output 6Bh A23-A16 A15-A8 A7-A0 M7 - M0 2 FWQD Fast Write Quad Data 32h A23-A16 A15-A8 A7-A0 D7-D0 until CS high D7-D0 until CS high Clock Number Name Description 0-11 2-3 4-5 6-7 8-9 FRQAD Fast Read Quad Address and Data EBh A23-A16 A15-A8 A7-A0 M7 - M0 2 FWQAD Fast Write Quad Address and Data 12h A23-A16 A15-A8 A7-A0 10 - n D7-D0 until CS high D7-D0 until CS high Notes: 1. Clocks 0 - 1 are the command bits while in QPI mode. 2. Mode Byte. Set/Reset XIP operating mode. See "Execute in Place (XIP) Mode" on page 42. Copyright (c) 2018 Everspin Technologies, Inc. 39 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Enable QPI (EQPI) Command The Enable QPI command is used to enter the device into QPI mode. The command code, 38h, is entered on the DI pin. The command is entered by driving CS low and sending the command code. The command is terminated by driving CS high. When in QPI Mode, the Status Register Bit 6 is set to "1" and the device stays in QPI mode until a power-on reset or the Disable QPI command is entered. Figure 21 - Enable QPI Mode (EQPI) Command Operation Clock Number Name Description 0-71 EQPI Enable QPI Mode 38h 8 9-n CS high In QPI Mode Notes: 1. Clocks 0 - 7 are the command byte. CS Mode 3 SCK 0 1 2 3 4 5 6 7 0 0 0 Mode 0 Instruction (38h) SI SO 0 0 1 1 1 High Impedance Copyright (c) 2018 Everspin Technologies, Inc. 40 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Disable QPI (DQPI) Command The Disable QPI command is used to exit QPI mode and return to the standard SPI/Quad SPI mode and set the Status Register Bit 6 to "0". The command code FFh is entered on all four IO's in just two clock cycles as shown below. The command is entered by driving CS low and sending the command code. The command is terminated by driving CS high. Figure 22 - Disable QPI Mode (DQPI) Command Timing Clock Number Name Description 0-11 2 9-n DQPI Disable QPI Mode FFh CS high Now in SPI / Quad SPI Mode Notes: 1. Clocks 0 - 1 are the command byte on all four I/O. CS 0 Mode 3 SCK 1 Mode 0 Instruction (FFh) IO0 1 1 IO1 1 1 IO2 1 1 IO3 1 1 Copyright (c) 2018 Everspin Technologies, Inc. 41 MR10Q010 Revision 5.6, 6/2018 MR10Q010 EXECUTE IN PLACE (XIP) MODE Execute in Place (XIP) mode provides faster read operations by not requiring a command code for each new starting address during consecutive reads. This improves random access time and eliminates the need to shadow code onto RAM for fast execution. The read commands supported in XIP mode are FREAD (SPI Mode), FRQO, and FRQAD (both Quad SPI Mode commands). XIP may be run when in QPI mode. Entering or exiting XIP mode will not affect other aspects of QPI mode operation. The device will stay in QPI mode until QPI is disabled with the DQPI command. XIP mode for these commands is Set or Reset by entering the Mode Byte as shown in "Table 12 - Mode Byte Definitions to Set/Reset XIP Mode" on page 42 below. In XIP Mode it is possible to perform a series of reads beginning at different addresses without having to load the command code for every new starting address / CS cycle. XIP can be entered or exited during these commands at any time and in any sequence. If it is necessary to perform another operation, not supported by XIP, such as a write, then XIP must be exited before the new command code is entered for the desired operation. Table 12 - Mode Byte Definitions to Set/Reset XIP Mode XIP Operation Hex M7 M6 M5 M4 M3 M2 M1 M0 Set/Continue EF 1 1 1 0 1 1 1 1 Reset/Stop (Default) FF 1 1 1 1 1 1 1 1 Copyright (c) 2018 Everspin Technologies, Inc. 42 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table 13 - XIP Mode with FREAD Command Initial Command FREAD Clock Number SPI Mode 0-71 8 - 31 32 - 39 40 - 47 48 - n QPI Mode 0-11 3 - 26 27 - 34 35 - 42 43 - n 0Bh A23-A0 M7 - M0 2 D7 - D0 Read Next Byte 24-bit Address Set XIP Mode 3 Read Data Byte Repeat until CS goes high. Fast Read Data Bytes Notes: 1. Command code eight bits. 2. Mode Byte will Set/Reset the XIP mode. See "Table 12 - Mode Byte Definitions to Set/Reset XIP Mode" on page 42 above for the Set/Reset XIP mode bit definitions. 3. If the XIP mode is not Set on the initial command, the command operates in normal SPI Mode until CS high. And, on the next new address, the FREAD the command must be reentered. If XIP Mode has been Set during this initial command entry, the command still operates normally until CS goes high. But on the next CS low, the device remains in FREAD Command mode. No command is entered and the initial read address is entered on the first clock. See the table below. If XIP Set - Next CS Low Either SPI or QPI Mode FREAD Fast Read Data Bytes If XIP Mode is Set, the Command need not be reentered. Initial 24-bit address entry begins on the first clock. Clock Number 0 - 23 1 24 - 31 32 - 39 40 - n A23-A0 M7 - M0 D7 - D0 Read Next Byte 24-bit Address Set/Reset XIP Mode Read Data Byte Repeat until CS goes high. Notes: 1. In XIP mode, the last command code sent remains in effect. The starting address is entered beginning on the first clock after CS low. 2. If XIP Mode is Reset, the device is out of XIP mode and any command may be entered on the next access. Copyright (c) 2018 Everspin Technologies, Inc. 43 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 23 - FREAD Command- Set XIP Mode - Initial Access CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 28 29 30 31 2 1 0 Mode 0 Instruction (0Bh) SI 0 0 0 0 1 24-Bit Address 0 1 1 23 22 21 3 LSB MSB High Impedance SO CS 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 3 2 1 0 SCK EFh Set XIP Mode SI 0 1 1 1 0 1 1 1 1 1 LSB SO High Impedance Read Data Byte 7 6 5 4 Read Next Byte 3 2 1 0 7 6 5 4 Data Clocked Out Continuously until CS high. Note: 1. Initial FREAD access, XIP mode set for next access. Copyright (c) 2018 Everspin Technologies, Inc. 44 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 24 - FREAD Command - XIP Mode Set - Next Access CS 0 Mode 3 SCK 1 2 20 21 22 23 2 1 0 Mode 0 24-Bit Address SI 23 22 21 3 LSB MSB High Impedance SO CS 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 3 2 1 0 SCK 1 EFh Continue XIP Mode SI 0 1 1 1 0 1 1 1 1 LSB SO High Impedance Read Data Byte 7 6 5 4 Read Next Byte 3 2 1 0 7 6 5 4 Data Clocked Out Continuously until CS high. Note: 1. Continue FREAD in XIP Mode after this access. Copyright (c) 2018 Everspin Technologies, Inc. 45 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 25 - FREAD Command - XIP Mode Exit CS 0 Mode 3 SCK 1 2 20 21 22 23 2 1 0 Mode 0 24-Bit Address SI 23 22 21 3 LSB MSB High Impedance SO CS 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 3 2 1 0 SCK FFh Exit XIP Mode SI 0 1 1 1 1 1 1 1 1 1 LSB SO High Impedance Read Data Byte 7 6 5 4 Read Next Byte 3 2 1 0 7 6 5 4 Data Clocked Out Continuously until CS high. Note: 1. XIP Mode code FFh: Reset XIP Mode. After this access a comnmand must be entered on the next access. Any new command may be entered, including the original command. Copyright (c) 2018 Everspin Technologies, Inc. 46 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table 14 - XIP Operation with FRQO Command Initial Command Clock Number Quad SPI Mode 0-71 8 - 31 32 - 33 34 - 35 36 - n QPI Mode 0-11 2 - 25 26 - 27 28 - 29 30 - n 6Bh A23-A0 M7 - M0 2 D7 - D0 Read Next Byte 24-bit Address Set XIP Mode 3 Read Data Byte Repeat until CS goes high. FRQO Fast Read Quad Output Notes: 1. Command code eight bits. 2. Mode Byte entered Set/Reset the XIP mode. See "Table 12 - Mode Byte Definitions to Set/Reset XIP Mode" on page 42 above for the Set/Reset XIP mode bit definitions. 3. If the XIP mode is not set on the initial command, the command operates in normal SPI Mode until CS high. And, on the next FRQO the command must be reentered. If XIP has been set during this initial command entry, the command still operates normally until CS goes high. But on the next CS low, the device remains in FRQO Command mode, and the initial read address is entered on the first clock. See the table below. If XIP Set - Next CS Low Either Quad SPI or QPI Mode FRQO Set Fast Read Quad Output If XIP Mode is Set, the Command need not be reentered. Initial 24-bit address entry begins on the first clock. 0 - 23 24 - 25 26 - 27 28 - n A23-A0 M7 - M0 D7 - D0 Read Next Byte 24-bit Address Set/Reset XIP Mode Read Data Byte Repeat until CS goes high. Notes: 1. In XIP operating mode, the last command code sent remains in effect and no command entry is required on the next access. Copyright (c) 2018 Everspin Technologies, Inc. 47 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 26 - FRQO Command - Set XIP Mode - Initial Access CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 28 30 31 2 1 0 Mode 0 Instruction (6Bh) IO0 0 1 1 0 1 0 24-Bit Address 1 1 23 22 21 3 LSB MSB High Impedance IO1 IO2 High IO3 High CS 29 (Low) 31 32 33 34 35 36 37 38 39 40 41 SCK 1,2 IO0 EFh Set XIP Mode LSB 0 IO switches from Input to Output 2 0 1 4 0 4 0 4 0 4 0 4 IO1 1 1 5 1 5 1 5 1 5 1 5 IO2 1 1 6 2 6 2 6 2 6 2 6 IO3 1 1 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Data Clocked Out Continuously until CS high. Notes: 1. Initial access, XIP Mode Byte set for next access. 2. The I/O pins should be high impedance prior to the falling edge of the second mode clock. Copyright (c) 2018 Everspin Technologies, Inc. 48 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 27 - FRQO Command - XIP Mode Set - Next Access CS 0 Mode 3 SCK 1 2 20 21 22 23 2 1 0 Mode 0 24-Bit Address IO0 23 22 21 3 LSB MSB High Impedance IO1 IO2 High IO3 High CS (Low) 23 24 25 26 27 28 29 30 31 32 33 SCK IO0 LSB 0 EFh 1,2 Set (Continue) XIP Mode IO switches from Input to Output 2 0 1 4 0 4 0 4 0 4 0 4 IO1 1 1 5 1 5 1 5 1 5 1 5 IO2 1 1 6 2 6 2 6 2 6 2 6 IO3 1 1 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Data Clocked Out Continuously until CS high. Notes: 1. Next access, set to continue XIP Mode. 2. The I/O pins should be high impedance prior to the falling edge of the second mode clock. Copyright (c) 2018 Everspin Technologies, Inc. 49 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 28 - FRQO Command - XIP Mode Exit CS 0 Mode 3 SCK 1 2 20 21 22 23 2 1 0 Mode 0 24-Bit Address IO0 23 22 21 3 LSB MSB High Impedance IO1 IO2 High IO3 High CS (Low) 23 24 25 26 27 28 29 30 31 32 33 SCK 1,2 IO0 LSB 0 FFh Reset XIP Mode IO switches from Input to Output 2 1 1 4 0 4 0 4 0 4 0 4 IO1 1 1 5 1 5 1 5 1 5 1 5 IO2 1 1 6 2 6 2 6 2 6 2 6 IO3 1 1 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Data Clocked Out Continuously until CS high. Notes: 1. XIP Mode Byte FFh. Exit XIP Mode. 2. The I/O pins should be high impedance prior to the falling edge of the second mode clock. 3. After this access a command must be entered on the next access. Any new command may be entered, including the original command. Copyright (c) 2018 Everspin Technologies, Inc. 50 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table 15 - XIP Operation with FRQAD Command Initial Command Clock Number Quad SPI Mode 0-71 8 - 13 14 - 15 16 - 17 18 - n QPI Mode 0-11 2 - 7 8 - 9 10 - 11 12 - n EBh A23-A0 M7 - M0 2 D7 - D0 Read Next Byte 24-bit Address Set XIP Mode 3 Read Data Byte Repeat until CS goes high. FRQAD Fast Read Quad Address and Data Notes: 1. Command code eight bits. 2. Mode Byte entered Set/Reset the XIP mode. See "Table 12 - Mode Byte Definitions to Set/Reset XIP Mode" on page 42 above for the Set/Reset XIP mode bit definitions. 3. If the XIP mode is not set on the initial command, the command operates in normal SPI Mode until CS high. And, on the next FRQAD the command must be reentered. If XIP has been set during this initial command entry, the command still operates normally until CS goes high. But on the next CS low, the device remains in FREAD Command mode, and the initial read address is entered on the first clock. See the table below. If XIP Set - Next CS Low Either Quad SPI or QPI Mode FRQAD Set Fast Read Quad Address and Data If XIP Mode is Set, the Command need not be reentered. Initial 24-bit address entry begins on the first clock. 0-5 6-7 8 -9 10 - n A23-A0 M7 - M0 D7 - D0 Read Next Byte 24-bit Address Set/Reset XIP Mode Read Data Byte Repeat until CS goes high. Notes: 1. In XIP operating mode, the last command code sent remains in effect and no command entry is required on the next access. Copyright (c) 2018 Everspin Technologies, Inc. 51 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 29 - FRQAD Command - Set XIP Mode - Initial Access CS 0 Mode 3 SCK 1 2 3 4 5 6 7 8 9 10 11 12 13 Mode 0 24-Bit Address Instruction (EBh) IO0 1 1 1 0 1 A23 - 16 0 1 1 High Impedance IO1 A15 - 8 A7 - 0 20 16 12 8 4 0 21 17 13 9 5 1 IO2 High 22 18 14 10 6 2 IO3 High 23 19 15 11 7 3 CS (Low) 13 14 15 16 17 18 19 20 21 22 23 SCK EFh 1 Set XIP Mode IO switches from Input to Output 2 IO0 0 0 1 4 0 4 0 4 0 4 0 4 IO1 1 1 1 5 1 5 1 5 1 5 1 5 IO2 2 1 1 6 2 6 2 6 2 6 2 6 IO3 3 1 1 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Data Clocked Out Continuously until CS high. Notes: 1. Initial access, XIP Mode Byte set for next access. 2. The I/O pins should be high impedance prior to the falling edge of the second mode clock. Copyright (c) 2018 Everspin Technologies, Inc. 52 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 30 - FRQAD Command - XIP Mode Set - Next Access CS 0 Mode 3 SCK 1 2 3 4 5 Mode 0 24-Bit Address A23 - 16 A15 - 8 A7 - 0 IO0 20 16 12 8 4 0 IO1 21 17 13 9 5 1 IO2 22 18 14 10 6 2 IO3 23 19 15 11 7 3 6 7 8 9 10 11 CS (Low) 5 12 13 14 15 SCK EFh 1 Set (Continue) XIP Mode IO switches from Input to Output 2 IO0 0 0 1 4 0 4 0 4 0 4 0 4 IO1 1 1 1 5 1 5 1 5 1 5 1 5 IO2 2 1 1 6 2 6 2 6 2 6 2 6 IO3 3 1 1 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Data Clocked Out Continuously until CS high. Notes: 1. Next access, set to continue XIP Mode. 2. The I/O pins should be high impedance prior to the falling edge of the second mode clock. Copyright (c) 2018 Everspin Technologies, Inc. 53 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 31 - FRQAD Command - XIP Mode Exit CS 0 Mode 3 SCK 1 2 3 4 5 Mode 0 24-Bit Address A23 - 16 A15 - 8 A7 - 0 IO0 20 16 12 8 4 0 IO1 21 17 13 9 5 1 IO2 22 18 14 10 6 2 IO3 23 19 15 11 7 3 6 7 8 9 10 11 CS (Low) 5 12 13 14 15 SCK FFh 1 Reset (Exit) XIP Mode IO switches from Input to Output 2 IO0 0 1 1 4 0 4 0 4 0 4 0 4 IO1 1 1 1 5 1 5 1 5 1 5 1 5 IO2 2 1 1 6 2 6 2 6 2 6 2 6 IO3 3 1 1 7 3 7 3 7 3 7 3 7 Byte 1 Byte 2 Byte 3 Byte 4 Data Clocked Out Continuously until CS high. Notes: 1. XIP Mode Byte FFh. Exit XIP Mode. 2. The I/O pins should be high impedance prior to the falling edge of the second mode clock. 3. After this access a command must be entered on the next access. Any new command may be entered, including the original command. Copyright (c) 2018 Everspin Technologies, Inc. 54 MR10Q010 Revision 5.6, 6/2018 MR10Q010 ELECTRICAL SPECIFICATIONS This device contains circuitry to protect the inputs against damage caused by high static voltages or electric fields. However, it is advised that normal precautions be taken to avoid application of any voltage greater than maximum rated voltages to these high-impedance (Hi-Z) circuits. The device also contains protection against external magnetic fields. Precautions should be taken to avoid application of any magnetic field more intense than the maximum field intensity specified in the maximum ratings. Table 16 - Absolute Maximum Ratings Permanent device damage may occur if absolute maximum ratings are exceeded. Functional operation should be restricted to recommended operating conditions. Exposure to excessive voltages or magnetic fields could affect device reliability. Symbol Parameter Conditions Value Unit VDD Supply voltage 1 -0.5 to 4.0 V VDDQ I/O Bus Supply voltage 1 -0.5 to 2.4 V -0.5 to VDDQ + 0.5 V 20 mA -45 to 95 C -55 to 150 C 260 C VIN Voltage on any pin 1 IOUT Output current per pin TBIAS Temperature under bias Tstg Storage Temperature TLead Commercial Grade Lead temperature during solder (3 minute max) Hmax_write Maximum magnetic field during write Write 12,000 A/m Hmax_read Maximum magnetic field during read or standby Read or Standby 12,000 A/m Notes: 1. All voltages are referenced to VSS. The DC value of VIN must not exceed actual applied VDD by more than 0.5V. The AC value of VIN must not exceed applied VDD by more than 2V for 10ns with IIN limited to less than 20mA. Copyright (c) 2018 Everspin Technologies, Inc. 55 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table 17 - Operating Conditions Symbol Parameter Conditions Min Typical Max Unit VDD Power supply voltage 3.0 3.3 3.6 V VDDQ I/O Bus Power supply voltage 1.7 1.8 2.0 V VIH Input high voltage 1.4 VDDQ + 0.2 V VIL Input low voltage -0.2 0.4 V 0 70 C Industrial Grade -40 85 C Extended Grade -40 105 C Commercial Grade Ambient temperature under bias TA Table 18 - DC Characteristics Symbol Parameter Conditions Min Max Unit IIL Input leakage current - 2 A IOL Output leakage current - 2 A VOL Output low voltage IOL = 4mA - 0.4 V VOH Output high voltage IOH = -100A 1.4 - V Copyright (c) 2018 Everspin Technologies, Inc. 56 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Table 19 - Power Supply Characteristics Symbol IDDR IDDW Parameter Active Read Current Active Write Current Conditions Typical Max Unit SPI @ 1 MHz 5.0 11 mA SPI @ 40 MHz 12 17 mA Quad SPI @ 104MHz - 60 mA @ 1 MHz 9.0 25 mA @ 40 MHz 28 42 mA Quad SPI @ 104MHz - 100 mA Note 1 - 3 mA IDDQ Active VDDQ Current ISB1 AC Standby Current (CS High = VIH. No other restrictions on other inputs.) f 104MHz - 8 mA ISB1Q AC Standby Current on VDDQ supply (CS High = VIH. No other restrictions on other inputs.) f 104MHz - 1 mA ISB2 CMOS Standby Current (CS High) f = 0 MHz - 3 mA ISB2Q CMOS Standby Current on VDDQ Supply (CS High) f = 0 MHz - 10 A Sleep Mode - 100 A IZZ Standby Sleep Mode Current (CS High) Note 1. IDDQ Conditions: Quad SPI at 104MHz, VDDQ = 2.0v, VIH = 1.8v, VIL = 0v. Table 20 - Capacitance Symbol Parameter Typical Max Unit CIn Control input capacitance 1 - 6 pF CI/O Input/Output capacitance 1 - 8 pF Notes: 1. = 1.0 MHz, dV = 3.0 V, TA = 25 C, periodically sampled rather than 100% tested. Copyright (c) 2018 Everspin Technologies, Inc. 57 MR10Q010 Revision 5.6, 6/2018 MR10Q010 TIMING SPECIFICATIONS AC Measurement Conditions Table 21 - AC Measurement Conditions Parameter Value Unit Logic input timing measurement reference level 0.9 V Logic output timing measurement reference level 0.9 V 0 to 1.6 V 2 ns Logic input pulse levels Input rise/fall time Output load for low and high impedance parameters See Figure 32 Output load for all other timing parameters See Figure 33 Figure 32 - Output Load for Impedance Parameter Measurements Output RL = 50 VL = VDCQ /2 Figure 33 - Output Load for all Other Parameter Measurements 1.8V R1 Output R2 Copyright (c) 2018 Everspin Technologies, Inc. 30 pF 58 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Power Up Timing To provide protection for data during initial power up, power loss or brownout, whenever VDD falls below VWIDD or VDDQ falls below VWIDDQ the device cannot be selected (CS is restricted from going low) and the device is inhibited from Read or Write operations. See "Table 22 - Power-Up Delay Minimum Voltages and Timing" below. Power Up Delay Time During initial power up or when recovering from brownout or power loss, a power up delay time (tPU) must be added to the time required for voltages to rise to their specified minimum voltages (VDD(min) and VDDQ(min)) before normal operations may commence. This time is required to insure that the device internal voltages have stabilized. See "Table 22 - Power-Up Delay Minimum Voltages and Timing" below. tPU is measured from the time that both V DD and VDDQ have reached their specified minimum voltages. See "Figure 34 - Power-Up Timing" for an illustration of the timing. During initial startup or power loss recovery the CS pin should always track VDDQ (up to VDDQ + 0.2 V) or VIH, whichever is lower, and remain high for the total startup time, tPU. In most systems, this means that CS should be pulled up to VDDQ with a resistor. Any logic that drives other inputs or IOs should hold the signals at VDDQ until normal operation can commence. Table 22 - Power-Up Delay Minimum Voltages and Timing Symbol Parameter Min Unit VWIDD Write Inhibit Voltage 2.2 V VWIDDQ I/O Write Inhibit Voltage 1.2 V tPU Power Up Delay Time 400 s Copyright (c) 2018 Everspin Technologies, Inc. 59 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 34 - Power-Up Timing INITIAL POWER ON BROWNOUT or POWER LOSS t PU VDD min PU RECOVER TIME STARTUP TIME NORMAL OPERATION READ/WRITE operations inhibited t NORMAL OPERATION READ/WRITE operations inhibited VDD VWIDD VDDQ min VWIQQ VDDQ Note: CS may not be enabled until tPU startup or recovery time is met. Copyright (c) 2018 Everspin Technologies, Inc. 60 MR10Q010 Revision 5.6, 6/2018 MR10Q010 AC Timing Parameters Table 23 - AC Timing Parameters Symbol Parameter Min Typical Max Unit SCK Clock Frequency for all instructions except READ - - 104 MHz SCK Clock freq for READ - - 40 MHz tRI Input Rise Time - - 50 ns tRF Input Fall Time - - 50 ns tWH SCK High Time except READ 4 - - ns SCK High Time READ 11 - - ns SCK Low Time except READ 4 - - ns SCK Low Time READ 12 - - ns fSCK tWHR tWL tWLR Synchronous Data Timing see Figures 35, 36, 37, 38 tCSS CS Setup Time 5 - - ns tCSH CS Hold Time 5 - - ns tSU Data In Setup Time 2 - - ns tH Data In Hold Time 5 - - ns tV Output Valid - - 7 ns tHO Output Hold Time 1.5 - - ns tCS CS High Time at end of all Cycles except Writes 10 - - ns CS High Time at end of Write Cycles 50 - - ns tCSW Copyright (c) 2018 Everspin Technologies, Inc. 61 MR10Q010 Revision 5.6, 6/2018 MR10Q010 AC Timing Parameters - Continued Symbol Parameter Min Typical Max Unit HOLD Timing see Figure 39 tHD HOLD Setup Time 2 - - ns tCD HOLD Hold Time 2 - - ns tLZ HOLD to Output Low Impedance - - 12 ns tHZ HOLD to Output High Impedance - - 7 ns Other Timing Specifications tWPS WP Setup To CS Low 5 - - ns tWPH WP Hold From CS High 5 - - ns tDP Sleep Mode Entry Time - - 3 s tRDP Sleep Mode Exit Time - - 400 s tDIS Output Disable Time - - 7 ns Copyright (c) 2018 Everspin Technologies, Inc. 62 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 35 - Synchronous Data Timing (READ) Figure 36 - Synchronous Data Timing Fast Read (FREAD) Copyright (c) 2018 Everspin Technologies, Inc. 63 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 37 - Synchronous Data Timing (WRITE) t CSW CS t t CSS CSH SCK t t SU t t WH WL H SI Figure 38 - Synchronous Data Timing Fast Write Quad Data and Fast Write Quad Address and Data (FWQD and FWQAD) t CSW CS t t CSS SCK t t SU t t WH CSH WL H I/O Copyright (c) 2018 Everspin Technologies, Inc. 64 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 39 - HOLD Timing CS t t CD CD SCK t HD t HD HOLD t t LZ HZ SO Copyright (c) 2018 Everspin Technologies, Inc. 65 MR10Q010 Revision 5.6, 6/2018 MR10Q010 PART NUMBERS AND ORDERING Table 24 - Part Numbering System Example Ordering Part Number MRAM (Toggle) MR 104MHz Quad SPI Family 10Q 1 Mb 010 4 Mb 040 16Mb 160 No Revision Blank Revision A A Revision B B Commercial 0 to 70C Blank Industrial -40 to 85C C Extended -40 to 105C V 16-pin SOIC SC 24-ball BGA MB Tray Blank Tape and Reel R Customer Samples CS Mass Production Blank Memory MR Interface 10Q Density 010 Revision Temp C Package SC Ship R Grade Table 25 - Ordering Part Numbers Temp Grade Temperature Package 16-SOIC Commercial 0 to 70C 24-BGA 16-SOIC Industrial -40 to 85C 24-BGA 16-SOIC Extended -40 to 105C 24-BGA Copyright (c) 2018 Everspin Technologies, Inc. Shipping Container Order Part Number Trays MR10Q010SC Tape and Reel MR10Q010SCR Trays MR10Q010MB Tape and Reel MR10Q010MBR Trays MR10Q010CSC Tape and Reel MR10Q010CSCR Trays MR10Q010CMB Tape and Reel MR10Q010CMBR Trays MR10Q010VSC Tape and Reel MR10Q010VSCR Trays MR10Q010VMB Tape and Reel MR10Q010VMBR 66 MR10Q010 Revision 5.6, 6/2018 MR10Q010 PACKAGE CHARACTERISTICS Table 26 - Thermal Resistance 16-pin SOIC All thermal resistance values are estimated by simulation. Velocity TA 1 PD 2 TJ Max 3 m/s C W C JA4 JC 6 C/W 0 71.0 58.1 1 64.5 49.9 2 62.8 47.7 3 61.8 46.4 25 JB 5 0.792 30.6 31.6 Notes: 1. TA - Ambient temperature. 2. PD - Power dissipation at maximum VDD and IDDW. 3. TJ Max - Maximum junction temperature reached at maximum power dissipation. 4. JA - Junction to ambient. 5. JB - Junction to board. 6. JC - Junction to package case. Copyright (c) 2018 Everspin Technologies, Inc. 67 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 40 - 16-SOIC Package Outline b E e E1 D C A2 A L A1 LD L1 Dimensions next page. Copyright (c) 2018 Everspin Technologies, Inc. 68 MR10Q010 Revision 5.6, 6/2018 MR10Q010 16-SOIC Package Outline - Dimensions Symbol JEDEC MS - 013 (AA) Everspin POD 16L SOIC PKG OUTLINE issue (mm) DWG. 300 MIL (mm) Ref MIN NOM MAX MIN NOM MAX A - - 2.65 2.46 2.56 2.64 A1 0.10 - 0.30 0.127 0.22 0.29 A2 2.05 - - 2.29 2.34 2.39 b 0.31 - 0.51 0.35 0.41 0.51 c 0.20 - 0.33 0.23 0.25 0.32 D 10.30 BSC 10.21 10.34 10.46 E 10.30 BSC 10.16 10.31 10.63 E1 7.50 BSC 7.44 7.52 7.59 0.61 0.81 1.02 L 0.40 - 1.27 L1 1.40 REF N/A e 1.27 BSC 1.27 BSC 0 - Copyright (c) 2018 Everspin Technologies, Inc. 8 0 69 5 8 MR10Q010 Revision 5.6, 6/2018 MR10Q010 Figure 41 - 24 Ball BGA Package Outline Copyright (c) 2018 Everspin Technologies, Inc. 70 MR10Q010 Revision 5.6, 6/2018 MR10Q010 REVISION HISTORY Revision Date Description of Change 1.7 February 26, 2013 1.8 March 7, 2013 Revision to Table 5. Revision to HOLD timing Table 15. Corrected package illustration. 1.9 May 14, 2013 Added QPI Commands. 2.0 October 24, 2013 Removed QPI Commands, TDET and reference to XIP. These features will be released in a future product revision. 3.0 April 17, 2014 Major revision. Complete restructure of command section. Added QPI Mode, TDET, TDETX commands and XIP operating mode commands, instructions and timing diagrams. Removed Preliminary watermark from all pages. Removed Max and Typical values for VWIDD and VWIDDQ. 4.0 December 17, 2014 FRQAD. Revisions to Note 3 for Command Timing Diagrams for FRQO and FRQAD. Added 4.1 March 20, 2015 Revised Table 23: tCS updated. tV (min) now unspecified. tHO (min) revised to 1.5ns. 4.2 May 19, 2015 Revised Everspin contact information. 4.3 June 11, 2015 Corrected Japan Sales Office telephone number. 5.0 August 12, 2015 5.1 January 26, 2017 5.2 February 1, 2017 Initial Release Preliminary. Added ISB1Q, ISB2, ISB2Q, IDDQ values. Revisions to Command Descriptions for FRQO and package thermal resistance table. IDD values in Table 8 have been updated. Added 6x8mm 24-ball BGA package outline and dimensions. Table 23: Revised tWHR = 11ns; tWLR = 12ns. 16-SOIC package options released to MP. 24-BGA now qualified. Figures 35 and 36 - Synchronous Data Timing. Added timing detail for tV and tHO. 5.3 December 4, 2017 Figure 40 updated with new dimensions 5.4 January 26, 2018 5.5 March 15, 2018 5.6 June 1, 2018 Added extended temperature range to the data sheet. Added extended range to Table 17 Updated table 24 Copyright (c) 2018 Everspin Technologies, Inc. 71 MR10Q010 Revision 5.6, 6/2018 MR10Q010 HOW TO REACH US Contact Information: How to Reach Us: Home Page: www.everspin.com World Wide Information Request WW Headquarters - Chandler, AZ 5670 W. Chandler Blvd., Suite 100 Chandler, Arizona 85226 Tel: +1-877-480-MRAM (6726) Local Tel: +1-480-347-1111 Fax: +1-480-347-1175 support@everspin.com orders@everspin.com sales@everspin.com Europe, Middle East and Africa Everspin Europe Support support.europe@everspin.com Japan Everspin Japan Support support.japan@everspin.com Asia Pacific Everspin Asia Support Information in this document is provided solely to enable system and software implementers to use Everspin Technologies products. There are no express or implied licenses granted hereunder to design or fabricate any integrated circuit or circuits based on the information in this document. Everspin Technologies reserves the right to make changes without further notice to any products herein. Everspin makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Everspin Technologies assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters, which may be provided in Everspin Technologies data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters including "Typicals" must be validated for each customer application by customer's technical experts. Everspin Technologies does not convey any license under its patent rights nor the rights of others. Everspin Technologies products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Everspin Technologies product could create a situation where personal injury or death may occur. Should Buyer purchase or use Everspin Technologies products for any such unintended or unauthorized application, Buyer shall indemnify and hold Everspin Technologies and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Everspin Technologies was negligent regarding the design or manufacture of the part. EverspinTM and the Everspin logo are trademarks of Everspin Technologies, Inc. All other product or service names are the property of their respective owners. Copyright (c) 2018 Everspin Technologies, Inc. support.asia@everspin.com Copyright (c) 2018 Everspin Technologies, Inc. 72 MR10Q010 Revision 5.6, 6/2018