![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
PRODUCT SPECIFICATIONS (R) Integrated Circuits Group LRS1302 8M Flash and 1M SRAM (Model No.: LRS13023) Stacked Chip Spec No.: EL116039 Issue Date: June 11, 1999 SHARP LRS13023 l Handle this document carefully for it contains material protected by international copyright law. Any reproduction, full or in part, of this material is prohibited without the express written permission of the company. When using the products covered herein, please observe the conditions written herein and the precautions outlined in the following paragraphs. In no event shall the company be liable for any damages resulting from failure to strictly adhere to these conditions and precautions. l (1) The products covered herein are designed and manufactured for the following application areas. When using the products covered herein for the equipment listed in Paragraph (2). even for the following application areas, be sure to observe the precautions given in Paragraph (2). Never use the products for the equipment listed in Paragraph (3). - Office electronics * Instrumentation and measuring equipment - Machine tools - Audiovisual equipment - Home appliances * Communication equipment other than for trunk lines (2) Those contemplating using the products covered herein for the following equipment which demands high reliability, should first contact a sales representative of the company and then accept responsibility for incorporating into the design fail-sale operation, redundancy, and other appropriate measures for ensuring reliability and safety of the equipment and the overall system. * Control and safety devices for airplanes, trains, automobiles, and other transportation equipment * Mainframe computers - Traffic control systems * Gas leak detectors and automatic cutoff devices - Rescue and security equipment * Other safety devices and safety equipment,etc. (3) Do not use the products covered herein for the following equipment which demands extremely high performance in terms of functionality, reliability, or accuracy. - Aerospace equipment - Communications equipment for trunk lines - Control equipment for the nuclear power industry - Medical equipment related to life support, etc. (4) Please direct all queries and comments regarding the interpretation of the above three Paragraphs to a sales representative of the company. l Please direct all queries regarding the products covered herein to a sales representative of the company. - SHARP LRS13023 2 Part 1 Overview l.Description The LRS1302 is a combination memory organized as 1448,576 X 8 bit static RAM in one package. memory and 131,072X8 It is fabricated using silicon-gate CMOS process technology. Features OAccess Time Flashmemoryaccesstime SRAM access time OOpemtingcurrent Flash memory Read Byte write Block erase SRAM ostandbycurrent bit flash -*** .... .... .... .... --** 130 nsMax. 70 nsMax. 12 mAMax. 57 r&Max. 37 mAMax. 25 mA Max. , (t&ti2OOns) operatin% hcxJz.=2=) Flash memory .... 20 @ Max. (F-EZF-Vc,0.2V, EbO.2V, F-V&O.2V) (S-EZS-Vc,0.2V) (T,=25"c, S-V,-3V, S-CErs-Vcc-0.2V) Sk4M .... .... 30 pA Max. 0.7 @ Typ. (Total standby curnat is the summation of Flash memory's standby current and SRAM's one.) .... 2.7V to 3.6V @ead/SRAM write) OPower supply 2.7~ to 3.6~ @LASH erase/write)(T,=O to 85c OSRAM data retention voltage .... OOperating temperature OFully static operation oThree-state output 2.0 V Min. 40C to +85"c ONot designed or rated as radiation hardened 040 pin TSOP ( TSOP~O-p-0819 plastic package OFlash memory has P-type bulk silicon, and SRAh4 has N-type bulk silicon. The contents described in Part 1 take first priority over Part 2 and Part 3. - SHARP LRS13023 Part 1 Overview l.Description The LRS1302 is a combination memory organized as 1,048,576X 8 memory and bit static RAM in one package. 131,072X8 It is fabricated using silicon-gate CMOS process technology. bit flash 2 OAccess Time Flashmemoryaccesstime SRAM access time OOpemtingcment Flash memory Read Byte write Block erase Operating -*** .... .... .... .... --** 130 nsMax. 70 nsMax. 12 57 37 25 mAMax. mAMax. mAMax. mAMax. , (t&ti2Oons> SRAM ostandbycurrent hcxJ&oons) Flash memory .... 20 pA Max. (F-EZF-Vc,0.2V, EbO.2V, F-V&O.2V) (S-=ZS-Vc,0.2V) (T,=25"c, S-V,-3V, s-CEZS-vcc-0.2v) Sk4M .... .... 30 @ Max. 0.7 @ Typ. (Total standby current is the summation of Flash memory's standby current and SRAM's one.) .... 2.7V to 3.6V @ead/SPAM write) 3Power supply 2.7~ to 3.6~ (FLASH erase/write>Cr,=O to 85c 3SRAM data retention voltage .... 3Operating temperature IFully static operation 3Three-state output JNot designed or rated as radiation hardened 2.0 V Min. 40C to +85"c 240 Pin TSOP ( TSOP~O-p-0819 plastic package IFlash memory has P-type bulk silicon, and SRAM has N-type bulk silicon. The contents described in Part 1 take first priority over Part 2 and Part 3. m . SHARI= LRS13023 4 3. Notes This product is a stacked TSOP package that a 1,048,576X 8 bit Flash Memory and a 13 1,072 X 8 bit SRAM are assembled into. POWER SUPPLY AND CHIP ENABLE OF FLASH MEMORY AND SRAM It is forbidden that both F-E and S-E should be LOW simultaneously. If the two memories are active together, possibly they may not operate normally by interference noises or data collision on I/O bus. Both F-V, and S-V, are needed to be applied by the recommended supply voltage at the same time except SRAM data retention mode. SUPPLY POWER Maximum difference (between F-V, and S-V, ) of the voltage is less than -0.3V. SRAM DATA RETENTION SRAM data retention is capable in three ways as below. SRAM power switching between a system battery and a backup battery needs careful device decoupling from Flash Memory to prevent SRAM supply voltage from failing lower han 2.OV by a Flash Memory peak current causedby transition of Flash Memory supply voltage or of control si{nals (F-B, F-?% andRP). CASE I: FLASH MEMORY IS IN STANDBY MODE. (F-Vcc=2.7V to 3.6V) * SRAM inputs and input/outputs except S-mare neededto be appliedwith voltages in the range of -0.3V to S-Vcc+O.3V or to be open(High-Z). * Flash Memory inputs and input/outputs except F-eand Gare neededto be applied with voltages in the range of -0.3V to S-V,,+O.3V or to be open(High-Z). CASE 2: FLASH MEMORY IS IN DEEP POWER DOWN MODE. (F-Vcc=2.7V to 3.6V) * SRAM inputs and input/outputs except S-mare neededto be appliedwilh voltages in the range of -0.3V to S-V,c+O.3V or to be open. * Flash Memory inputs and input/outputs except mare neededto be applied with voltages in the range of -0.3V to S-Vc,+O.3V or to be open(High-Z). RP is neededto be at the samelevel as F-V,, or to be open. CASE 3: FLASH MEMORY POWER SUPPLY IS TURNED OFF. (F-VcpOV) * FixLOW level before turning off Flash memory power supply. * SRAM inputs and input/outputs except S-mare neededto be appliedwith voltages in the range of -0.3V to S-V,c+O.3V or to be open(High-Z). - FlashMemory inputs and input/outputs except mare neededto be at GND or to be open(High-Z). POWER UP SEQUENCE When turning on Flash memory power supply, keepi@ LOW. After F-V,, reaches over 2.7V, keep RP LOW for more than 1OOnsec. DEVICE DECOUPLING The power supply is neededto be designedcarefully because of the SRAM and the Flash Memory is one in standby mode when the other is active. A careful decoupling of power suppliesis necessarybetween SRAM and Flash Memory. Note peak current causedby transition of control signals. The contents describedin Part 1 take first priority over Part 2 andPart 3. SHARP LRS13023 5 4.Truth table(* 1.3) F-a F-m F-m RP S-a S-m S-m Address Mode Flash read Flash read Flash write SRAM read sR4M read SRAM write Standby I/O, toI/O, output High-Z Input output High-Z Input High-Z Current EC I,, kc Ice I,, I cc Iss Isa *4 Note *2,7 *4 *5,6,7 LLHHHXXX LHHHHXXX LHLHHXXX HXXXLLHX HXXXLHHX HXXXLXLX HXXHHXXX HXXLHXXX Notes: * 1. Do not make F-C? and S-C8 "LOW" * 2. Reffcr to DC Character&tics. for V,,,k and V,,.,, voltages. * 4. i@ at GND f0.2V F-V,,=V,, V,,, level at the samc,limc. memory contents can be read, but not altered. When F-V&V,,.,.,, * 3. X can be V,,, or V,,, for control pins and addresses, and V,,nx or VI,,,,, for F-V,,,,. See DC Characteristics current. * 5. Command writes involving block erase, write, or lock-bit configuration are reliably executed when and F-V,@,. Block erase, byte write, or lock-bit conliguration with Vcc<3.0V or V,,,, produce spurious results and should not be attempted. a timing that both F-mand F-WE is "LOW" level. * 6. Reffer to Part 2 Section 3 Table 4 for valid DIN during a write operation. use in F-n F-GE F-m RP F-A,, to F-A,, i / j ; ! F-V, F-V,, ____________________----------.-----------------------------------------9 w v 3 > > > > 1,048,576 X 8 bit Flash memory &to&, ; I 4 0 I ee ; > S-TE S-FE / > > 131,072X8 bit SR4M s-m ; > The contents described in Part 1 take first priority over Part 2 and Part 3. SHARP LRS13023 6 6.Absolute Maximum Ratings Notes) * 8.The maximum applicable voltage on any pin with respect to GND. * 9. Except Vrp, * 10. Except @. * 11. -2.OV undershoot is allowed when the pulse width is less than 20nsec. * 12. +14.OV overshoot is allowed when the pulse width is less than 2Onscc. 7.Recommended DC Operating Conditions CT,= -40C to +85"c Parameter Supply voltage Input voltage Symbol vc-2 V", VU. v,,,,(* 14) Min. 2.7 2.2 -0.3 (*13: 11.4 TYP. 3.0 Max. 3.6 V,,+O.3 (*15) 0.4 12.6 ) Unit V V V Notes) * 13. -2.OV undershoot is allowed when the pulse width is less than 2Onsec. * 14. This voltage is applicable toi@ Pin only. * 15. V, is the lower one of S-V, and F-V,,. 8.Pin Capacitance (T,=25"c, Parameter Input capacitance I/O capacitance Symbol Gi CIA3 Condition v,=ov v,=ov Min. TYP. f=lMHz) Max. 18 22 Unit PF PF *16 *16 Note) * 16. Sampled but not 100% tested The contents described in Part 1 take first priority over Part 2 and Part 3. SHARP LRS13023 8 Part2 Flash memory CONTENTS PAGE ........................................................... .. INTRODUCTION 1.1 New Features.. ........................................................... 1.2 Product Overview ...................................................... ................................... !. PRINCIPLES OF OPERATION 2.1 Data Protection ......................................................... I.BUS OPERATION.. ........................................... . ............ ........................................................................... 3.1 Read 3.2 Output Disable ........................................ ;............... 3.3 Standby ...................................................................... 9 -9 9 12 12 13 13 4.10 Clear Block Lock-Bits Command.. PAGE ....................... 20 28 28 28 28 29 29 29 5. DESIGN CONSIDERATIONS .................................... 5.1 Three-Line Output Control .................................... 5.2 Power Supply Decoupling.. .................................... 5.3 V,, Trace on Printed Circuit Boards.. ................... 5.4 V,,, V,,, i?is Transitions.. ...................................... 5.5 Power-Up/Down Protection.. ................................ 5.6 Power Dissipation.. .................................................. 6.ELECTRICAL 13 13 13 3.4 Deep Power-Down ................................................... 3.5 Read Identifier Codes Operation ........................... 14 14 3.6 Write ........................................................................... ....................................... 14 I. COMMAND DEFINITIONS 4.1 Read Array Command ............................................ 17 4.2 Read Identifier Codes Command ......................... .17 4.3 Read Status Register Command.. .......................... .17 4.4 Clear Status Register Command ........................... .17 4.5 Block Erase Command ............................................ 17 18 4.6 Byte Write Command .............................................. 4.7 Block Erase Suspend Command ........................... .18 4.8 Byte Write Suspend Command.. ........................... .19 4.9 Set Block and Master Lock-Bit Commands ......... -19 SPECIFICATIONS ............................... 30 Ratings.. ................................. 30 6 1 Absolute Maximum 6.2 Operating Conditions.. ............................................ 30 6.2.1 AC Input/Output Test Conditions.. ................ 31 6.2.2 DC Characteristics ............................................. 32 6.2.3 AC Characteristics - Read-Only Operations ... 34 6.2.4 AC Characteristics - Write Operations.. ......... .36 6.2.5 Alternative a-Controlled Writes ................... 38 6.2.6 Reset Operations ................................................ 40 6.2.7 Block Erase, Byte Write and Lock-Bit Configuration Performance.. ........................... 41 SHARP LRS13023 8 Part2 Flash memory CONTENTS PAGE ........................................................... .. INTRODUCTION 1.1 New Features.. ........................................................... 1.2 Product Overview ...................................................... ................................... !. PRINCIPLES OF OPERATION ......................................................... 2.1 Data Protection I.BUS OPERATION.. ........................................... . ............ 3.1 Read ........................................................................... 3.2 Output Disable ........................................ ;............... 3.3 Standby ...................................................................... 9 -9 9 12 12 13 13 4.10 Clear Block Lock-Bits Command.. PAGE ....................... 20 28 28 28 28 29 29 29 5. DESIGN CONSIDERATIONS .................................... 5.1 Three-Line Output Control .................................... 5.2 Power Supply Decoupling.. .................................... 5.3 V,, Trace on Printed Circuit Boards.. ................... 5.4 V,,, V,,, i?is Transitions.. ...................................... Protection.. ................................ 5.5 Power-Up/Down 5.6 Power Dissipation.. .................................................. 6.ELECTRICAL 13 13 13 3.4 Deep Power-Down ................................................... 3.5 Read Identifier Codes Operation ........................... 14 14 3.6 Write ........................................................................... 14 17 .17 .17 .17 17 18 .18 .19 ....................................... I. COMMAND DEFINITIONS 4.1 Read Array Command ............................................ 4.2 Read Identifier Codes Command ......................... 4.3 Read Status Register Command.. .......................... 4.4 Clear Status Register Command ........................... 4.5 Block Erase Command ............................................ 4.6 Byte Write Command .............................................. 4.7 Block Erase Suspend Command ........................... 4.8 Byte Write Suspend Command.. ........................... 4.9 Set Block and Master Lock-Bit Commands SPECIFICATIONS ............................... 30 Ratings.. ................................. 30 6 1 Absolute Maximum 30 6.2 Operating Conditions.. ............................................ Test Conditions.. ................ 31 6.2.1 AC Input/Output 6.2.2 DC Characteristics ............................................. 32 6.2.3 AC Characteristics - Read-Only Operations ... 34 6.2.4 AC Characteristics - Write Operations.. ......... .36 6.2.5 Alternative a-Controlled Writes ................... 38 6.2.6 Reset Operations ................................................ 40 6.2.7 Block Erase, Byte Write and Lock-Bit Configuration Performance.. ........................... 41 ......... -19 SHARP LRS13023 9 INTRODUCTION his datasheet contains LRS1302 specifications. iection 1 provides a flash memory overview. Sections !, 3,4, and 5 describe the memory organization and unctiordity. Section 6 covers electrical specifications. SmartVoltage technology provides a choice of Vcc and VP, combinations, as shown in Table 1, to meet system performance and power expectations. V, at 2.7V to 3.6V eliminates the need for a separate 12V converter. In addition to flexible erase and program voltages, the dedicated VPP pm gives complete data protection when VP, I VP,,. and VP, Voltage Combinations Offered by SmartVoltage Technology ;_. Vcc Voltage VPP Voltage 2,7V to 3.6V(`l) 2.7V to 3.6V I NOTE' ' `1. FLASH Erase/Write(T*=O"C to 85C) Internal Vcc and automatically configures and write operations. detection Circuitry VW the device for optimized read Table 1. V,, ..l New Features The LRS1302 SmartVoltage Flash memory maintains )ackwards-compatibility with SHARP's 28F008SA. Cey enhancements over the 28F008SA include: SmartVoltage Jn-System Technology Block Locking *Enhanced Suspend Capabilities 30th devices share a compatible, status register, and oftware command set. These similarities enable a clean upgrade from the 28FOO8SA to LRS1302. When upgrading, it is important to note the following iifferences: -Because of new feature support, the two devices have different device codes. This allows for software optimization. .VPpLK has been lowered from 6SV to 1.5V to support 2.7V-3.6V block erase, byte write, and lock-bit configuration operations. Designs that switch VPP off during read operations should make sure that the VP, voltage transitions to GND. *To take advantage of SmartVoltage allow VP, connection to 2.7V-3.6V. I.2 Product Overview The LRS1302 is a high-performance &Mbit ;martVoltage Flash memory organized as 1 Mbyte of 8 >its. The 1 Mbyte of data is arranged in sixteen &Kbyte blocks which are individually erasable, o&able, and unlockable in-system. The memory map s shown in Figure 2. technology, A Command User Interface (CUT) serves as the interface between the system processor and internal operation of the device. A valid command sequence written to the CUT initiates device automation. An internal Write State Machine (WSM) automatically executes the algorithms and timings necessary for block erase, byte write, and lock-bit configuration operations. A block erase operation erases one of the device's 64Kbyte blocks typically within 1.8 second independent of other blocks. Each block can be independently erased 100,000 times (1.6 million block erases per device). Block erase suspend mode allows system software to suspend block erase to read or write data from any other block. Writing memory data is performed in byte increments typically within 17 us. Byte write suspend mode enables the system to read data or execute code from any other flash memory array location. 1 SHARP LRS13023 10 ~Individual block locking uses a combination of bits, `sixteen block lock-bits and a master lock-bit, to lock land unlock blocks. Block lock-bits gate block erase and `byte write operations, while the master lock-bit gates ~block lock-bit modification. Lock-bit configuration loperations (Set Block Lock-Bit, Set Master Lock-Bit, and Clear Block Lock-Bits commands) set and cleared lock-bits. The status register indicates when the WSM's block erase, byte write, or lock-bit configuration operation is finished. The access time is 130 ns (tAvQv) over the commercial temperature range (-40C to +BS'C) and V,, supply voltage range of 2.7V-3.6V. The Automatic Power Savings (AI%) feature substantially reduces active current when the device is in static mode (addresses not switching). When a and RF pins are at V,,, the I,, CMOS standby mode is enabled. When the RP pin is at GND, deep power-down mode is enabled which minimizes power consumption and provides write protection during reset. A reset time (tPHqv) is required from RP switching high until outputs are valid. Likewise, the device has a wake time (tpHEL) from m-high until writes to the CUI are recognized. With RP at GND, the WSM is reset and the status register is cleared. 4x: occcdc.r . . 16 64KByle BlOCb Figure 1. Block Diagram SHARP LRS13023 11 Table 2. Pin Descriptions Name and Function ADDRESS INPUTS: Inputs for addresses during read and write operations. Addresses are internally latched during a write cycle. DATA INPUT/OUTPUTS: Inputs data and commands during CUI write cycles; outputs INPUT/ data during memory array, status register, and identifier code read cycles. Data pins OUTPUT float to high-impedance when the chip is deselected or outputs are disabled. Data is internally latched during a write cycle. CHIP ENABLE: Activates the device's control logic, input buffers, decoders, and sense INPUT amplifiers. a-high deselects the device and reduces power consumption to standby levels. INPUT RESET/DEEP POWER-DOWN: Puts the device in deep power-down mode and resets internal automation. m-high enables normal operation. When driven low, p inhibits write operations which provides data protection during power transitions. Exit from deep power-down sets the device to read array mode. Ris at V,, enables setting of the master lock-bit and enables configuration of block lock-bits when the master lock-bit is set. RP=V,,, overrides block lock-bits thereby enabling block erase and byte write operations to locked memory blocks. Block erase, byte write, or lock-bit configuration with V,, f40-419 I/O&O~ CE Rp OE _. _WE bP Vcc GND rote: V,-, SHARI= 2 PRINCIPLES OF OPERATION LRS13023 12 The LRS1302 SmartVoltage Flash memory includes an on-chip WSM to manage block erase, byte write, and lock-bit configuration functions. It allows for: 100% TTL-level control inputs, fixed power supplies during block erasure, byte write, and lock-bit configuration, and minimal processor overhead with RAM-Like interface timings. After initial device power-up or return from deep power-down mode (see Bus Operations), the device defaults to read array mode. Manipulation of external memory control pins allow array read, standby, and output disable operations. Status register and identifier codes can be accessed through the CUI independent of the VP, voltage. High voltage on V,, enables successful block erasure, byte writing, and lock-bit configuration. All functions associated with altering memory contents-block erase, byte write, Lock-bit configuration, status, and identifier codes-are accessed via the CUI and verified through the status register. Commands are written using standard microprocessor write timings. The CUI contents serve as input to the WSM, which controls the block erase, byte write, and lock-bit configuration. The internal algorithms are regulated by the WSM, including pulse repetition, internal verification, and margining of data. Addresses and data are internally latch during write cycles. Writing the appropriate command outputs array data, accesses the identifier codes, or outputs status register data. Interface software that initiates and polls progress of block erase, byte write, and lock-bit configuration can be stored in any block. This code is copied to and executed from system RAM during flash memory updates. After successful completion, reads are again possible via the Read Array command. Block erase suspend allows system software to suspend a block erase to read or write data from any other block. Byte write suspend allows system software to suspend a byte write to read data from any other flash memory array location. Aoooo 9FFFF I 64Kbyte Block 15 I I 64-Kbyte Block 10 I 9oMw) SFFFF 8oooO 7FFFF 7owo 6FFFF t5wlo SFFFF 2Izzz I 64Kbyte Block 41 mm OFFFF ooom I 64Kbyte 64Kbyte Block Block Map l/ 0 Figure 2. Memory 2.1 Data Protection Depending on the application, the system designer may choose to make the V,, power supply switchable (available only when memory block erases, byte writes, or lock-bit configurations are required) or either hardwired to V,,,. The device accommodates design practice and encourages optimization of the processor-memory interface. SHARI= LRS13023 13 When VPPIVPPLK, memory contents cannot be altered. The CUI, with two-step block erase, byte write, or lock-bit configuration command sequences, provides protection from unwanted operations even when high voltage is applied to VP+. All write functions are disabled when V,, is below the write lockout voltage VLKO or when RP is at Vl,. The device's block locking capability provides additional protection from inadvertent code or data alteration by gating erase and byte write operations. 3 BUS OPERATION The local CPU reads and writes flash memory in-system. All bus cycles to or from the flash memory :onform to standard microprocessor bus cycles. 3.1 Read .c Information can be read from any block, identifier :odes, or status register independent of the VP, voltage. RP can be at either Vl, or V,,. The first task is to write the appropriate read mode :ommand (Read Array, Read Identifier Codes, or Read status Register) to the CUI. Upon initial device Tower-up or after exit from deep power-down mode, :he device automatically resets to read array mode. Four control pins dictate the data flow in and out of --:he component: CE, OE, WE, and m. CE and m must >e driven active to obtain data at the outputs. m is the device selection control, and when active enables the ielected memory device. m is the data output I/O&O,) control and when active drives the ielected memory data onto the I/O bus. WE must be it VI, and m must be at V,, or V,,. Figure 12 llustrates a read cycle. 1.2 Output Disable 3.3 Standby n at a logic-high level (V,,) places the device in standby mode which substantially reduces device power consumption. I/O&O, outputs are placed in a high-impedance state independent of OE. If deselected during block erase, byte write, or lock-bit configuration, the device continues functioning, and consuming active power until the operation completes. 3.4 Deep Power-Down i?Ij at V,, initiates the deep power-down mode. In read modes, m-low deselects the memory, places output drivers in a high-impedance state and turns off all internal circuits. RP must be held low for a minimum of 100 ns. Time tPHQv is required after return from power-down until initial memory access outputs are valid. After this wake-up interval, normal operation is restored. The CUI is reset to read array mode and status register is set to 80H. During block erase, byte write, or lock-bit configuration modes, m-low will abort the operation. Memory contents being altered are no longer valid; the data may be partially erased or written. Time tpHWL is required after Rp goes to logic-high (VI,) before another command can be written. As with any automated device, it is important to assert Rp during system reset. When the system comes out of reset, it expects to read from the flash memory. Automated flash memories provide status information when accessed during block erase, byte write, or lock-bit configuration modes. If a CPU reset occurs with no flash memory reset, proper CPU initialization may not occur because the flash memory may be providing status information instead of array data. SHARP's flash memories allow proper CPU initialization following a system reset through the use of the i?l? input. In this application, Rp is controlled by the same m signal that resets the system CPU. Mith 0lY at a logic-high level (Vt,), the device outputs Ire disabled. Output pins I/0,-1/0, are placed in a high-impedance state. SHARP LRS13023 1.5 Read Identifier Codes Operation 3.6 Write Writing commands to the CUI enable reading of device data and identifier codes. They also control inspection and clearing of the status register. When V,--=Vccl and VPP=VPPH, the CUI additionally controls block erasure, byte write, and lock-bit configuration. The Block Erase command requires appropriate command data and an address within the block to be erased. The Byte Write command requires the command and address of the location to be written. Set Master and Block Lock-Bit commands require the command and address within the device (Master Lock) or block within the device (Block Lock) to be locked. The Clear Block Lock-Bits co mmand requires the command and address within the device. The CUI does not occupy an addressable memory location. It is written when WE and a are active. The address and data needed to execute a command-are latched on the rising edge of WE or CE (whichever goes high first& Stand,ard microprocessor write timings are used. jQures:13 and 14 illustrate WE and m-controlled write operahons. : 4 COMMAND Reserved for Future Implementation D&INITlON~ 14 The read identifier codes operation outputs the nanufacturer code, device code, block lock :onfiguration codes for each block, and the master ock configuration code (see Figure 3). Using the nanufacturer and device codes, the system CPU can u,rtomatically match the device with its proper algorithms. The block lock and master lock :onfiguration codes identify locked and unlocked ~1ock.sand master lock-bit setting. FOO04 FOOO3 FOOOZ 1 FOOOl FOOOO Reserved for Future Implementation Block 15 Lock Configuration Reserved for Future Implementation (Blocks 2 through 14) ' Code Block 1 IFFFF looo4 1ooo3 I Block 1 Lock Configuration Code When the VP, voftage I VPPLK, Read operations from the status register, identifier codes, or blocks are enabled. Placing VP,, on.Vpp enables successful block erase, byte write and lock-bit configuration operations. Device operations are selected by writing specific commands into the CUI. Table 4 defines these commands. OFFFF oooo4 oooo3 Reserved for Future Implementation Master Lock Configuration Code ------------------------------------. moo2 Block 0 Lock Configuration Code ~~~~~~~~----__-__---________________( ooml Device Code --------_-__________----------------. Manufacturer Code Block Figure 3. Device Identifier Code Memory Map SHARP LRS13023 15 NOTES: memory contents can be read, but not altered. 1. Refer to DC Characteristics. When VPPIVPP,, 2. X can be VI, or V,, for control pins and addresses, and VP,, or VP,, for VP,. See DC Characteristics for VW, and V,,, voltages. 3. i@ at GND&.2V ensures the lowest deep power-down current. 4. See Section 4.2 for read identifier code data. 5. Command writes involving block erase, write, or lock-bit configuration are reliably executed when VPp=VppH and produce spurious Vcc=VccIU~=O to 85 "c) . Block erase, byte write, or lock-bit configuration with V, RIW f-vr1c.c LRS13023 16 Command Read Array/Reset Read Identifier Codes Read Status Register Clear Status Register Block Erase Byte Write Req'd . 1 22 2 1 2 2 Block Erase and Byte Write 1 Suspend X Block Erase and Byte Write 1 5 Write DOH Resume Write BA OlH Set Block Lock-Bit 2 7 Write BA 60H Write X FlH 7 Write X 60H Set Master Lock-Bit 2 X 60H Write X DOH Clear Block Lock-Bits 2 8 Write NOTES: 1. BUS operations are defined in Table 3. " 2. X=Any valid address within the device. IA=Identifier Code Address: see Figure 3. BA=Address within the block being erased or locked. WA=Address of memory location to be written. 3. SRD=Data read from status register. See Table 7 for a description of the status register bits. WD=Data to be written at location WA. Data is latched on the rising edge of WE or CE (whichever goes high first). ID=Data read from identifier codes. 4. Following the Read Identifier Codes command, read operations access manufacturer, device, block lock, and master lock codes. See Section 4.2 for read identifier code data. 5. If the block is locked, i?i? must be at V,, to enable block erase or byte write operations. Attempts to issue a block erase or byte write to a locked block while m is VII+ 6. Either 40H or 10H are recognized by the WSM as the byte write setup. 7. If the master lock-bit is set, m must be at V,, to set a block lock-bit. RP must be at V,, to set the master lock-bit. If the master lock-bit is not set, a biock lock-bit can be set while i?is is V,,. 8. If the master lock-bit is set, RP must be at V,, to clear block lock-bits. The clear block lock-bits operation simultaneously clears all block lock-bits. If the master lock-bit is not set, the Clear Block Lock-Bits command can be -. done while RR 1s Vl,. 9. Commands other than those shown above are reserved by SHARP for future device implementa lions and should not be used. Table 4. Commanc 1 Definitions(9) - - ___._. _ ~_ Fist Bus Cycle Ope# ) Addrc2) 1 DataQ) Notes ---Write X FFH 4 Write X 90H Write X 70H _. ---Write X 5UH Write BA 20H 5 Write WA 40H 56 or I I I I 10H X BOH 5 Write Oper(l) Second Bus Cycle 1 Addrt2) 1 Datac3) I I IA X BA WA I I ID SRD DOH WD Read. Read Write Write I I . SHARP LRS13023 17 :.l Read Array Command 4.3 Read Status Register Command Jpon initial device power-up and after exit from deep jowerdown mode, the device defaults to read array node. This operation is also initiated by writing the lead Array command. The device remains enabled for eads until another command is written. Once the nternal WSM has started a block erase, byte write or sck-bit configuration, the device will not recognize he Read Array command until the WSM completes its lperation unless the WSM is suspended via an Erase luspend or Byte Write Suspend command. The Read bray command functions independently of the VP, poltage and m can be V,, or V,,. ,.2 Read Identifier Codes Command The status register may be read to determine when a block erase, byte write, or, lock-bit configuration is complete and whether the operation completed successfully. It may be read at any time by writing the Read Status Register command. After writing this command, all subsequent read operations output data from the status register until another valid command is written. The status register contents are latched on the falling edge of OE or CE, whichever occurs. OE or iZ must toggle to V,, before further reads to update the status register latch. The Read Status Register command functions independently of the VP, voltage. Rp can be V,, or V,,. 4.4 Clear Status Register Command `he identifier code operation is initiated by writing the Lead Identifier Codes command. Following the ommand write, read cycles from addresses shown in `igure 3 retrieve the manufacturer, device, block lock onfigura tion and master lock configuration codes (see `able 5 for identifier code values). To terminate the Nperation, write another valid command. Like the Lead Array command, the Read Identifier Codes ommand functions independently of the VP, voltage nd RP can be V,, or V,,. Following the Read dentifier Codes command, the following information an be read: Table 5. Identifier Status register bits SR.5, SR.4, SR.3, and SR.1 are set to "1"s by the WSM and can only be reset by the Clear Status Register command. These bits indicate various failure conditions (see Table 7). By allowing system software to reset these bits, several operations (such as cumulatively erasing or locking multiple blocks or writing several bytes in sequence) may be performed. The status register may be polled to determine if an error occurre during the sequence. To clear the status register, the Clear Status Register command (50H) is written. It functions independently of the applied VP, Voltage. RP can be V,, or V,,. This command is not functional during block erase or byte write suspend modes. 4.5 Block Erase Command Erase is executed one block at a time and initiated by a two-cycle command. A block erase setup is first written, followed by an block erase confirm. This command sequence requires appropriate sequencing and an address within the block to be erased (erase changes all block data to FFH). Block preconditioning, erase, and verify are handled internally by the WSM (invisible to the system). After the two-cycle block erase sequence is written, the device automatically outputs status register data when read (see Figure 4). The CPU can detect block erase completion by analyzing status register bit SR.7. Codes Block Lock Configuration .Block is Unlocked *Block is Locked -Reserved for Future Use Master Lock Configuration SDevice is Unlocked ,Device is Locked ,Reserved for Future Use IOTE: . X selects the specific block lock configuration code to be read. See Figure'3 for the device identifier code memory map. SHARP LRS13023 When the block erase is complete, status register bit SR.5 should be checked. If a block erase error is detected, the status register should be cleared before system software attempts corrective actions. The CLJI remains in read status register mode until a new command is issued. This two-step command sequence of set-up followed by execution ensures that block contents are not accidentally erased. An invalid Block Erase command sequence will result in both status register bits SR.4 and SR.5 being set to "1". Also, reliable block erasure can only occur when Vcc=VccI and V,=V,,,. In the absence of this high voltage, block contents are protected against erasure. If block erase is attempted SR.3 and SR5 will be set to "1". while Vppflppm, Successful block erase requires that the corresponding block lock-bit be cleared or, if set, that m=V,. If block erase is attempted when the corresponding block lock-bit is set and m=V,,, SR.1 and SR5 wi.lI be set to "1". Block erase operations with V, 18 register bits SR3 and SR4 will be set to "1". Successful byte write requires that the corresponding block lock-bit be cleared or, if set, that i@=V,. If byte write is attempted when the corresponding block lock-bit is set and RP=V,,, SR.l and SR4 will be set to "1". Byte write operations with VI, SHARP LRS13023 19 4.8 Byte Write Suspend Command The Byte Write Suspend command allows byte write interruption to read data in other flash memory locations. Once the byte write process starts, writing the Byte Write Suspend command requests that the the byte write sequence at a WSM suspend predetermined point in the algorithm. The device continues to output status register data when read after the Byte Write Suspend command is written. Polling status register bits SR.7 and SR.2 can determine when the byte write operation has been suspended (both will be set to "1"). Specification twHRHl defines the byte write suspend latency. At this point, a Read Array command can be written to read data from locations other than that which is suspended. The only other valid commands while byte write is suspended are Read Status Register and Byte Write Resume. After Byte Write Resume command is written to the flash memory, the WSM will continue the byte write process. Status register bits SR.2 and SR7 will automatically clear. After the Byte Write Resume command is written, the device automatically outputs status register data when read (see Figure 7). VP, must remain at V,, (the same VP, level used for byte write) while in byte write suspend mode. m must also remain at VrH or V, (the same Rp level used for byte write). 4.9 Set Block and Master Lock-Bit Commands Set block lock-bit and master lock-bit are executed by a two-cycle command sequence. The set block or master lock-bit setup along with appropriate block or device address is written followed by either the set block lock-bit confirm (and an address within the block to be locked) or the set master lock-bit confirm (and any device address). The WSM then controls the set lock-bit algorithm. After the sequence is written, the device automatically outputs status register data when read (see Figure 8). The CPU can detect the completion of the set lock-bit event by analyzing status register bit SR.7. When the set lock-bit operation is complete, status register bit SR.4 should be checked. If an error is detected, the status register should be cleared. The CUT will remain in read status register mode until a new comman d is issued. This two-step sequence of set-up followed by execution ensures that lock-bits are not accidentally set. An invalid Set Block or Master Lock-Bit command will result in z&us register bits SR.4 and SR.5 being set to "1". Also; reliable operations occur only when and `V+=VPPH. ln the absence of this high vcc=vccl voltage, lock-bit contents are .protected against : I alteration. A successful set block lock-bit .operation requires that the master lo&bit be cleared or, if the master lock-bit is set, that Rp=V&. Eit is attempted with the master lock-bit set and; RP=VIH, SR.l and SR.4 will be set to "1" and the operation -will fail. Set block lock-bit operations while ~V,, |
Price & Availability of LRS1302
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |