XM28C020 XM28C020 2 Megabit Module 256K x 8 Bit 5 Volt, Byte Alterable E2PROM TYPICAL FEATURES DESCRIPTION • • • • The XM28C020 is a high density 2 Megabit E2PROM comprised of four X28C513 LCCs mounted on a co-fired multilayered ceramic substrate. Individual components are 100% tested prior to assembly in module form and then 100% tested after assembly. • • • • • • High Density 2 Megabit (256K x 8) Module Access Time of 150ns at –55°C to +125°C Base Memory Component: Xicor X28C513 Pinout conforms to JEDEC Standard for 2 Megabit E2PROM Fast Write Cycle Times —128 Byte Page Write —Byte or Page Write Cycle: 5ms Typical —Complete Memory Rewrite: 10 Seconds Early End of Write Detection —DATA Polling —Toggle Bit Polling Software Data Protection Three Temperature Ranges —Commercial: 0°C to +75°C —Industrial: –40° to +85°C —Military: –55° to +125°C High Rel Module —100% MIL-STD-883 Compliant Components Endurance: 100,000 Cycles The XM28C020 is configured 256K x 8 bit. The module supports a 128-byte page write operation. This combined with DATA Polling or Toggle Bit Polling, effectively provides a 39µs/byte write cycle, enabling the entire array to be rewritten in 10 seconds. The XM28C020 provides the same high endurance and data retention as the X28C513. FUNCTIONAL DIAGRAM PIN CONFIGURATION X28C513 A0–A15 X28C513 A0–A15 I/O0–I/O7 I/O0–I/O7 OE WE CE OE WE CE A0–A15 X28C513 A0–A15 X28C513 A0–A15 I/O0–I/O7 I/O0–I/O7 I/O0–I/O7 OE WE CE OE WE CE OE WE CE A16 A17 NC 1 32 VCC A16 2 31 WE A15 3 30 A17 A12 4 29 A14 A7 5 28 A13 A6 6 27 A8 A5 7 26 A9 A4 8 25 A11 A3 9 24 OE A2 10 23 A10 A1 11 22 CE A0 12 21 I/O0 I/O1 13 20 I/O7 I/O6 14 19 I/O2 VSS 15 18 I/O5 I/04 16 17 I/O3 XM28C020 3872 FHD F02 3872 FHD F01 © Xicor, Inc. 1991, 1995, 1996 Patents Pending 3872-1.9 6/18/97 T1/C0/D0 SH 1 Characteristics subject to change without notice XM28C020 PIN DESCRIPTIONS PIN NAMES Addresses (A0–A17) Symbol Description The Address inputs select an 8-bit memory location during a read or write operation. A0–A17 I/O0–I/O7 WE CE OE VCC VSS NC Address Inputs Data Input/Output Write Enable Chip Enable Output Enable +5V Ground No Connect Chip Enable (CE) The Chip Enable input must be LOW to enable all read/ write operations. When CE is HIGH, power consumption is reduced (see Note 4). Output Enable (OE) The Output Enable input controls the data output buffers and is used to initiate read operations. 3872 PGM T01 Data In/Data Out (I/O0–I/O7) Data is written to or read from the XM28C020 through the I/O pins. Write Enable (WE) The Write Enable input controls the writing of data to the XM28C020. 2 XM28C020 DEVICE OPERATION write window is infinitely wide, so long as the host continues to access the device within the byte load cycle time of 100µs. Read Read operations are initiated by both OE and CE LOW. The read operation is terminated by either CE or OE returning HIGH. This 2-line control architecture eliminates bus contention in a system environment. The data bus will be in a high impedance state when either OE or CE is HIGH. Write Operation Status Bits The XM28C020 provides the user two write operation status bits. These can be used to optimize a system write cycle time. The status bits are mapped onto the I/O bus as shown in Figure 1. Write Figure 1. Status Bit Assignment Write operations are initiated when both CE and WE are LOW and OE is HIGH. The XM28C020 supports both a CE and WE controlled write cycle. That is, the address is latched by the falling edge of either CE or WE, whichever occurs last. Similarly, the data is latched internally by the rising edge of either CE or WE, whichever occurs first. A byte write operation, once initiated, will automatically continue to completion, typically within 5ms (see Note 4). I/O DP TB 5 4 3 2 1 0 RESERVED TOGGLE BIT DATA POLLING 3872 FHD F09 Page Write Operation DATA Polling (I/O7) The page write feature of the XM28C020 allows the entire memory to be written in 10 seconds. Page write allows two to 128 bytes of data to be consecutively written to the XM28C020 prior to the commencement of the internal programming cycle. The host can fetch data from another device within the system during a page write operation (change the source address), but the page address (A7 through A17) for each subsequent valid write cycle to the part during this operation must be the same as the initial page address. The XM28C020 features DATA Polling as a method to indicate to the host system that the byte write or page write cycle has completed. DATA Polling allows a simple bit test operation to determine the status of the XM28C020, eliminating additional interrupt inputs or external hardware. During the internal programming cycle, any attempt to read the last byte written will produce the complement of that data on I/O7 (i.e., write data = 0xxx xxxx, read data = 1xxx xxxx). Once the programming cycle is complete, I/O7 will reflect true data. Note: If the XM28C020 is in the protected state and an illegal write operation is attempted, DATA Polling will not operate. The page write mode can be initiated during any write operation. Following the initial byte write cycle, the host can write an additional one to 127 bytes in the same manner as the first byte was written. Each successive byte load cycle, started by the WE HIGH to LOW transition, must begin within 100µs of the falling edge of the preceding WE. If a subsequent WE HIGH to LOW transition is not detected within 100µs, the internal automatic programming cycle will commence. There is no page write window limitation. Effectively the page Toggle Bit (I/O6) The XM28C020 also provides another method for determining when the internal write cycle is complete. During the internal programming cycle I/O6 will toggle from “1” to “0” and “0” to “1” on subsequent attempts to read the last byte written. When the internal cycle is complete the toggling will cease and the device will be accessible for additional read or write operations. 3 XM28C020 DATA POLLING I/O7 Figure 2. DATA Polling Bus Sequence WE LAST WRITE CE OE VIH A0–A17 VOH HIGH Z I/O7 VOL An An An READY An An An An 3872 FHD F10 Figure 3. DATA Polling Software Flow DATA Polling can effectively halve the time for writing to the XM28C020. The timing diagram in Figure 2 illustrates the sequence of events on the bus. The software flow diagram in Figure 3 illustrates one method of implementing the routine. WRITE DATA NO WRITES COMPLETE? YES SAVE LAST DATA AND ADDRESS READ LAST ADDRESS IO7 COMPARE? NO YES READY 3872 FHD F11 4 XM28C020 THE TOGGLE BIT I/O6 Figure 4. Toggle Bit Bus Sequence WE LAST WRITE CE OE VOH I/O6 * HIGH Z VOL * READY * Beginning and ending state of I/O6 will vary. 3872 FHD F12 Figure 5. Toggle Bit Software Flow The Toggle Bit can eliminate the software housekeeping chore of saving and fetching the last address and data written to a device in order to implement DATA Polling. This can be especially helpful in an array comprised of multiple XM28C020 memories that is frequently updated. The timing diagram in Figure 4 illustrates the sequence of events on the bus. The software flow diagram in Figure 5 illustrates a method for testing the Toggle Bit. LAST WRITE LOAD ACCUM FROM ADDR n COMPARE ACCUM WITH ADDR n COMPARE OK? NO YES READY 3872 FHD F13 5 XM28C020 HARDWARE DATA PROTECTION memory ICs and decoder should be considered memory board components and SDP can be implemented at the component level as described in the next section. The XM28C020 provides three hardware features that protect nonvolatile data from inadvertent writes. SOFTWARE COMMAND SEQUENCE • Noise Protection—A WE pulse less than 10ns will not initiate a write cycle. A16 and A17 are used by the decoder to select one of the four LCCs. Therefore, only one of the four memory devices can be accessed at one time. In order to protect the entire module, the command sequence must be issued separately to each device. • Default VCC Sense—All functions are inhibited when VCC is ≤ 3V. • Write Inhibit—Holding OE LOW will prevent an inadvertent write cycle during power-up and power-down. Enabling the software data protection mode requires the host system to issue a series of three write operations: each write operation must conform to the data and address sequence illustrated in Figures 6 and 7. Because this involves writing to a nonvolatile bit, the device will become protected after tWC has elapsed. After this point in time devices will inhibit inadvertent write operations. SOFTWARE DATA PROTECTION The XM28C020 does provide the Software Data Protection (SDP) feature. The module is shipped from Xicor with the Software Data Protection NOT ENABLED; that is, the module will be in the standard operating mode. In this mode, data should be protected during power-up/-down operations through the use of external circuits. The host system will then have open read and write access of the module once VCC is stable. Once in the protected mode, authorized writes may be performed by issuing the same command sequence that enables SDP, immediately followed by the address/data combination desired. The command sequence opens the page write window enabling the host to write from one to 128 bytes of data. Once the data has been written, the device will automatically be returned to the protected state. The module can be automatically protected during powerup/-down without the need for external circuits by employing the SDP feature. The internal SDP circuit is enabled after the first write operation utilizing the SDP command sequence. In order to facilitate testing of the devices the SDP mode can be deactivated. This is accomplished by issuing a series of six write operations: each write operation must conform to the data and address sequence illustrated in Figures 8 and 9. This is a nonvolatile operation, and the host will have to wait a minimum tWC before attempting to write new data. When this feature is employed, it will be easiest to incorporate in the system software if the module is viewed as a subsystem composed of four discrete memory devices with an address decoder (see Functional Diagram). In this manner, system memory mapping will extend onto the module. That is, the discrete 6 XM28C020 SOFTWARE DATA PROTECTION Figure 6. Timing Sequence—Byte or Page Write VCC (VCC) 0V DATA ADDR. A0–A15* AA 5555 55 2AAA A0 5555 tWC WRITE PROTECTED WRITES OK CE ≤tBLC MAX WE *A16 & A17 select one of four devices on the module. BYTE OR PAGE 3872 FHD F14 Figure 7. Write Sequence for Software Data Protection Regardless of whether the device has previously been protected or not, once the software data protected algorithm is used and data has been written, the device will automatically disable further writes unless another command is issued to cancel it. If no further commands are issued the device will be write protected during power-down and after any subsequent power-up. WRITE DATA AA TO ADDRESS 5555 WRITE DATA 55 TO ADDRESS 2AAA WRITE DATA A0 TO ADDRESS 5555 BYTE/PAGE LOAD ENABLED WRITE DATA XX TO ANY ADDRESS WRITE LAST BYTE TO LAST ADDRESS AFTER tWC RE-ENTERS DATA PROTECTED STATE 3872 FHD F15 7 XM28C020 RESETTING SOFTWARE DATA PROTECTION Figure 8. Reset Software Data Protection Timing Sequence VCC DATA ADDRESS A0–A15* AA 5555 55 2AAA 80 5555 AA 5555 55 2AAA 20 5555 ≥tWC STANDARD OPERATING MODE CE WE *A16 & A17 select one of four devices on the module. 3872 FHD F16 Figure 9. Software Sequence to Deactivate Software Data Protection In the event the user wants to deactivate the software data protection feature for testing or reprogramming in an E2PROM programmer, the following six step algorithm will reset the internal protection circuit. After tWC, the device will be in standard operating mode. WRITE DATA AA TO ADDRESS 5555 WRITE DATA 55 TO ADDRESS 2AAA WRITE DATA 80 TO ADDRESS 5555 SYMBOL TABLE WAVEFORM WRITE DATA AA TO ADDRESS 5555 WRITE DATA 55 TO ADDRESS 2AAA WRITE DATA 20 TO ADDRESS 5555 3872 FHD F17 8 INPUTS OUTPUTS Must be steady Will be steady May change from LOW to HIGH Will change from LOW to HIGH May change from HIGH to LOW Will change from HIGH to LOW Don’t Care: Changes Allowed N/A Changing: State Not Known Center Line is High Impedance XM28C020 SYSTEM CONSIDERATIONS prime concern. Enabling CE will cause transient current spikes. The magnitude of these spikes is dependent on the output capacitive loading of the I/Os. Therefore, the larger the array sharing a common bus, the larger the transient spikes. The voltage peaks associated with the current transients can be suppressed by the proper selection and placement of decoupling capacitors. As a minimum, it is recommended that a 0.1µF high frequency ceramic capacitor be used between VCC and VSS at each device. Depending on the size of the array, the value of the capacitor may have to be larger. Because the XM28C020 is frequently used in large memory arrays it is provided with a two line control architecture for both read and write operations. Proper usage can provide the lowest possible power dissipation and eliminate the possibility of contention where multiple I/O pins share the same bus. To gain the most benefit it is recommended that CE be decoded from the address bus and be used as the primary device selection input. Both OE and WE would then be common among all devices in the array. For a read operation this assures that all deselected devices are in their standby mode and that only the selected device(s) is outputting data on the bus. In addition, it is recommended that a 4.7µF electrolytic bulk capacitor be place between VCC and VSS for every two modules employed in the array. This bulk capacitor is employed to overcome the voltage droop caused by the inductive effects of the PC board traces. Because the XM28C020 has two power modes, standby and active, proper decoupling of the memory array is of 9 XM28C020 ABSOLUTE MAXIMUM RATINGS* Temperature under Bias .................. –65°C to +135°C Storage Temperature ....................... –65°C to +150°C Voltage on any Pin with Respect to VSS ................................................ –1V to +7V D.C. Output Current ............................................. 5mA Lead Temperature (Soldering, 10 seconds) .............................. 300°C *COMMENT Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and the functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. D.C. OPERATING CHARACTERISTICS XM28C020 TA = 0°C to +70°C, VCC = +5V ±10%, unless otherwise specified. XM28C020I TA = –40°C to +85°C, VCC = +5V ±10%, unless otherwise specified. XM28C020M TA = –55°C to +125°C, VCC = +5V ±10%, unless otherwise specified. Limits Symbol Parameter Min. Max. Units ICC VCC Current (Active) (TTL Inputs) 100 mA ISB1 VCC Current (Standby) (TTL Inputs) VCC Current (Standby) (CMOS Inputs) Input Leakage Current Output Leakage Current Input LOW Voltage Input HIGH Voltage Output LOW Voltage Output HIGH Voltage 25 mA 5 mA 20 20 0.8 VCC + 1 0.4 µA µA V V V V ISB2 ILI ILO VlL VIH VOL VOH –1 2 2.4 Test Conditions CE = OE = VIL, WE = VIH, All I/O’s = Open, 1 Device Active Address Inputs = TTL Levels @ f = 5MHz CE = VIH, OE = VIL All I/O’s = Open, Other Inputs = VIH CE = VIH, OE = VIL All I/O’s = Open, Other Inputs = VCC VIN = VSS to VCC VOUT = VSS to VCC, CE = VIH IOL = 2.1mA IOH = –400µA 3856 PGM T02.2 POWER-UP TIMING Symbol Parameter Typ.(1) Units tPUR(2) tPUW(2) Power-up to Initiation of Read Operation Power-up to Initiation of Write Operation 100 5 µs ms 3872 PGM T03 CAPACITANCE TA = +25°C, f = 1MHz, VCC = 5V Symbol CI/O(2) CIN(2) Parameter Input/Output Capacitance Input Capacitance Max. Units Test Conditions 50 50 pF pF VI/O = 0V VIN = 0V 3872 PGM T04.1 Notes: (1) Typical values are for TA = 25°C and nominal supply voltage. (2) This parameter is periodically sampled and not 100% tested. 10 XM28C020 A.C. CONDITIONS OF TEST Input Pulse Levels Input Rise and Fall Times Input and Output Timing Levels Output Load MODE SELECTION 0V to 3V 10ns 1.5V 1 TTL Gate and CL = 100pF CE OE WE Mode I/O Power L L H X X L H X L X H L X X H Read Write Standby and Write Inhibit Write Inhibit Write Inhibit DOUT DIN High Z — — Active Active Standby — — 3872 PGM T06 3872 PGM T05.1 A.C. CHARACTERISTICS XM28C020 TA = 0°C to +75°C, VCC = +5V ±10%, unless otherwise specified. XM28C020I TA = –40°C to +85°C, VCC = +5V ±10%, unless otherwise specified. XM28C020M TA = –55°C to +125°C, VCC = +5V ±10%, unless otherwise specified. Read Cycle Limits XM28C020-15 Symbol tRC tCE tAA tOE tLZ(3) tOLZ(3) tHZ(4) tOHZ(4) tOH Parameter Min. Read Cycle Time 150 Chip Enable Access Time Address Access Time Output Enable Access Time CE Low to Active Output 0 OE Low to Active Output 0 CE High to High Z Output OE High to High Z Output Output Hold From Address Change 0 Max. XM28C020-20 Min. 200 150 150 70 Max. XM28C020-25 Min. 250 200 200 80 0 0 100 100 Max. Units ns ns ns ns ns ns ns ns ns 250 250 100 0 0 100 100 0 100 100 0 3872 PGM T07.1 Read Cycle tRC ADDRESS tCE CE tOE OE WE VIH tOLZ tOHZ tLZ DATA I/O HIGH Z tOH DATA VALID DATA VALID tAA Note: tHZ 3872 FHD F03 (3) tLZ and tOLZ are shown for reference only, they are periodically characterized and are not 100% tested. (4) tHZ and tOHZ are measured from the point when CE or OE return high (whichever occurs first) to the time when the outputs are no longer driven. 11 XM28C020 Write Cycle Limits Symbol tWC tAS tAH tCS tCH tCW tOES tOEH tWP tWPH tDV tDS tDH tDW tBLC Parameter Write Cycle Time Address Setup Time Address Hold Time Write Setup Time Write Hold Time CE Pulse Width OE High Setup Time OE High Hold Time WE Pulse Width WE High Recovery Data Valid Data Setup Data Hold Delay to Next Write Byte Load Cycle WE Controlled Write Min. Max. 10 0 125 25 0 125 10 10 100 100 1 50 10 10 0.3 100 CE Controlled Write (4) Min. Max. 10 0 125 0 25 100 10 35 125 100 1 50 35 10 0.3 100 Units ms ns ns ns ns ns ns ns ns ns µs ns ns µs µs 3872 PGM T08.1 WE Controlled Write Cycle tWC ADDRESS tAS tAH tCS tCH CE OE tOES tOEH tWP WE tWPH tDV DATA IN DATA VALID tDS DATA OUT tDH HIGH Z 3872 FHD F04 Note: (4) Due to the inclusion of the decoder IC on board the module the WE and CE write controlled timings will vary. When utilizing the CE controlled write operation all the hold timings must be extended by the worst case propagation delay of the decoder. For a WE controlled write operation CE must be a minimum 125ns to accommodate the additional setup time required. 12 XM28C020 CE Controlled Write Cycle tWC ADDRESS tAS tAH tCW CE tWPH tOES OE tOEH tCS tCH WE tDV DATA IN DATA VALID tDS tDH HIGH Z DATA OUT 3872 FHD F05 Page Write Cycle OE CE tWP tBLC WE tWPH *ADDRESS I/O LAST BYTE BYTE 0 BYTE 1 BYTE 2 BYTE n *For each successive write within the page write operation, A7–A17 should be the same or writes to an unknown address could occur. 13 BYTE n+1 BYTE n+2 tWC 3872 FHD F06 XM28C020 DATA Polling Timing Diagram ADDRESS An An An CE WE tOEH tOES OE tDW I/O7 DIN=X DOUT=X DOUT=X tWC 3872 FHD F07 Toggle Bit Timing Diagram CE WE tOES tOEH OE tDW I/O6 HIGH Z * * tWC * Starting and ending state of I/O6 will vary, depending upon actual tWC. 14 3872 FHD F08 XM28C020 PACKAGING INFORMATION 32-PIN DUAL-IN-LINE PACKAGE CERAMIC LEADLESS CHIP CARRIERS ON SIDE BRAZED CERAMIC SUBSTRATE PIN 1 1.600 ± .016 (40.64 ± .40) .295 MAX. (7.49) .010 MIN. (.25) .018 ± .002 (.46 ± .05) .014 MIN. (3.56) .100 ± .005 TYP. (2.54 ± .13) 1.500 ± .008 (38.10 ± .38) TOL. NON. ACCUM. + .002 – .001 + .05 (.25 ) – .03 .010 .600 ± .010 (15.24 ± .25) NOTES: 1. ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS) 2. DIMENSIONS WITH NO TOLERANCE FOR REFERENCE ONLY 3926 FHD F12 15 XM28C020 ORDERING INFORMATION 2 MEGABIT E2 MODULES XM28C020 X X –X Access Time 12 = 120ns 15 = 150ns 20 = 200ns 25 = 250ns Device Temperature Range Blank = 0°C to +70°C I = –40°C to +85°C M = –55°C to +125°C MHR = –55°C to +125°C (High Rel. Processing) Blank = 32-Lead Ceramic Module P = 66 Pin PUMA Module (64K x 32 Bit) LIMITED WARRANTY Devices sold by Xicor, Inc. are covered by the warranty and patent indemnification provisions appearing in its Terms of Sale only. Xicor, Inc. makes no warranty, express, statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. Xicor, Inc. makes no warranty of merchantability or fitness for any purpose. Xicor, Inc. reserves the right to discontinue production and change specifications and prices at any time and without notice. Xicor, Inc. assumes no responsibility for the use of any circuitry other than circuitry embodied in a Xicor, Inc. product. No other circuits, patents, licenses are implied. U.S. PATENTS Xicor products are covered by one or more of the following U.S. Patents: 4,263,664; 4,274,012; 4,300,212; 4,314,265; 4,326,134; 4,393,481; 4,404,475; 4,450,402; 4,486,769; 4,488,060; 4,520,461; 4,533,846; 4,599,706; 4,617,652; 4,668,932; 4,752,912; 4,829, 482; 4,874, 967; 4,883, 976. Foreign patents and additional patents pending. LIFE RELATED POLICY In situations where semiconductor component failure may endanger life, system designers using this product should design the system with appropriate error detection and correction, redundancy and back-up features to prevent such an occurence. Xicor's products are not authorized for use in critical components in life support devices or systems. 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. 16