PRODUCT SPECIFICATIONS ® Integrated Circuits Group LH28F160BJHE-TTL90 Flash Memory 16M (1M × 16/2M × 8) (Model No.: LHF16J04) Spec No.: EL11X036 Issue Date: November 11, 1999 SliARP LHF16504 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. l 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. (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 aInstrumentation and measuring equipment @Machinetools *Audiovisual equipment *Home appliance l Com’munication equipment other than for trunk lines (2) Those contemplating using the products covered herein for the following equipment which demands hiuh reliabilitv, should first contact a sales representative of the company and then accept responsibility for incorporatin, 0 into the design fail-safe 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’ aOther safety devices and safety equipment, etc. (3) Do not use the products covered herein for the following equipment which demands extremely high oerformance in terms of functionality, reliability, or accuracy. aAerospace 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 regardin, 0 the interpretation of the above three Paragraphs to a sales representative of the company. l Please direct all queries regardin,0 the products covered herein to a sales representative of the company. Rev. 1.15 SHARP 1 LHFl6504 CONTENTS PAGE PAGE INTRODUCTION.. ............................................................ 3 5 DESIGN CONSIDERATIONS ....................................... 25 1.1 Features ........................................................................ 3 5.1 Three-Line Output Control ........................................ 25 1.2 Product Overview.. ....................................................... 3 5.2 RY/BY# and WSM Polling ....................................... 25 1.3 Product Description.. ................................................... .4 5.3 Power Supply Decoupling ......................................... 25 1.3.1 Package Pinout ...................................................... .4 5.4 Vccw Trace on Printed Circuit Boards ..................... 25 1.3.2 Block Organization.. ............................................... 4 5.5 v,, . vccw. RP# Transitions .................................... 25 5.6 Power-Up/Down Protection.. ..................................... 26 PRINCIPLES OF OPERATION.. ...................................... 7 5.7 Power Dissipation ...................................................... 26 2.1 Data Protection.. .......................................................... .8 5.8 Data Protection Method ............................................. 26 BUS OPERATION ............................................................ 8 6 ELECTRICAL SPECIFICATIONS ................................ 27 3.1 Read .............................................................................. 8 6.1 Absolute Maximum Ratings.. .................................... 27 3.2 Output Disable .............................................................. 8 6.2 Operating Conditions ................................................. 27 3.3 Standby.. ....................................................................... 8 6.2.1 Capacitance .......................................................... 27 3.4 Reset ............................................................................. 8 6.2.2 AC Input/Output Test Conditions.. ...................... 28 3.5 Read Identifier Codes.. ................................................ .9 6.2.3 DC Characteristics ............................................... 29 3.6 Write.. .......................................................................... .9 6.2.4 AC Characteristics - Read-Only Operations.. ...... 31 6.2.5 AC Characteristics - Write Operations ................ 34 ............................................. 9 6.2.6 Alternative CE#-Controlled Writes ...................... 36 4.1 Read Array Command.. .............................................. 12 6.2.7 Reset Operations .................................................. 38 4.2 Read Identifier Codes Command ............................... 12 6.2.8 Block Erase. Full Chip Erase, Word/Byte Write and 4.3 Read Status Register Command.. ............................... 12 Lock-Bit Configuration Performance ................. 39 COMMAND DEFINITIONS 4.4 Clear Status Register Command.. ............................... 12 4.5 Block Erase Command.. ............................................. 13 7 PACKAGE AND PACKING SPECIFICATIONS .......... 40 4.6 Full Chip Erase Command ......................................... 13 4.7 Word/Byte Write Command.. ..................................... 13 4.8 Block Erase Suspend Command ................................ I4 4.9 Word/Byte Write Suspend Command.. ...................... 14 4.10 Set Block and Permanent Lock-Bit Command.. ....... I5 4.1 1 Clear Block Lock-Bits Command ............................ 15 4.12 Block Locking by the WP# ...................................... 16 Rev. 1.25 2 LI-IFI 6504 LH28F 160BJHE-TTL90 IGM-BIT ( 1Mbit x16 / 2Mbit x8 ) Boot Block Flash MEMORY n n n Low Voltage Operation - v,,=v(-cw-L.-’ 7V-3.6V Single Voltage User-Configurable x8 or x 16 Operation High-Performance Read Access Time - n I - Automatic Power Savings Mode Decreases ICCR in Static Mode Typ. 120pA (V,,=3.OV, T,=+25”C. f=32kHz) Read Current Six 4K-word (8K-byte) Parameter Blocks Thirty-one 32K-word (64K-byte) Main Blocks Top Boot Location Extended Cycling Capability - Minimum 100,000 Block Erase Cycles - n Block Erase, Full Chip Erase, Word/Byte Write and Lock-Bit Configuration Lockout during Power Transitions Block Locking with Command and WP# Permanent Locking Automated Block Erase, Full Chip Erase, Word/Byte Write and Lock-Bit Configuration - Command User Interface (CUB - Status Register (SR) n SRAM-Compatible n Industry-Standard - G-Lead TSOP n ETOXTkt* W CMOS w iHARP’s LH28F160BJHE-TTL90 vide range of applications. Block Erase Suspend to Word/Byte Write Block Erase Suspend to Read Enhanced Data Protection Features - Absolute Protection with VCCWIVCCWLK - Optimized Array Blocking Architecture - Two 4K-word (8K-byte) Boot Blocks - n n Operating Temperature - -40°C to +85”C - Enhanced Automated Suspend Options - Word/Byte Write Suspend to Read - 90ns(Vcc=2.7V-3.6V) Low Power Management - Typ. 2uA (V,,=3,OV) Standby Current n H Write Interface Packaging Nonvolatile Flash Technology Process (P-type silicon substrate) Not designed or rated as radiation hardened Flash memory is a high-density. low-cost. nonvolatile, read/write storage solution for a ,H28F160BJHE-TTL90 can operate at V,,=2.7V-3.6V and Vc-w--. -3 TV-3.6V or 11.7V-12.3V. Its low voltage operation :apability realize battery life and suits for cellular phone application. ts Boot, Parameter and Main-blocked architecture, low voltage and extended cycling provide for highly flexible component uitable for portable terminals and personal computers. Its enhanced suspend capabilities provide for an ideal solution for code - data storage applications. :or secure code storage applications, such as networking, where code is either directly executed out of flash or downloaded to IRAM, the LH28F160BJHE-TTL90 offers four levels of protection: absolute protection with VccwlVc-wLK, selective lardware block locking or flexible software block locking. These alternatives Zoive designers ultimate control of their code ecurity needs. he LH28F160BJHE-‘ITL90 is manufactured on SHARP’s 0.25pm ETOXT”* tandard package: the 4%lead TSOP, ideal for board constrained applications. process technology. It come in industry- ETOX is a trademark of Intel Corporation. Rev. 1.25 SHARP LHF16504 3 1 1 INTRODUCTION datasheet LH28F160BJHE-T-IL90 contains specifications. Section 1 provides a flash memory overview. Sections 2. 3. 4 and 5 describe the memory organization and functionality. Section 6 covers electrical specifications. This 1.1 Features Key enhancements of LH28F16OBJHE-TTL90 Flash memory are: boot block Gingle low voltage operation *Low power consumption *Enhanced Suspend Capabilities l Boot Block Architecture Please note following: l VCCWLK has been lowered to l.OV to support 2.7V3.6V block erase. full chip erase. word/byte write and lock-bit configuration operations. The Vccw voltage transitions to GND is recommended for designs that switch Vccw off during read operation. 1.2 Product Overview The LH28F160BJHE-TTL90 is a high-performance 16Mait Boot Block Flash memory organized as lM-word of 16 aits or 2M-byte of 8 bits. The lM-word/2M-byte of data is u-ranged in two 4K-word/SK-byte boot blocks, six 4Kword/8K-byte parameter blocks and thirty-one 32Kvord/64K-byte main blocks which are individually :rasable, lockable and unlockable in-system. The memory nap is shown in Figure 3. Ihe dedicated V ccw pin gives complete data protection vhen V CCW’VCCWLK. 4 Command User Interface (CUD serves as the interface jetween the system processor and internal operation of the ievice. A valid command sequence written to the CUI nitiates device automation. An internal Write State vlachine (WSM) automatically executes the algorithms md timings necessary for block erase, full chip erase. vord/byte write and lock-bit configuration operations. A block erase operation erases one of the device’s 32Kword/6JK-byte blocks typically within 1.2s (3V Vcc. 3V blocks typically within 0.6s (3V V ccw). JK-word/8K-byte V,,. 3V Vccw) independent of other blocks. Each block can be independently erased minimum 100,000 times. 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 word/byte increments of the device’s 32K-word blocks typically within 33~s (3V V,,. 3V Vccw). 6JK-byte blocks typically within 31~s (3V V,,. 3V Vccw). 4K-word blocks typically within 36~s (3V Vcc. 3V V,,,), 8Kbyte blocks typically within 32~s (3V Vcc. 3V Vccw). Word/byte write suspend mode enables the system to read data or execute code from any other flash memory array location. Individual block locking uses a combination of bits, thirtynine block lock-bits. a permanent lock-bit and WP# pin. to lock and unlock blocks. Block lock-bits gate block erase. full chip erase and word/byte write operations. while the permanent lock-bit pates block lock-bit modification and locked block alternation. Lock-bit configuration operations (Set Block Lock-Bit, Set Permanent Lock-Bit and Clear Block Lock-Bits commands) set and cleared lock-bits. The status register indicates when the WSM‘s block erase, fuli chip erase. word/byte write or lock-bit configuration operation is finished. The RY/BY# output gives an additional indicator of WSM activity by providing both a hardware signal of status (versus software polling) and status masking (interrupt masking for background block erase, for example). Status polling using RY/BY# minimizes both CPU overhead and system power consumption. When low, RY/BY# indicates that the WSM is performing a block erase. full chip erase. word/byte write or lock-bit configuration. RY/BY#-high Z indicates that the WSIM is ready for a new command. block erase is suspended (and word/byte write is inactive), word/byte write is suspended. or the device is in reset mode. Rev. 1.25 4 LHFl6504 The access time is 90ns (tAv v) over the operating temperature range (-40°C to + 8 5°C) and V,- supply voltage range of 2.7V-3.6V. 1.3 Product Description The Automatic Power Savings (APS) feature substantially reduces active current when the device is in static mode (addresses not switching). In APS mode, the typicaJ ICCR current is 2pA (CMOS) at 3.OV V,,. LH28F160BJHE-TTL90 Boot Block Flash memory is available in J8-lead TSOP package (see Figure 2). When CE# and RP# pins are at V,-. the I,, CMOS standby mode is enabled. When the RP# pin is at GND, reset mode is enabled which minimizes power consumption and provides write protection. A reset time (tpHQv) is required from RP# switching high until outputs are valid. Likewise, the device has a wake time (tpHEL) from RP#-high until writes to the CljI are recognized. With RP# at GND, the WSM is reset and the status register is cleared. Please do not execute reprogramming “0” for the bit which has already been programed “0”. Overwrite operation may generate unerasable bit. In case of reprogramming “0” to the data which has been programed “1”. .Prograrn “0” for the bit in which you want to change data from ” 1” to “0”. .Program “1” for the bit which has already been programmed “0”. For example, changing data from “10111101” ‘10111100” requires “11111110” programming. to 1.3.1 Package Pinout 1.32 Block Organization This product features an asymmetrically-blocked architecture providing system memory integration. Each erase block can be erased independently of the others up to 100,000 times. For the address locations of the blocks. see the memory map in Figure 3. Boot Blocks: The boot block is intended to replace a dedicated boot PROM in a microprocessor or microcontroller-based system. This boot block 4K words (4.096words) features hardware controllable writeprotection to protect the crucial microprocessor boot code from accidental modification. The protection of the boot block is controlled using a combination of the Vccw, RP#. WP# pins and block lock-bit. Parameter Blocks: The boot block architecture includes parameter blocks to facilitate storage of frequently update small parameters that would normally require an EEPROM. By using software techniques. the word-rewrite functionality of EEPROMs can be emulated. Each boot block component contains six parameter blocks of 4K words (4.096 words) each. The protection of the parameter block is controlled using a combination of the Vccw. RP# and block lock-bit. Main Blocks: The reminder is divided into main blocks for data or code storage. Each 16M-bit device contains thirtyone 32K words (32,768 words) blocks. The protection of the main block is controlled using a combination of the Vccw, RP# and block lock-bit. Rev. 1.25 SHARI= LHF16504 5 CEY WEX OEX RF?+ Buffer h / Figure 1. Block Diagram Al5 A16 Al4 A13 BYTE?4 GND A12 All 40 DQJA-I DQ7 DQu A9 ‘48 49 DQ6 NC WE# RP# vccw WP# RYlBY# 4%LEAD TSOP STANDARD PINOUT 12mm x 20mm TOP VIEW ‘418 A17 A7 % A5 A., A3 DQu DQ5 DQlr DQa vcc DQII DQ3 DQIO DQz DQ!, DQI DQs DQo OE# GND CE# A0 A2 Al Figure 2. TSOP -%Lead Pinout Rev. 1.25 6 LHFl6JO4 Symbol A-1 A,-‘419 "Qo-DQ,, CE# RP# OE# WE# WP# BYTE# RY/BY# Vccw vcc GND NC Table 1. Pin Descriptions Name and Function ADDRESS INPUTS: Inputs for addresses during read and write operations. Addresses are internally latched during a write cycle. INPUT A-,: Lower address input while BYTE# is V,,. A-, pin changes DQ, j pin while BYTE# is Vt,. A, j-A,,: Main Block Address. A,,-A,,: Boot and Parameter Block Address. DATA INPUT/OUTPUTS: Inputs data and commands during CUI write cycles: outputs data during memory array. status register and identifier code read cycles. Data pins float to highINPUT/ impedance when the chip is deselected or outputs are disabled. Data is internally latched during a OUTpUT write cycle. DQs-DQ, j pins are not used while byte mode (BYTE#=V,,). Then. DQls pin changes A-, address input. CHIP ENABLE: Activates the device’s control logic. input buffers. decoders and sense amplifiers. INPUT CE#-high deselects the device and reduces power consumption to standby levels. _. RESET: Resets the device internal automation. RP#-high enables normal operation. When driven INPUT low. RP# inhibits write operations which provides data protection during power transitions. Exit from reset mode sets the device to read array mode. RP# must be V,, during power-up. OUTPUT ENABLE: Gates the device’s outputs during a read cycle. INPUT WRITE ENABLE: Controls writes to the CUI and array blocks. Addresses and data are latched on INPUT the rising edge of the WE# pulse. WRITE PROTECT: When WP# is V,,. boot blocks cannot be written or erased. When WP# is INPUT V,,, locked boot blocks can not be written or erased. WP# is not affected parameter and main blocks. BYTE ENABLE: BYTE# V,, places device in byte mode (x8). All data is then input or output on INPUT DQO-,. and DQ,., j float. BYTE# V,, places the device in word mode (x16), and turns off the A-, input buffer. READY/BUSY#: Indicates the status of the internal WSM. When low, the WSM is performing an OPEN internal operation (block erase. full chip erase. word/byte write or lock-bit configuration). DRAIN RY/BY#-high Z indicates that the WSM is ready for new commands. block erase is suspended, OUTPUT and word/byte write is inactive. word/byte write is suspended. or the device is in reset mode. BLOCK ERASE. FULL CHIP ERASE. WORD/BYTE WRITE OR LOCK-BIT CONFIGURATION POWER SUPPLY: For erasing array blocks, writing words/bytes or configuring lock-bits. With VCCW<VCCWLK. memory contents cannot be altered. Block erase, full SUPPLY chip erase, word/byte write and lock-bit configuration with an invalid V,--w (see 6.2.3 DC Characteristics) produce spurious results and should not be attempted. Applying 12Va0.3V to Vc-w during erase/write can only be done for a maximum of 1000 cycles on each block. V,,, may be connected to [email protected] for a total of 80 hours maximum. DEVICE POWER SUPPLY: Do not float any power pins. With V&V,,,, all write attempts to SUPPLY the flash memory are inhibited. Device operations at invalid V,, voltage (see 6.2.3 DC Characteristics) produce spurious results and should not be attempted. SUPPLY GROUND: Do not float any ground pins. NO CONNECT: Lead is not internal connected: it may be driven or floated. Type Rev. 1.25 SHARI’= LHFI 6504 7 2 PRINCIPLES OF OPERATION flash memory includes an on-chip WSM to manageblock erase. full chip erase. wordlbyte write and lock-bit configuration functions. It allows for: 100% TILleve control inputs. fixed power suppliesduring block erase, full chip erase. word/byte write and lock-bit configuration. and minimal processor overheadwith RAIM-like interfacetimings. The LH?8F160BJHE-TTL90 After initial device power-up or return from reset mode (seesection3 Bus Operations),the device defaultsto read array mode.Manipulationof externalmemorycontrol pins allow array read,standbyandoutputdisableoperations. Status register and identifier codes can be accessed through the CUI independentof the Vccw voltage. High voltage on Vccw enablessuccessfulblock erase,full chip erase,word/byte write and lock-bit configurations. All functionsassociatedwith altering memorycontents-block :rase, full chip erase. word/byte write. lock-bit :onfiguration, statusandidentifier codes-areaccessedvia he CUI andverified through the statusregister. Commandsare written using standard microprocessor vrite timings. The CUI contents serve as input to the WSM, which controls the block erase.full chip erase, vord/byte write and lock-bit configuration. The internal tlgorithms are regulated by the WSM, including pulse ,epetition, internal verification and margining of data. iddressesand data are internally latched during write :ycles. Writing the appropriatecommandoutputs array lata. accesses the identifier codesor outputsstatusregister lata. nterface softwarethat initiates andpolls progressof block ‘rase. full chip erase, word/byte write and lock-bit onfiguration can be stored in any block. This code is opied to and executed from systemRAIM during flash nemory updates.After successful completion, reads are gain possiblevia the ReadArray command.Block erase uspendallows systemsoftwareto suspenda block erase I read/write data from/to blocks other than that which is uspend.Word/byte write suspendallows systemsoftware I suspenda word/byte write to read data from any other lashmemoryarray location. Top Boot [AII-&II FtlTF FFm FE. Flilx4 rnr7+ mow FCtFF FCMI FBWF FBCW FAFFF FAlKK? F9tFF FW”,, FRWF FPIIXK) RFFF FM*) EFFFF E8MO E7FFF Eixml DFFFF D8D00 D7WF c% C8cix) c7m ET?= B8Nx) B7tFF BOOM) AFFFF A8033 Am AcmO 9tFFF 98wxl 97FFF 9MXJ WFFF 88mo 87FFF 8oIx)t) 7FFFF 780X 77m 7oM 6FFFF 68oMl 67FFF 5Fkz 58Mo 57FFF 5OlXKl JFFFF 48*M J7FFF :I 38mi, 37FFF 3otml FFFF 28ooo 27FFF XOXJ IFFFF ,R,XX, I7FFT IIWX B Main Block 32KWlhAKB Mam Block 32KW/6-lKB Xlam Block 32KWNKB ,Mun Block 23 28 OFFFF “8MM “7FFF OO~KHI Figure3. Memory ~Map Rev. 1.35 SHARP LHFl6504 2.1 Data Protection memory contents cannot be Wkn vccw~vccw,,~ altered. The GUI. with two-step block erase. full chip erase. word/byte write or lock-bit configuration command sequences, provides protection from unwanted operations even when high voltage is applied to Vccw. All write functions are disabled when Vcc is below the write lockout voltage VLKO or when RP# is at V,,. The device’s block locking capability provides additional protection from inadvertent code or data alteration by gating block erase, full chip erase and word/byte write operations. Refer to Table 5 for write protection alternatives. 3 BUS OPERATlON l3e local CPU reads and writes flash memory in-system. 411 bus cycles to or from the flash memory conform to standardmicroprocessor buscycles. 3.1 Read nformation can be read from any block. identifier codes )r statusregisterindependentof the Vccw voltage. RP# :an be at V,,. i-he first task is to write the appropriate read mode :ommand(Read Array, Read Identifier Codes or Read itatus Register)to the GUI. Upon initial device power-up jr after exit from reset mode, the device automatically esetsto read array mode. Six control pinsdictate the data low in and out of the component:CE#. OE#. BYTE#, JZ#, RP# and WP#. CE# and OE# mustbe driven active 3 obtain data at the outputs. CE# is the device selection ontrol. and when active enablesthe selectedmemory evice. OE# is the data output (DQ,-DQlj) control and {hen active drives the selectedmemorydata onto the l/O us. BYTE# is the device l/O interface mode control. VE# must be at V,,, RP# must be at V,,. and BYTE# nd WP# mustbe at V,, or V,,. Figure 14. 15 illustrates :ad cycle. 2 Output Disable 8 3.3 Standby CE# a.t a logic-high level (V,,) places the device ir standby mode which substantiallyreducesdevice powel consumption. DQ,-DQ,, outputs are placed in a highimpedancestateindependentof OE#. If deselectedduring block erase,full chip erase,word/byte write or lock-bil confi,ouration, the device continues functioning, ant consumingactive poweruntil the operationcompletes. 3.4 Reset RP# at V,, initiatesthe resetmode. In read modes, RP#-low deselectsthe memory. places output drivers in a high-impedancestateand turns off all internal circuits. RP# mustbe held low for a minimum ot IOOns. Time tpHQV is required after return from reset modeuntil initial memoryaccessoutputsare valid. After this wake-up interval. normal operation is restored.The GUI is resetto readarray modeand statusregisteris set to 80H. During block erase.full chip erase,word/byte write or lock-bit configuradon modes. RP#-low will abort the operation. RY/E%Y#remainslow until the reset operation is complete.Memory contentsbeing altered are no longer valid; the data may be partially erasedor written. Time tpmvL is required after RP# goes to logic-high (VIH) before anothercommandcanbe written. As with any automateddevice, it is important to assert RP# during systemreset.When the systemcomesout of reset,it expectsto readfrom the flash memory. Automated flash memoriesprovide statusinformation when accessed during block erase. full chip erase. word/byte write or lock-bit configuration modes.If a CPU reset occurs with no flash memoryreset.proper CPU initialization may not occur becausethe 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 RP# input. In this application.RP# is controlledby the sameRESET# signal that resetsthe systemCPU. v’ith OE# at a logic-high level (VI,), the device outputs re disabled. Output pins (DQ,-DQ,,) are placed in a igh-impedancestate. Rev. 1.25 SHARP LHFl6504 9 1 3.5 Read Identifier Codes The read identifier codes operation outputs the manufacturer code. device code. block lock configuration codes for each block and the permanent lock configuration code (see Figure 4). Using the manufacturer and device codes. the system CPU can automatically match the device with its proper algorithms. The block lock and permanent lock configuration codes identify locked and unlocked blocks and permanent lock-bit settin:. 3.6 Write FFFFFf I Reserved for Future Implementation FFrm _______________----------------------I Boot Block 0 Lock Conliguration Co& FFOOZ _________------------~~~~~~~~~~~~~~~~~ FFOOI Reserved for Future Implementation FFOOO Boot Block 0 FEFFF Reserved for Future Implementation FE003 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&=2.7V-3.6V and V CCW=VCCWHIR) the CUI additionally controls block erase. full chip erase, word/byte write and lock-bit configuration. The Block Erase command requires appropriate command data and an address within the block to be erased. The Full Chip Erase command requires appropriate command data and an address within the device. The Word/Byte Write command requires the command and address of the location to be written. Set Permanent and Block Lock-Bit commands require the command and address within the zlevice (Permanent Lock) or block within the device iBlock Lock) to be locked. The Clear Block Lock-Bits :ommand requires the command and address within the levice. lhe CUI does not occupy an addressable memory ocation. It is written when WE# and CE# are active. The iddress and data needed to execute a command are latched )n the rising edge of WE# or CE# (whichever goes high ‘First). Standard microprocessor write timings are used. ?gures 16 and 17 illustrate WE# and CE# controlled write operations. DEFINITIONS ------- ---------- ------ Boot Block 1 Lock Conlieuration Code __________---------------_----_Reserved for Future Implementation FDmil Parameter Block 0 FCFFF; (Parameter Blocks I through -I) FDOOl .,.I-FW,-!il ! Reserved for Future Implementation FXOO? _--_-______-__-___-_------------------ F8001 F8000 F7FFF - Reserved for Future ImpIementation Parameter Block 5 Reserved for Future Implementation FOO03 EFFFF: “---- t COMMAND _____________ FE002 07FFF (Main Blocks 1 through 29) I:::_::_:::: Reserved for Future Implementation Nhen the VCcw voltage IV,,,,. Read operations from he status register, identifier codes. or blocks are enabled. ‘lacing VCCWH,,2 on VCCw enables successful block :rase. full chip erase. word/byte write and lock-bit configuration operations. device operations are selected by writing specific ommands into the CUI. Table 3 defines these commands. 00004 Permanent Lock Conligrration Code Main Block 30 Lock Configuration Code OOOO? Device Code 0000 I ____________________-----------------00000 Manufacturer Code Main Block j[J *: Address A.1 don‘t care. 00003 Figure 4. Device Identifier Code Memory .Map Rev. 1.25 SHAl?P LHFl6J04 Table 2.1. Bus Onerations (BYTE#=V,U)tt+z) Read Identifier Codes X X Write 1 6.7.8 VI, VI, VI, VI, DIN VOTES: 1. Refer to DC Characteristics. When V,-,wIV,,w,,. memory contents can be read. but not altered. 2. X can be V,, or V,, for control pins and addresses. and V,,,,, or V,,,,,,? for Vccw. See DC Characteristics for VCCwLK voltages. 3. RY/BY# is V,, when the WSM is executing internal block erase. full chip erase, word/byte write or lock-bit configuration algorithms. It is High Z during when the WSIM is not busy, in block erase suspend mode (with word/byte write inactive), word/byte write suspend mode or reset mode. 4. RP# at GNDk0.2V ensures the lowest power consumption. 5. See Section 4.2 for read identifier code data. 6. Command writes involving block erase. full chip erase. word/byte write or lock-bit configuration are reliably executed when VCCw=VCCWHln and V,-,=2.7V-3.6V. 7. Refer to Table 3 for valid Dt, during a write operation. 8. Never hold OE# low and WE# low at the same timing. Rev. 1.25 SHARP LHF 16504 11 Table 3. Command Definition&to) 1Block Erase 1Full Chio Erase Word/Byte Write I I 2 2 2 1 I 5 56 1 Write I Write Write 1 I X X X 1 l 20H 1 Write 30H I Write 40H or Write 10H 1 ( BA X WA 1 DOH I DOH WD Block Erase and Word/Byte 1 5 Write X BOH Write Suspend -. Block Erase and Word/Byte 1 5 Write X DOH Write Resume Set Block Lock-Bit Write BA 2 8 Write X 60H OIH Clear Block Lock-Bits 2 7.8 Write X 60H Write X DOH Set Permanent Lock-Bit Write 2 9 Write X 60H X FlH NOTES: 1. BUS operations are defined in Table 2.1 and Table 2.2. 2. X=Any valid address within the device. IA=Identifier Code Address: see Figure 4. BA=Address within the block being erased. WA=Address of memory location to be written. 3. SRD=Data read from status register. See Table 6 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 configuration and permanent lock configuration codes. See Section 4.2 for read identifier code data. 5. If WP# is V,, boot blocks are locked without block lock-bits state. If WP# is V,,, boot blocks are locked by block lockbits. The parameter and main blocks are locked by block lock-bits without WP# state. 6. Either 4OH or 10H are recognized by the WSM as the word/byte write setup. 7. The clear block lock-bits operation simultaneously clears all block lock-bits. 8. If the permanent lock-bit is set, Set Block Lock-Bit and Clear Block Lock-Bits commands can not be done. 9. Once the permanent lock-bit is set. permanent lock-bit reset is unable. 10. Commands other than those shown above are reserved by SHARP for future device implementations and should not be Rev. 1.25 1 I LHF16504 12 4.1 Read Array Command 4.3 Read Status Register Command Upon initial device power-up and after exit from reset mode, the device defaults to read array mode. This aperation is also initiated by writing the Read Array zomrnand. The device remains enabled for reads until mother command is written. Once the internal WSM has started a block erase. full chip erase. word/byte write or .ock-bit configuration the device will not recognize the Read Array command until the WSIM completes its operation unless the WSM is suspended via an Erase Suspend or Word/Byte Write Suspend command. The iead Array command functions independently of the Vccw voltage andRP#canbe Vt,. The statusregistermay be readto determinewhen a block erase, full chip erase. word/byte write or lock-bil configuration is complete and whether the operation completed successfully.It may be read at any time by writing the ReadStatus Registercommand.After writing this command,all subsequentreadoperationsoutput data from the statusregister until another valid commandis written. The status register contents are latched on the falling edge of OE# or CE#. whichever occurs.OE# or CE# musttoggle to V,, before further readsto updatethe statusregister latch. The Read Status Registercommand functionsindependentlyof the Vccw voltage. RP# can be L1.2 VI,. Read Identifi& Codes Command 4.4 Clear Status Register Command The identifier code operationis initiated by writing the itead Identifier Codescommand.Following the command \write. read cycles from addressesshown in Figure 4 retrieve the manufacturer.device, block lock configuration atnd permanentlock configurationcodes(seeTable 4 for i’dentifier code values). To terminate the operation.write aanothervalid command.Like the Read Array command, the Read Identifier Codes command functions ndependentlyof the Vccw voltage and RP# can be V,,. ;:ollowing the Read Identifier Codes command. the following informationcanbe read: Status register bits SRS. SR.4 SR.3 or SR.1 are set to “1”s by the WSM andcan only be resetby the Clear Status Register command. These bits indicate various failure conditions(seeTable 6). By allowing systemsoftware to reset thesebits. severaloperations(such as cumulatively erasingmultiple blocks or writing several words/bytesin sequence)may be performed.The statusregister may be polled to determine if an error occurred during the sequence. To clear the status register, the Clear Status Register command(50H) is written. It functions independentlyof the applied Vccw Voltage. RP# can be V,,. This command is not functional during block erase or word/byte write suspendmodes. Table4. Identifier Codes Block Lock Configuration *Block is Unlocked *Block is Locked *Reservedfor Future Use PermanentLock Configuration DQI-7 *Device is Unlocked *Device is Locked *Reservedfor Future Use IOTE: BA selectsthe specificblock lock configuration code to be read.SeeFigure4 for the device identifier code memorymap. A-, don’t carein byte mode. DQ, ,-DQ, outputsOOHin word mode. Rev. 1.25 SHARP LHF 16JO4 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 FFFFH/FFH). Block preconditioning. erase, and verify are handled internally by the WSIM (invisible to the system). After the two-cycle block erase sequence is written. the device automatically outputs status register data when read (see Figure 5). The CPU can detect block erase completion by analyzing the output data of the RY/BY# pin or status register bit SR.7. 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 Ittempts corrective actions. The CUI remains in read status register mode until a new command is issued. I’his two-step command sequence of set-up followed by :xecution ensures that block contents are not accidentally :rased. An invalid Block Erase command sequence will esult in both status register bits SR.4 and SR.5 being set o “1”. Also, reliable block erasure can only occur when dcc=2.7V-3.6V and VCCW=VC-wBl,,. In the absence of his high voltage. block contents are protected against :rasure. If block erase is attempted while VCCW<VCCWLK. iR.3 and SR.5 will be set to “1”. Successful block erase equires for boot blocks that WP# is V,, and the ,orresponding block lock-bit be cleared. In parameter and nain blocks case, it must be cleared the corresponding Ilock lock-bit. If block erase is attempted when the xcepting above conditions. SR.1 and SR.5 will be set to 1‘I, I.6 Full Chip Erase Command his command followed by a confirm command erases all f the unlocked blocks. A full chip erase setup (30H) is lrst written, followed by a full chip erase confirm (DOH). hfter a confirm command is written, device erases the all nlocked blocks block by block. This command sequence :quires appropriate sequencing. Block preconditioning, rase and verify are handled internally by the WSM nvisible to the system). After the two-cycle full chip rase sequence is written, the device automatically outputs atus register data when read (see Figure 6). The CPU can etect full chip erase completion by analyzing the output ata of the RY/BY# pin or status register bit SR.7. ihen the full chip erase is complete. status register bit R.5 should be checked. If erase error is detected, the atus register should be cleared before system software tempts corrective actions. The CUI remains in read 13 status register mode until a new command is issued. I error is detected on a block during full chip erase operation. WSM stops erasing. Full chip erase operatior start from lower address block. finish the higher addres: block. Full chip erase can not be suspended. This two-step command sequence of set-up followed by execution ensures that block contents are not accidentally erased. An invalid Full Chip Erase command sequencr will result in both status register bits SR.4 and SR.5 being set to “1”. Also, reliable full chip erasure can only occur when V,,=2.JV-3.6V and VCCW=VCCWHt,2. In thr absence of this high voltage, block contents are protectec against erasure. If full chip erase is attempted while SR.3 and SR.5 will be set to “1” V ccwlV,,,,, Successful full chip erase requires for boot blocks thal WP# is V,, and the corresponding block lock-bit be cleared. In parameter and main blocks case, it must be cleared the corresponding block lock-bit. If all blocks are locked. SR.1 and SR.5 will be set to “1”. 4.7 Word/Byte Write Command Word/Byte write is executed by a two-cycle command sequence. Word/Byte write setup (standard 40H OI alternate 10H) is written. followed by a second write that specifies the address and data (latched on the rising edge of WE#). The WSiM then takes over, controlling the word/byte write and write verify algorithms internally. After the word/byte write sequence is written. the device automatically outputs status register data when read (see Figure 7). The CPU can detect the completion of the word/byte write event by analyzing the RY/BY# pin or status register bit SR.7. When word/byte write is complete, status register bit SR.4 should be checked. If word/byte write error is detected. the status register should be cleared. The internal WSM verify only detects errors for “1”s that do not successfully write to “0”s. The CUI remains in read status register mode until it receives another command. Reliable word/byte writes can only occur when V,,=2.7V-3.6V and VCCw=VC-wHIR. In the absence of this high voltage. memory contents are protected against word/byte writes. If word/byte write is attempted while V CCwIVCCLVLK. status register bits SR.3 and SR.4 will be set to “1”. Successful word/byte write requires for boot blocks that WP# is Vt, and the corresponding block lockbit be cleared. In parameter and main blocks case. it must be cleared the corresponding block lock-bit. If word/byte write is attempted when the excepting above conditions, SR. 1 and SR.4 will be set to “1”. Rev. 1.25 SHARP 14 LHFl6JO4 4.8 Block Erase Suspend Command 4.9 Word/Byte The Block Erase Suspend command allows block-erase interruption to read or word/byte write data in another block of memory. Once the block erase process starts. writing the Block Erase Suspend command requests that the WSM suspend the block erase sequence at a predetermined point in the algorithm. The device outputs status register data when read after the Block Erase Suspend command is written. Polling status register bits SR.7 and SR.6 can determine when the block erase operation has been suspended (both will be set to “1”). RY/BY# will also transition to High Z. Specification tWHR-,,, defines the block erase suspend latency. The Word/Byte Write Suspend command allows word/byte write interruption to read data in other flash memory locations. Once the word/byte write process starts. writing the Word/Byte Write Suspend command requests that the WSIM suspend the Word/Byte write sequence at a predetermined point in the algorithm. The device continues to output status register data when read after the Word/Byte Write Suspend command is written. Polling status register bits SR.7 and SR.2 can determine when the word/byte write operation has been suspended (both will be set to “1”). RY/BY# will also transition to High Z. Specification tWHRZl defines the word/byte write suspend latency. When Block Erase Suspend command write to the GUI. if block erase was finished. the device places read array mode. Therefore. after Block Erase Suspend command write to the CUI, Read Status Register command (70H) has to write to CUI. then status register bit SR.6 should be checked for places the device in suspend mode. At this point. a Read Array command can be written to read data from blocks other than that which is suspended. A Word/Byte Write command sequence can also be issued during erase suspend to program data in other blocks. Using the Word/Byte Write Suspend command (see Section 4.9), a word/byte write operation can also be suspended. During a word/byte write operation with block erase suspended. status register bit SR.7 will return to “0” and the RY/BY# output will transition to VOL. However, SR.6 will remain “1” to indicate block erase suspend datus. The only other valid commands while block erase is suspended are Read Status Register and Block Erase Resume. After a Block Erase Resume command,is written :o the flash memory. the WSM will continue the block :rase process. Status register bits SR.6 and SR.7 will automatically clear and RY/BY# will return to VOL. After .he Erase Resume command is written. the device automatically outputs status register data when read (see 3gure 8). Vccw must remain at VC-WHt,z (the same Vccw level used for block erase) while block erase is xrspended. RP# must also remain at V,,. WP# must also .emain at V,, or V,, (the same WP# level used for block :rase). Block erase cannot resume until word/byte write operations initiated during block erase suspend have :ompleted. Write Suspend Command When Word/Byte Write Suspend command write to the CUI, if word/byte write was finished. the device places read array mode. Therefore. after Word/Byte Write Suspend command write to the CUI. Read Status Register command (70H) has to write to CUI. then status register bit SR.2 should be checked for places the device in suspend mode. 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 word/byte write is suspended are Read Status Register and Word/Byte Write Resume. After Word/Byte Write Resume command is written to the flash memory. the WSM will continue the word/byte write process. Status register bits SR.2 and SR.7 will automatically clear and RY/BY# will return to VOL. After the Word/Byte Write Resume command is written. the device automatically outputs status register data when read (see Figure 9). Vccw must remain at VCCWHtjz (the same Vccw level used for word/byte write) while in word/byte write suspend mode. RP# must also remain at Vt,. WP# must also remain at V,, or V,, (the same WP# level used for word/byte write). If the period of from Word/Byte Write Resume command write to the CUI till Word/Byte Write Suspend command write to the GUI be short and done again and again. write time be prolonged. f the period of from Block Erase Resume command write o the GUI till Block Erase Suspend command write to the XI be short and done again and again, erase time be irolonged. Rev. I.25 LHFI 6JO4 4.10 Set Block and Permanent Lock-Bit Commands A flexible block locking and unlocking scheme is enabled via a combination of block lock-bits. a permanent lock-bit and WP# pin. The block lock-bits and WP# pin gates program and erase operations while the permanent lock-bit gates block-lock bit modification. With the permanent lock-bit not set, individual block lock-bits can be set using the Set Block Lock-Bit command. The Set Permanent Lock-Bit command. sets the permanent lock-bit. After the permanent lock-bit is set, block lock-bits and locked block contents cannot altered. See Table 5 for a summary of hardware and software write protection options. Set block lock-bit and-permanent lock-bit are executed by 1 two-cycle command sequence. The set block or aermanent lock-bit setup along with appropriate block or device address is written followed by either the set block ock-bit confirm (and an address within the block to be ocked) or the set permanent lock-bit confirm (and any ievice address). The WSIM then controls the set lock-bit Algorithm. After the sequence is written, the device automatically outputs status resister data when read (see :&tire IO). The CPU can detect the completion of the set ock-bit event by analyzing the RY/BY# pin output or tatus register bit SR.7. Nhen the set lock-bit operation is complete, status register bit SR.4 should be checked. If an error is detected, the tatus register should be cleared. The CUI will remain in ead status register mode until a new command is issued. his two-step sequence of set-up followed by execution nsures that lock-bits are not accidentally set. An invalid ‘et Block or Permanent Lock-Bit command will result in tatus register bits SR.4 and SR.5 being set to “1”. Also, :liable operations occur only when Vcc=2.7V-3.6V and rCCW=vCCWHIR~ In the absence of this high voltage, )ck-bit contents are protected against alteration. i successful set block lock-bit operation requires that the ermanent lock-bit be cleared. If it is attempted with the ermanent lock-bit set. SR.1 and SR.4 will be set to “1” ?d the operation will fail. 15 4.1 I Clear Block Lock-Bits Command All set block lock-bits are cleared in parallel via the Clea Block Lock-Bits command. With the permanent lock-bi not set. block lock-bits can be cleared using only the Clea Block Lock-Bits command. If the permanent lock-bit i: set, block lock-bits cannot cleared. See Table 5 for ; summary of hardware and software write protectior options. Clear block lock-bits operation is executed by a two-cycle command sequence. A clear block lock-bits setup is firs written. After the command is written. the device automatically outputs status register data when read (set Figure 11). The CPU can detect completion of the cleai block lock-bits event by analyzing the RY/BY# Pin outpu’ or status register bit SR.7. When the operation is complete. status register bit SR.5 should be checked. If a clear block lock-bit error is detected. the status register should be cleared. The GUI will remain in read status register mode until another command is issued. This two-step sequence of set-up followed by execution ensures that block lock-bits are not accidentally cleared. An invalid Clear Block Lock-Bits commandsequencewill result in statusregisterbits SR.4 andSR.5 beingsetto “1”. Also, a reliable clear block lock-bits operation can only occur when V,,=2.7V-3.6V and VCCW=VCCWHt,,.If a clear block lock-bits operation is attempted -while VCCWIVCCwtK, SR.3 and SR.5 will be set to “1”. In the absenceof this high voltage, the block lock-bits content are protected againstalteration. A successfulclear block lock-bits operationrequiresthat the permanentlock-bit is not set. If it is attemptedwith the permanentlock-bit set. SR.1 and SR.5 will be set to “1” and the operation will fail. If a clear block lock-bits operationis aborteddue to Vccw or V,, transitioninp out of valid range or RP# active transition, block lock-bit values are left in an undeterminedstate. A repeat of clear block lock-bits is required to initialize block lock-bit contents to known values. Once the permanentlock-bit is set. it cannot be cleared. Rev. 1.25 SHARP 16 LHFl6J04 .. 12 Block Locking an error. which will be reflected in the status register. FOI top configuration. the top two boot blocks are lockable For the bottom configuration. the bottom two boot block: are lockable. If WP# is V,, and block lock-bit is not set boot block can be programmed or erased normally (Unles: Vccw is below V,,,,,). WP# is valid only two boo blocks. other blocks are not affected. by the WP# his Boot Block Flash memory architecture features two ardware-lockable boot blocks so that the kernel code for le system can be kept secure while other blocks are rogrammed or erased as necessary. he lockable blocks are locked when WP#=V,: any rogram or erase operation to a locked block will result in Table 5. Write Protection Alternatives ‘1, Set Permanent Lock-Bit ‘VCCWLK >VcCWLK ’ V, VI, 0 1 X X X X X X X X X X X X X Clear Block Lock-Bits Enabled. Clear Block Lock-Bits Disabled. Set Permanent Lock-Bit Disabled. Set Permanent Lock-Bit Disabled. Set Permanent Lock-Bit Enabled. Rev. 1.25 SHARP LHFl6504 WSlMS 7 1 BESS 1 ECBLBS 6 17 Table 6. Status Register Definition 1 WBWSLBS 1 VCCWS 1 WBWSS 5 4 3 1 2 DPS R 1 0 NOTES: SR.7 = WRITE STATE MACHINE 1 = Ready 0 = Busy STATUS (WSMS) Check RY/BY# or SR.7 to determine block erase. full chip erase. word/byte write or lock-bit configuration completion. SR.6-0 are invalid while SR.7=“0”. SR.6 = BLOCK ERASE SUSPEND STATUS (BESS) 1 = Block Erase Suspended 0 = Block Erase in Progress/Completed SR.5 = ERASE AND CLEAR BLOCK LOCK-BITS STATUS (ECBLBS) 1 = Error in Block Erase. Full Chip Erase or Clear Block Lock-Bits 0 = Successful Block Erase, Full Chip Erase or Clear Block Lock-Bits SR.4 = WORD/BYTE WRITE AND SET LOCK-BIT STATUS (WBWSLBS) 1 = Error in Word/Byte Write or Set Block/Permanent Lock-Bit 0 = SuccessfulWord/Byte Write or Set Block/Permanent Lock-Bit jR.3 = Vccw STATUS (VCCWS) 1 = Vccw Low Detect,OperationAbort 0 = Vccw OK jR.2 = WORD/BYTE WRITE SUSPEND STATUS (WBWSS) 1 = Word/Byte Write Suspended 0 = Word/Byte Write in Progress/Completed iR. 1 = DEVICE PROTECTSTATUS (DPS) 1 = Block Lock-Bit, PermanentLock-Bit and/or WP# Lock Detected.OperationAbort 0 = Unlock If both SR.5 and SR.l are “1”s after a block erase, full chip erase or lock-bit configuration attempt. an improper command sequence was entered. SR.3doesnot provide a continuousindication of V,--w level. The WSM interrogatesandindicatesthe Vccw level only after Block Erase.Full Chip Erase,Word/Byte Write or Lock-Bit Configurationcommandsequences. SR.3is not guaranteedto reportsaccuratefeedbackonly when VCCW'VCCWHIR. SR.1 doesnot provide a continuousindication of permanent and block lock-bit andWP# values.The WSM interrogates the permanentlock-bit, block lock-bit and WP# only after Block Erase.Full Chip Erase.Word/Byte Write or Lock-Bit Configurationcommandsequences. It informs the system, dependingon the attemptedoperation,if the block lock-bit is set.permanentlock-bit is setand/or WP# is V,,. Reading the block lock andpermanentlock configuration codesafter writing the ReadIdentifier Codescommandindicates permanentandblock lock-bit status. iR.0 = RESERVED FOR FUTURE ENHANCEMENTS CR) SR.0 is reservedfor future useand shouldbe maskedout whenpolling the statusregister. i Rev. 1.25 LHFI 6JO4 r IT’LL STATUS CHECK PRCCEDCRE (-) Check SR., ,=Dev,ce Praect Dew? Figure 5. Automated Block Erase Flowchart Rev. 1.25 SHARI= LHFI 6504 19 Full Swnu Check ,f Dewed &i&j FL’LL STATLr.5 CHECK PROCEDCRE (F) Commen1s Command Clwk ,=Vccw SR.3 Erra Detect Check SR.I Standby Standby Standby I=Dcr,ce Rara Detect (All Bids are loclud) Cixck SR.4.3 Both I=Co-nd Scqucncc Enor Check SR.5 I=RII Clup Eras Eira Cummand Scquencc Full Ch,p Exlse S”ccwf”l Figure 6. Automated Full Chip Erase Flowchart _1 Rev. 1.25 LHFl6504 r Read Standby Stmr Regwter Data ChcckSR.7 ,=WSMRendy o=WSM Bury FL’LL STM-L’S CHECK PROCEDCRE Figure 7. Automated Word/Byte Write Flowchart Rev. 1.25 SHARP Write DOH Wntc FFH I Block Erase Ramcd R,ad hay Dm Figure 8. Block Erase Suspend/Resume Flowchart Rev. 1.25 SHARP LHFl6JO4 22 Wntc BOH Figure 9. Word/Byte Write Suspend/Resume Flowchart Rev. 1.15 SHARf= LHFl6504 rr Cheek ,f Dared FLZL STATUS CHECK PROCEDURE Figure 10. Set Block and Permanent Lock-Bit Flowchart Rev. 1.15 SHARP LHF 16JO4 24 Red Swu Rsgner SR.7= 0 .::5:-lr Standby l=WSM Ready C=WSM Busy FL’LL STATL’S CHECK PROCEDURE (F) Commen,s Command check SR.3 I=Vccw Fna rktcc1 Standby Check SR.J.5 Swmfby Both ,=Command Scqurne Error Command Sequence C,<Y Block Lmk-B,u Figure 11. Clear Block Lock-Bits Flowchart Rev. 1.25 LHFl6JO4 5 DESIGN 5.1 CONSIDERATIONS Three-Line Output Control The device will often be used in large memory arrays. SHARP provides three control inputs to accommodate multiple memory connections. Three-line control provides for: a. Lowest possible memory power dissipation. b. Complete assurance that data bus contention will not occur. To use these control inputs efficiently, an address decoder should enable CE# while OE# should be connected to all memory devices and ‘the system’s READ# control line. This assures that only selected memory devices have active outputs while deselected memory devices are in standby mode. RP# should be connected to the system POWERGOOD signal to prevent unintended writes during system power transitions. POWERGOOD should also :oggIe during system reset. 5.2 RYlBY# and WSM Polling IY/BY# is an open drain output that should be connected o V,, by a pull up resistor to provides a hardware method If detecting block erase, full chip erase, word/byte write md lock-bit configuration completion. It transitions low tfter block erase. full chip erase. word/byte write or lock)it configuration commands and returns to VOH (while cY/BY# is pull up) when the WSM has finished executin,o he internal algorithm. <Y/BY# can be connected to an interrupt input of the ystem CPU or controller. It is active at all times. RY/BY# s also High Z when the device is in block erase suspend with word/byte write inactive), word/byte write suspend )r reset modes. 25 5.3 Power Supply Decoupling Flash memory power switchins characteristics require careful device decoupling. System designers are interested in three supply current issues: standby current levels, active current levels and transient peaks produced by falling and rising edges of CE# and OE#. Transient current magitudes depend on the device outputs‘ capacitive and inductive loading. Two-line control and proper decoupling capacitor selection will suppress transient voltage peaks. Each device should have a O.lpF ceramic capacitor connected between its V,, and GND and between its Vccw and GND. These high-frequency. low inductance capacitors should be placed as close as possible to package leads. Additionally. for every eight devices. a 4.7pF electrolytic capacitor should be placed at the array’s power supply connection between Vcc and GND. The bulk capacitor will overcome voltape slumps caused by PC board trace inductance. 5.4 VCCW Trace on Printed Circuit Boards Updating flash memories that reside in the target system requires that the printed circuit board designer pay attention to the Vccw Power supply trace. The Vccw pin supplies the memory cell current for word/byte writing and block erasing. Use similar trace widths and layout considerations given to the V,, power bus. Adequate Vccw supply traces and decoupling will decrease Vccw voltage spikes and overshoots. 5.5 Vcc, Vccw, RP# Transitions Block erase, full chip erase. word/byte write and lock-bit configuration are not guaranteed if V,-, falls outside of a valid VCCWHt,z range, V,, falls outside of a valid 2.7V3.6V range. or RP##VtH. If Vccw error is detected, status register bit SR.3 is set to “1” along with SR.4 or SR.5, depending on the attempted operation. If RP# transitions to V,, during block erase. full chip erase. word/byte write or lock-bit configuration, RY/BY# will remain low until the reset operation is complete. Then. the operation will abort and the device will enter reset mode. The aborted operation may leave data partially altered. Therefore. the command sequence must be repeated after normal operation is restored. Device power-off or RP# transitions to V,, clear the status register. The CUI latches commands issued by system software and is not altered by Vccw or CE# transitions or WSIM actions. Its state is read array mode upon power-up. after exit from reset mode or after Vcc transitions below V,,,. Rev. 1.25 SHARP LHFl6504 5.6 Power-Up/Down Protection The device is designed to offer protection against accidental block erase. full chip erase. word/byte write or lock-bit configuration during power transitions. Upon power-up. the device is indifferent as to which power supply WCCW or VCC) Powers-up first. Internal circuitry resets the CUI to read array mode at power-up. A system designer must guard against spurious writes for V,, voltages above V,,, when Vccw is active. Since both WE# and CE# must be low for a command write, driving either to V,, will inhibit writes. The GUI’s twostep command sequence architecture provides added level of protection against data _. alteration. In-system block lock and unlock capability prevents inadvertent data alteration. The device is disabled while RP#=Vl, regardless of its control inputs state. 5.7 Power Dissipation When designing portable systems, designers must consider battery power consumption not only during device operation, but also for data retention during system idle time. Flash memory’s nonvolatility increases usable battery life because data is retained when system power is removed. 26 5.8 Data Protection Method Noises having a level exceeding the limit specified in the specification may be generated under specific operating conditions on some systems. Such noises, when induced onto WE# signal or power supply. may be interpreted as false commands, causing undesired memory updating. To protect the data stored in the flash memory against unwanted overwriting, systems operating with the flash memory should have the following write protect designs. as appropriate: 1) Protecting data in specific block When a lock bit is set. the corresponding block (includes the 2 boot blocks) is protected against overwriting. By setting a WP# to low, only the 2 boot blocks can be protected against overwriting. By using this feature. the flash memory space can be divided into the program section (locked section) and data section (unlocked section). The permanent lock bit can be used to prevent false block bit setting. For further information on settinS/resettinp lock-bit, refer to the specification. (See chapter-l.lOand-l.11.) 2) Data protection through Vccw When the level of V,--w is lower than VCCWLK (lockout voltage), write operation on the flash memory is disabled. All blocks are locked and the data in the blocks are completely write protected. For the lockout voltage. refer to the specification. (See chapter 6.2.3.) 3) Data protection through RP# When the RP# is kept low during read mode. the flash memory will be reset mode. then write protecting all blocks, When the RP# is kept low during power up and power down sequence such as voltage transition, write operation on the flash memory is disabled, write protecting all blocks. For the details of RP# control, refer to the specification. (See chapter 5.6 and 6.2.7.) Rev. 1.75 LHFl6JO4 27 I 6 ELECTRICAL SPECIFICATIONS 6.1 Absolute Maximum Ratings* Operating Temperature During Read, Block Erase. Full Chip Erase, Word/Byte Write and Lock-Bit Configuration ._...........-40°C to +SS’C(t) Storage Temperature During under Bias _..............._..............-4Q”C to +85”C During non Bias _................_.............. -65°C to +125”C Voltage On Any Pin (except V,, and vccw) .....__....-0.5V to V,,+O.5V(‘) V,, Supply Voltage .........._..................... -0.2V to +4.6V(*) Vccw Supply Voltage .... ..._._.._._.......... -02V to +13.OV(*v3) Output Short Circuit Current ..... ..._...__................1OOmA(J) *WARNING: Stressing the device beyond the “Absolute Maximum Ratings” may cause permanent damage. These are stress ratings on/x Operation be?.ond the “Operating Conditions” is not recommended and extended exposure beyond the “Operating Conditions” ma! affect device reliability. NOTES: 1. Operating temperature is for extended temperature product defined by this specification. 2. All specified voltages are with respect to GND. Minimum DC voltage is -0.5V on input/output pins and -0.2V on V,, and Vccw pins. During transitions. this level may undershoot to -2.OV for periods <20ns. Maximum DC voltage on input/output pins are V,,+0.5V which. during transitions, may overshoot to V,-+2.OV for periods <?Ons. 3. Maximum DC voltage on Vccw may overshoot to +13.OV for periods <20ns. Applying 12V+O.3V to V,,, during erase/write can only be done for a maximum of 1000 cycles on each block. Vccw may be connected to 12Va.3V for a total of 80 hours maximum. 4. Output shorted for no more than one second. No more than one output shorted at a time. 6.2 Operating Conditions Symbol TA V,, Temperature and Vcc Operating Conditions Parameter Min. Max. Unit Operating Temperature -40 +85 “C V,, Supply Voltage (2.7V-3.6V) 2.7 V 3.6 Test Condition Ambient Temperature 6.2.1 CAPACITANCE(I) 1 T,=+25”C, Symbol ,CIN 1C,” Parameter Input Capacitance 1Output Capacitance NO;: 1 1. Sampled, not 100% tested. TYP. 7 9 f=IMHz Max. 10 l?i Condition Unit PF PF v,,=o.ov v,“T=o.ov Rev. 1.25 LHF 16JO4 .2.2 AC INPUT/OUTPUT 28 TEST CONDITIONS I,~~z2~@TAC test inputs are driven at ?.7V for a Logic “1” and O.OV for a Logic “0”. Input timing be_eins. and output hung input rise and fall limes (10% IO 9tYZ) <IO ns. ends, ~1 1.35V. Figure 12. Transient Input/Output Reference Waveform for V,,=2.7V-3.6V Test Configuration Cauacitance Loading Value Test Configuration C,(pF) V,e2.7V-3.6V 50 lN91-l OUT Figure 13. Transient Equivalent Testing Load Circuit I Rev. 1.25 LHF16JO4 52.3 DC CHARACTERISTICS DC Characteristics Conditions I -I Rev. 1.35 SHARP 30 LHFI 6504 DC Characteristics (Continued) Test Conditions Parameter "OH2 Output High Voltage (CMOS) 7 . “CCWLK "CCWHI "CCWH2 "LKO Vccw Lockout during Normal Operations Vccw during Block Erase. Full Chip Erase, Word/Byte Write or Lock-Bit Configuration Operations Vccw during Block Erase. Full Chip Erase. Word/Byte Write or Lock-Bit Configuration Operations Vcc Lockout Voltage 0.85 Vr-- V “cc -0.4 V 4,7 1.0 V 2.7 3.6 V 11.7 12.3 V V,,=V,c Min. IO,=-2smA Vcc=Vcc Min. I,,=- lOOpA 8 2.0 V 30TES: All currents are in RMS unless otherwise noted. Typical values at nominal V,, voltage and T,=+25”C. :: I ccws and IccEs are specified with the device de-selected. If read or word/byte written while in erase suspend mode, the device‘s current draw is the sum of Iccws or I,,,, and ICCR or Iccw. respectively. 8. Includes RY/BY#. .. Block erases, full chip erase, word/byte writes and lock-bit configurations are inhibited when V,,wIV,,wLK, and not guaranteed in the range between VCCwLK(max.) and VCcwH,(min.), between VccwH,(max.) and V~cwB#nin.) and above Vr-cwB2(max.). The Automatic Power Savings (APS) feature is placed automatically power save mode that addresses not switching more than 300ns while read mode. . About all of pin except describe Test Conditions, CMOS level inputs are either V&O.2V or GND*O.?V, TIL level inputs are either V,, or VI,. Sampled. not 100% tested. Applying 12VkO.3V to Vccw during erase/write can only be done for a maximum of 1000 cycles on each block. Vccw may be connected to 12Vtio.3V for a total of 80 hours maximum. Rev. 1.25 LHF16504 62.4 ,[EHOZ tGLOX tGHOZ tOH tFVOV ‘FL02 tlzr “I 1. 2. 3. 4. AC CHARACTERISTICS - READ-ONLY OPERATIONS(‘) CE# High to Output in High Z OE# to Output in Low Z OE# Highto Output in High.Z Output Hold from Address,CE# or OE# Change,Whichever OccursFist BYTE# to Output Delay BYTE# Low to Output in High Z CE# to BYTE# High or Low 40 3 3 3 0 3 0 15 3 3 3.4 ns ns ns ns 90 25 5 ns ns ns SeeAC Input/Output ReferenceWaveform for maximumallowableinput slew rate. OE# may bedelayedup to tErqv-tGLQv after the falling edgeof CE# without impact on tF, &. Sampled.not 100%tested. If BYTE# transferduring readingcycle. exist the regulationsseparately. Rev. 1.25 32 LHFl6504 Slandby Device Address Seleclion Data Valid VIH ___________ Address Stable rDDRESSES(A) VIL WE#(W) V’H r------ tcLQV kLQV hLJ l kryx kLQXD-+ lOHb--4 VOH HIGH lATA(D/Q) Z DQ&Qu) VOL __--------tAVQV I h Figure 14. AC Waveform for Read Operations Rev. 1.25 SHARP r Device Address Selection Standby VIH Data Valid r __________. Address Stable ADDRESSES VIL VIH tELQV 4 CENE) h , VU tAVQV b P VIH tGLQV OE#(G) VU , -. ______----- ________..- VIH - r BYTEWFI c VU kLQX kLFv VOH DATA(D/Q, 4 -:;:;:-:::(~;>j HIGH Z HIGH Z HIGH Z (DQo--DQI) VOL 4 a tFLQ2 VOH HIGH Z )ATA(D/Q) DQs-DQ1.s) VOL Figure 15. BYTE# timing Waveform Rev. I.25 SHARP 34 LHFl6504 6.25 AC CHARACTERISTICS - WRITE OPERATIONS(l) NOTES: 1. Read timing characteristics during block erase, full chip erase, word/byte write and lock-bit configuration operations are the same as during read-only operations. Refer to AC Characteristics for read-only operations. 2. Sampled. not 100% tested. 3. Refer to Table 4 for valid A,, and D,, for block erase, full chip erase. word/byte write or lock-bit configuration. 4. V,-,, should be held at VCCWHt,2 until determination of block erase. full chip erase, word/byte write or lock-bit configuration success (SR. l/3/4/5=0). 5. If BYTE# switch during reading cycle, exist the regulations separately. Rev. 1.35 LHFl6504 r ADDRESSES(A) DATACDIQ) vCCW(~ NOTES: 1. VCc power-up VCCWLK and standby. 2. Write each setup command. 3. Write each confirm command 4. Automated erase or program or valid delay. address and data 5. Read statusregister data. 6. Write Read Array command. Figure 16. AC Waveform for WE#-Controlled Write Operations Rev. 1.25 LHFl6504 62.6 Sym. t AVAV tPHEL tWLEL ALTERNATIVE CE#-CONTROLLED WRIT ES(‘) V,,=?.lV-3.6V, Parameter 1 I ~~ Write Cycle Time RP# High Recovery to CE# Going Low WE# Setup to CE# Going Low 36 T,=-40°C to +85”C Notes I 2 I Min. ,T,Y YU 1 0 -,. 1 I Max Unit I IlS P ns NOTES: 1. In systems where CE# defines the write pulse width (within a longer WE# timing waveform), all setup, hold. and inactive WE# times should be measured relative to the CE# waveform. 2. Sampled, not 100% tested. 3. Refer to Table J for valid A,, and D,, for block erase, full chip erase. word/byte write or lock-bit configuration. 4. V,,w should be held at VCCwH,,, , until determination of block erase, full chip erase, word/byte write or lock-bit configuration success (SR. l/3/4/5=0). 5. If BYTE# switch during reading cycle, exist the regulations separately. 1 Rev. 1.25 SHARP 37 LHFl6JO4 1 ---v-v 2 3 4 5 6 ADDRESSES(A) OE#G) DATA(DlQ) BYTES(F) RYIBYMR) (SR.7) “CCW(“) (“1” VCCWLK VIL ‘““““““““““““” NOTES: 1. Vcc power-up and standby. 2. Write each setup command. 3. Write each confirm command or valid address and data. 4. Automated erase or program delay. 5. Read statos register data. 6. Write Read Array command. Figure 17. AC Waveform for CE#-Controlled Write Operations Rev. 1.25 SHARP 38 LHFl6JO4 6.27 RESET OPERATIONS High Z RY/BY#(R)(“I”) (SR.7) VoL (“0”) VIH RFW’) VIL (A)Reser RY/BY#(R) (SR.7) _. During Read Array Mode High Z (“1”) VOL (“0”) VIH RP#(P) VI1 (B)Reset During 2.7V Block Erase, Full Chip Erase. Word/Byte Write or Lock-Bit Configuration k VIH RP#(P) VIL (C)RP# rising Timing I Figure 18. AC Waveform for Reset Operation Reset AC Specifications Sym. tPLPH tPLRZ i %VPH Parameter RP# Pulse Low Time RP# Low to Reset during Block Erase, Full Chip Erase, Word/Byte Write or Lock-Bit Configuration V,, 2.7V to RP# High Notes 2 Min. 100 100 Unit lFi 30 172 2.3 Max. PS ns NOTES: 1. If RP# is asserted while a block erase, full chip erase, word/byte write or lock-bit configuration operation is not executing, the reset will complete within 1OOns. 2. A reset time, tptt v, is required from the later of RY/BY#(SR.7) going High Z(“1”) or RP# going high until outputs are valid. Refer to A 8 Characteristics - Read-Only Operations for tpHQV. 3. When the device power-up, holding RP# low minimum 1OOnsis required after Vcc has been in predefined range and also has been in stable there. Rev. 1.25 LHFl6JO4 2.8 BLOCK ERASE, CONFIGURATION FULL CHIP ERASE, PERFORMANCE(3) WORD/BYTE WRITE AND LOCK-BIT Set Lock-Bit Time WHQVJ Clear Block Lock-Bits Time 2 1 5 0.69 4 6 15 6 1.5 PS 4 16 30 16 30 PS S EH0V.l WHFCZI EHRZl wHRz2 EHRZ2 OTES: Word/Byte Write Suspend Latency Time to Read Block Erase Suspend Latency Time to Read Typical values measured at TA=+25”C and Vcc=3.0V, Vccw- -3 OV or 12.OV. Assumes corresponding lock-bits are not set. Subject to change based on device characterization. Excludes system-level overhead. Sampled but not 100% tested. A latency time is required from issuing suspend command(WE# or CE# going high) until RYIBY# going High Z or SK7 going ” 1”. Rev. 1.25 LHF16J04 SHARP 7 Package and packing 40 specification 1. Package Outline Specification Refer to drawing No.AAl 2. Markings 2 - 1. Marking contents (1) Product name : (2) Company name : ( 3 ) Date code (Example) -2 --YY 14 2 LH28F160BJHE-TTL90 SHARP WW xxx Indicates the product was manufactured in the WWth week of 19YY. Denotes the production ref.code (l-3) Denotes the production week. (Ol,OZ, 03, . . . . . 52,53) Denotes the product ion year. (Lower two digit of the year.) Denotes the product ion ref .code (No marking , A , B , C ) (4) “JAPAN” is marked on the package when both wafer and assembly processes are done in Japan , indicating the country of origin. 2 - 2. Marking layout Refer drawing No. AA1 14 2 (This layout does not define the dimensions of marking character and marking position.) l 3. Packing Specification (Dry packing for surface mount packages) Dry packing is used for the purpose of maintaining IC qua1 ity after mounting packages on the PCB (Printed Circuit Board). When the epoxy resin which is used for plastic packages is stored at high humidity, it may absorb 0.15% or more of its weight in moisture. If the surface mount type package for a relatively Iarge chip absorbs a large amount of moisture between the epoxy resin and insert material (e.g. chip, lead frame) this moisture may suddenly vaporize into steam when the entire package is heated during the soldering process (e.g. VPS). This causes expansion and results in separation between the resin and insert material, and sometimes cracking of the package. This dry packing is designed to prevent the above problem from occurring in surface mount packages. 3 - 1. Packing Materials Material Name Material Specificaiton Purpose Tray Conductive plastic (50devices/tray) Fixing of device _____________.______~~..~~~~~~~~~~~~~~..-.--~~~-.--------------------.~~~~~---~.~~~~~~~~~~~~-~~~~-~~~~~~.-~~~~~~~~~~.~-~~~~~------..--------Upper cover tray Conductive plastic (ltray/case) Fixing of device _____.__-_-___._____~~---~~~~~.~--~~~~~.~.--~~~...-------...~...-----~~~~~~~~~~~~~~~~~~..~~~~~~~~~..~~~~.~.~.~~~~~~-.~~~~~~.~~~~~...~~~~ Laminated aluminum bag Aluminum polyethylene (lbag/case) Drying of device Desiccant Silica gel Drying of device P P band Polypropvlene (3pcs/case) Fixing of tray ...---.~..~~...--...~~~~.~...--~~~~.-----.-----------.----~----------~~~~~~~~~.~~~~~~~~~~~~~~~~~~~~~~~~~.~.~~~~~~-~~~~~~~~~~~~~~~--.~~-~~~~--------~ Inner case Card board (500device/case) Packaging of device .------.---.-------_~~...------~..-----------------------------------~~~~~~~~~~~~~~~~~~~~~~~~~~~~.~~~~~~.~-~~~~~~~-~~~~~~~~~~~~~~~..-~~~~~~~.~.--~~~~ Label Paper Indicates part number, quantity and date of manufacture .______________.--__.~~~~~..-~.~~~~..~-~~.~~~~-~~~~~~~~~~~~~.~~~~.~~~~~~~~~~~~~~~~~~~~~~~~~~.-~~~~~~~~~~.~~~~~~-~~~~~~.~--~ Outer case Card board Outer packing of tray (Devices shall be placed into a tray in the same direction.) LHF16J04 SHARP 3- 2. Outline dimension Refer to attached 41 of tray drawing Storage and Opening of Dry Packing 4. 4-l. Store under conditions shown below before opening the dry packing ( 1) Temperature range : 5-40°C (2) Humidity : 80% RH or less 4-2. Notes on opening the dry packing (1) Before opening the dry packing, prepare a working table which is grounded against ESD and use a grounding strap. (2) The tray has been treated to be conductive or anti-static. If the device is transferred to another tray, use a equivalent tray. _. Storage after opening the dry packing Perform the following to prevent absorption of moisture after opening. (1) After opening the dry packing, store the ICs in an environment with a temperature of 5--25°C and a relative humidity of 60% or less and mount ICs within 72 hours after opening dry packing. 4-3. 4-4. Baking (drying) before mounting I (1) Baking is necessary (A) If the humidity indicator in the desiccant becomes pink (B) If the procedure in section 4-3 could not be performed (2) Recommended baking conditions If the above conditions (A) and (B) are applicable, bake it before mounting The recommended conditions are 16-24 hours at 120°C. Heat resi stance tray is used for shipping tray. 5. Surface Mount Conditi ons Please perform the following quality. conditions when mounting ICs not to deteriorate IC 5-1.Solderin.g conditions(The following conditions are valid only for one time soldering.) Measurement Point Mounting Method Temperature and Duration IC package Reflow soldering Peak temperature of 230°C or less, duration of less than 15 seconds. (air) 200°C or over,durat ion of less than 40 seconds. I I 5 - 2. Manual soldering (soldering iron) Conditions for removal of residual (I) Ultrasonic washing power (2) Washing time (3) Solvent temperature flux : 25 Watts/liter or less : Total 1 minute maximum : 15-40°C LHF16J04 SHARP 42 LH28FlIUBJHE-TTL90 YYWW 24 xxx ! I? P. s1 d /SEE DETAIL A DETAIL 6 A i- -7r PKG.BASE PLANE @;z : r J APANJ ~~i2tj~~Z5%$~;a>7-3~f~ NOTES: Marking specification when “JAPAN”is marked. aim !J-b-Ii2 1 TIN-LEAL $$@$ If~~71/:7~-~~~~~It,,i~pgb8c~l~~I~. (AME; TSOP4S-P-1220 LEADFINISH j PLATING NOTE Plastic body dimensions do not include burr of resin. %W i UNIT ~ mm DRAWINGNO. ~ AA1142 LHF16j04 SHARP 43 I ILJU LH28F16OElJHE-TT'*" sHARfz# _, ZYYWW xxx ! 24 / /ii. T --I I I DE:;, 25 19. A 0 -co. 1 :- 1 DETA,L A / 7 k Lnl j2E.E : r J APANJ ~~Z;b~f~~\%-&j-a>~-S’ft~ NOTES:Marking specification when “JAPAN” is not marked. #fi ~ !J - r&t 1TIN-LEN @j% ~j~f7?Jfyf-:i#f$f&ii, Jiy @i&$flki!$ o JAME! TSOP48-P-1220 LEADFINISH ~ PLATING NOTE Plastic body dimensions do not include burr kg{2 ; of resin. DRAWING NO. : AA1142 IJNIT / mm . LHFlGJO4 SHARP 44 - ; - J 3 ; : P : 0 3 ; n : I - < - 7 9 i.8 1;___25.0*0.3*4=100i.0.3 I I...?- I --. NOTE NAME/TSOP48-1220TCM-RH g/c DRAWING NO. ~ CV756 / 35. : UNIT ~ mm 1 El $3 __=..I -..a LHF16J04 SHARP Gupplementary 45 1 data) LHF16.J04 Recommended mounting conditions for two time reflow soldering . Product name(Package) LH28Fl6OBJHE-TTL9O(TSOP48-P-1220) Packing specification Tray (Dry packing) Mounting method Reflow soldering (Air) Reflow soldering conditions Peak temperature of 230°C or less. 200°C or over, duration of less than 40 seconds. Preheat temperature of 125-150”C,durat ion of less than 180 seconds. Temperature increase rate of l--4“C/second. IC package surface Measurement point Storage conditions After opening the dry packing, store the ICs in an environment with a temperature of 5-25°C and a relative humidity of 60% or less. If doing reflow soldering twice,do the first reflow soldering within 72 hours after opening dry packing and do the second reflow soldering within 72 hours after the first reflow soldering. Note If the above storage conditions are not applicable, bake it before reflow soldering. The recommended conditions are 16-24 hours at 120°C. (Heat resistance tray is used for shipping tray.) Recommended Reflow SolderinglAir) Temperature Peak I (Less than 40 seconds) Profile tempe rature \ Temperature increase rate 1 -4%/second Time (NO. 990928-X15)