FINAL Am27C040 4 Megabit (524,288 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS ■ ±10% power supply tolerance standard on most speeds ■ 100% Flashrite™ programming ■ Fast access time — 90 ns ■ Low power consumption — 100 µA maximum CMOS standby current JEDEC-approved pinout — Plug in upgrade of 1 Mbit EPROM and 2 Mbit EPROMs — Easy upgrade from 28-pin JEDEC EPROMs ■ Single +5 V power supply — Typical programming time of 1 minute ■ Latch-up protected to 100 mA from –1 V to VCC + 1 V ■ High noise immunity ■ Compact 32-pin DIP, PDIP, PLCC, TSOP packages GENERAL DESCRIPTION The Am27C040 is a 4 Mbit ultraviolet erasable programmable read-only memory. It is organized as 512K words by 8 bits per word, operates from a single +5 V supply, has a static standby mode, and features fast single address location programming. Products are available in windowed ceramic DIP packages, as well as plastic one-time programmable (OTP) packages. (CE) controls, thus eliminating bus contention in a multiple bus microprocessor system. Typically, any byte can be accessed in less than 90 ns, allowing operation with high-performance microprocessors without any WAIT states. The Am27C040 offers separate Output Enable (OE) and Chip Enable All signals are TTL levels, including programming signals. Bit locations may be programmed singly, in blocks, or at random. The Am27C040 supports AMD’s Flashrite programming algorithm (100 µs pulses) resulting in typical programming time of 1 minute. AMD’s CMOS process technology provides high speed, low power, and high noise immunity. Typical power consumption is only 100 mW in active mode, and 100 µW in standby mode. BLOCK DIAGRAM VCC VSS VPP OE CE/PGM A0–A18 Address Inputs Data Outputs DQ0–DQ7 Output Enable Chip Enable and Prog Logic Output Buffers Y Decoder Y Gating X Decoder 4,194,304-Bit Cell Matrix 14971E-1 Publication# 14971 Rev: E Amendment/+1 Issue Date: July 1997 PRODUCT SELECTOR GUIDE Family Part No: Am27C040 Ordering Part No: VCC = 5.0 V ± 5% -95 VCC = 5.0 V ± 10% -255 -90 -120 -150 -200 Max Access Time (ns) 90 120 150 200 250 CE (E) Access (ns) 90 120 150 200 250 OE (G) Access (ns) 40 50 65 75 100 CONNECTION DIAGRAMS Top View A17 32 VCC A16 A18 1 A16 2 31 A18 4 3 2 1 32 31 30 A15 3 30 A17 A7 5 29 A14 6 28 A13 VPP VPP A15 VCC PLCC A12 DIP A12 4 29 A14 A6 A7 5 28 A13 A5 7 27 A8 A8 A4 8 26 A9 A3 9 25 A11 A2 10 24 OE (G) A1 11 23 A10 A0 12 22 CE/PGM (P) DQ0 13 21 DQ7 A9 9 24 OE (G) A2 10 23 A10 A1 11 22 CE/PGM (P) A0 12 21 DQ7 DQ0 13 20 DQ6 DQ1 14 19 DQ5 DQ2 15 18 DQ4 VSS 16 17 DQ3 14 15 16 17 18 19 20 DQ6 A3 A11 DQ5 25 DQ4 8 A4 DQ3 26 VSS 7 27 DQ2 A5 6 DQ1 A6 14971E-3 14971E-2 Notes: 1. JEDEC nomenclature is in parenthesis. 2. The 32-pin DIP to 32-pin PLCC configuration varies from the JEDEC 28-pin DIP to 32-pin PLCC configuration. 2 Am27C040 CONNECTION DIAGRAMS TSOP A11 A9 A8 A13 A14 A17 A18 VCC VPP A16 A15 A12 A7 A6 A5 A4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 OE A10 CE/PGM DQ7 DQ6 DQ5 DQ4 DQ3 VSS DQ2 DQ1 DQ0 A0 A1 A2 A3 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 14971E-4 Standard Pinout PIN DESIGNATIONS A0–A18 = Address Inputs CE(E)/PGM (P) = Chip Enable Input DQ0–DQ7 = Data Inputs/Outputs OE (G) = Output Enable Input VCC = VCC Supply Voltage VPP = Program Voltage Input VSS = Ground LOGIC SYMBOL 19 A0–A18 8 DQ0–DQ7 CE (E)/PGM (P) OE (G) 14971E-5 Am27C040 3 ORDERING INFORMATION UV EPROM Products AMD standard products are available in several packages and operating ranges. The order number (Valid Combination) is formed by a combination of: AM27C040 -90 D C B OPTIONAL PROCESSING Blank = Standard Processing B = Burn-In TEMPERATURE RANGE C = Commercial (0°C to +70°C) I = Industrial (–40°C to +85°C) E = Extended (–55°C to +125°C) PACKAGE TYPE D = 32-Pin Ceramic DIP (CDV032) SPEED OPTION See Product Selector Guide and Valid Combinations DEVICE NUMBER/DESCRIPTION Am27C040 4 Megabit (512K x 8-Bit) CMOS UV EPROM Valid Combinations Valid Combinations AM27C040-90 VCC = 5.0 V ± 10% Valid Combinations list configurations planned to be supported in volume for this device. Consult the local AMD sales office to confirm availability of specific valid combinations and to check on newly released combinations. DC, DI AM27C040-95 VCC = 5.0 V ± 5% AM27C040-120 AM27C040-150 DC, DCB, DE, DEB, DI, DIB AM27C040-200 AM27C040-255 VCC = 5.0 V ± 5% 4 DC, DCB, DI, DIB Am27C040 ORDERING INFORMATION OTP EPROM Products AMD standard products are available in several packages and operating ranges. The order number (Valid Combination) is formed by a combination of: AM27C040 -90 J C OPTIONAL PROCESSING Blank = Standard Processing TEMPERATURE RANGE C = Commercial (0°C to +70°C) I = Industrial (–40°C to +85°C) PACKAGE TYPE P = 32-Pin Plastic DIP (PD 032) J = 32-Pin Rectangular Plastic Leaded Chip Carrier (PL 032) E = 32-Pin Thin Small Outline Package (TSOP) Standard Pinout (TS 032) SPEED OPTION See Product Selector Guide and Valid Combinations DEVICE NUMBER/DESCRIPTION Am27C040 4 Megabit (512K x 8-Bit) CMOS OTP EPROM Valid Combinations Valid Combinations Valid Combinations list configurations planned to be supported in volume for this device. Consult the local AMD sales office to confirm availability of specific valid combinations and to check on newly released combinations. AM27C040-90 VCC = 5.0 V ± 10% AM27C040-95 VCC = 5.0 V ± 5% AM27C040-120 PC, PI, JC, JI, EC, EI AM27C040-150 AM27C040-200 AM27C040-255 VCC = 5.0 V ± 5% Am27C040 5 FUNCTIONAL DESCRIPTION Erasing the Am27C040 In order to clear all locations of their programmed contents, it is necessary to expose the Am27C040 to an ultraviolet light source. A dosage of 15 W seconds/cm2 is required to completely erase an Am27C040. This dosage can be obtained by exposure to an ultraviolet lamp — wavelength of 2537 Å — with intensity of 12,000 mW/cm2 for 15 to 20 minutes. The Am27C040 should be directly under and about one inch from the source and all filters should be removed from the UV light source prior to erasure. It is important to note that the Am27C040, and similar devices, will erase with light sources having wavelengths shorter than 4000 Å. Although erasure times will be much longer than with UV sources at 2537 Å, nevertheless the exposure to fluorescent light and sunlight will eventually erase the Am27C040 and exposure to them should be prevented to realize maximum system reliability. If used in such an environment, the package window should be covered by an opaque label or substance. Programming the Am27C040 Upon delivery, or after each erasure, the Am27C040 has all 4,194,304 bits in the “ONE”, or HIGH state. “ZEROs” are loaded into the Am27C040 through the procedure of programming. The programming mode is entered when 12.75 V ± 0.25 V is applied to the VPP pin, CE/PGM is at VIL and OE is at VIH . For programming, the data to be programmed is applied 8 bits in parallel to the data output pins. The Flashrite algorithm reduces programming time by using a 100 µs programming pulse and by giving each address only as many pulses as are necessary in order to reliably program the data. After each pulse is applied to a given address, the data in that address is verified. If the data does not verify, additional pulses are given until it verifies or the maximum is reached. This process is repeated while sequencing through each address of the Am27C040. This part of the algorithm is done at VCC = 6.25 V to assure that each EPROM bit is programmed to a sufficiently high threshold voltage. After the final address is completed, the entire EPROM memory is verified at VCC = VPP = 5.25 V. an Am27C040 CE/PGM input with VPP = 12.75 V ± 0.25 V, and OE HIGH will program that Am27C040. A high-level CE/PGM input inhibits the other Am27C040s from being programmed. Program Verify A verify should be performed on the programmed bits to determine that they were correctly programmed. The verify should be performed with OE and CE/PGM at VIL, and VPP between 12.5 V and 13.0 V. Auto Select Mode The auto select mode allows the reading out of a binary code from an EPROM that will identify its manufacturer and type. This mode is intended for use by programming equipment for the purpose of automatically matching the device to be programmed with its corresponding programming algorithm. This mode is functional in the 25˚C ± 5˚C ambient temperature range that is required when programming the Am27C040. To activate this mode, the programming equipment must force 12.0 V ± 0.5 V on address line A9 of the Am27C040. Two identifier bytes may then be sequenced from the device outputs by toggling address line A0 from VIL to VIH. All other address lines must be held at VIL during auto select mode. Byte 0 (A0 = VIL) represents the manufacturer code, and Byte 1 (A0 = VIH), the device identifier code. For the Am27C040, these two identifier bytes are given in the Mode Select table. All identifiers for manufacturer and device codes will possess odd parity, with the MSB (DQ7) defined as the parity bit. Read Mode The Am27C040 has two control functions, both of which must be logically satisfied in order to obtain data at the outputs. Chip Enable (CE/PGM) is the power control and should be used for device selection. Output Enable (OE) is the output control and should be used to gate data to the output pins, independent of device selection. Assuming that addresses are stable, address access time (tACC) is equal to the delay from CE/ PGM to output (tCE). Data is available at the outputs tOE after the falling edge of OE, assuming that CE/PGM has been LOW and addresses have been stable for at least tACC – tOE. Please refer to Section 5 for the programming flow chart and characteristics. Program Inhibit Programming of multiple Am27C040s in parallel with different data is also easily accomplished. Except for CE/PGM, all like inputs of the parallel Am27C040 may be common. A TTL low-level program pulse applied to 6 Am27C040 Standby Mode System Applications The Am27C040 has a CMOS standby mode which reduces the maximum VCC current to 100 µA. It is placed in CMOS-standby when CE/PGM is at VCC ± 0.3 V. The Am27C040 also has a TTL-standby mode which reduces the maximum VCC current to 1.0 mA. It is placed in TTL-standby when CE/PGM is at V IH . When in standby mode, the outputs are in a high-impedance state, independent of the OE input. During the switch between active and standby conditions, transient current peaks are produced on the rising and falling edges of Chip Enable. The magnitude of these transient current peaks is dependent on the output capacitance loading of the device. At a minimum, a 0.1 µF ceramic capacitor (high frequency, low inherent inductance) should be used on each device between VCC and VSS to minimize transient effects. In addition, to overcome the voltage drop caused by the inductive effects of the printed circuit board traces on EPROM arrays, a 4.7 µF bulk electrolytic capacitor should be used between VCC and VSS for each eight devices. The location of the capacitor should be close to where the power supply is connected to the array. Output OR-Tieing To accommodate multiple memory connections, a two-line control function is provided to allow for: ■ Low memory power dissipation ■ Assurance that output bus contention will not occur It is recommended that CE/PGM be decoded and used as the primary device-selecting function, while OE be made a common connection to all devices in the array and connected to the READ line from the system control bus. This assures that all deselected memory devices are in their low-power standby mode and that the output pins are only active when data is desired from a particular memory device. MODE SELECT TABLE Pins Mode CE/PGM OE A0 A9 VPP Outputs Read VIL VIL X X X DOUT Output Disable VIL VIH X X X HIGH Z Standby (TTL) VIH X X X X HIGH Z VCC + 0.3 V X X X X HIGH Z Program VIL VIH X X VPP DIN Program Verify VIL VIL X X VPP DOUT Program Inhibit VIH X X X VPP HIGH Z Standby (CMOS) Auto Select Manufacturer Code VIL VIL VIL VH X 01H (Note 3) Device Code VIL VIL VIH VH X 9BH Note: 1. VH = 12.0 V ± 0.5 V. 2. X = Either VIH or VIL 3. A1 – A8 = A10 – A18 = VIL 4. See DC Programming Characteristics for VPP voltage during programming Am27C040 7 ABSOLUTE MAXIMUM RATINGS OPERATING RANGES Storage Temperature Commercial (C) Devices OTP Products . . . . . . . . . . . . . . . . –65°C to +125°C Ambient Temperature (TA) . . . . . . . . . . . 0°C to +70°C All Other Products. . . . . . . . . . . . . –65°C to +150°C Industrial (I) Devices Ambient Temperature with Power Applied . . . . . . . . . . . . . –55°C to + 125°C Ambient Temperature (TA) . . . . . . . . . –40°C to +85°C Voltage with Respect to VSS Ambient Temperature (TA) . . . . . . . . –55°C to +125°C All pins except A9, VPP, VCC (Note 1) . . . . . . . . . . . . . . –0.6 V to VCC +0.5 V A9 and VPP (Note 2). . . . . . . . . . . . . –0.6 V to +13.5 V VCC . . . . . . . . . . . . . . . . . . . . . . . . . . –0.6 V to +7.0 V 1. During voltage transitions, inputs may overshoot VSS to – 2.0 V for periods of up to 20 ns. Maximum DC voltage on input and I/O pins may overshoot to VCC + 2.0 V for periods up to 20ns. Extended (E) Devices Supply Read Voltages VCC for Am27C040-95, 255. . . . . . +4.75 V to +5.25 V VCC for Am27C040-90, 120, 150, 200 . . . . . . . . . . . . . . . . . . . . +4.50 V to +5.50 V Operating ranges define those limits between which the functionality of the device is guaranteed. 2. During voltage transitions, A9 and VPP may overshoot VSS to –2.0 V for periods of up to 20 ns. A9 and VPP must not exceed +13.5 V at any time. Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only; 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 of the device to absolute maximum rating conditions for extended periods may affect device reliability. 8 Am27C040 DC CHARACTERISTICS over operating ranges unless otherwise specified (Notes 1, 3, and 4) Parameter Symbol Parameter Description Test Conditions VOH Output HIGH Voltage IOH = –400 µA VOL Output LOW Voltage IOL = 2.1 mA VIH Input HIGH Voltage VIL Input LOW Voltage Input Load Current ILI Min Max Unit 2.4 VIN = 0 V to VCC V 0.45 V 2.0 VCC + 0.5 V –0.5 +0.8 V C/I Devices 1.0 E Devices 5.0 VOUT = 0 V to VCC 5.0 µA µA ILO Output Leakage Current ICC1 VCC Active Current (Note 3) ICC2 VCC TTL Standby Current CE = VIH 1.0 mA ICC3 VCC CMOS Standby Current CE = VCC ± 0.3 V 100 µA IPP1 VPP Current During Read CE = OE = VIL, VPP = VCC 100 µA CE = VIL, f = 10 MHz, IOUT = 0 MA C/I Devices 40 E Devices 60 mA Note: 1. VCC must be applied simultaneously or before VPP and removed simultaneously or after VPP 2. Caution: The Am27C040 must not be removed from (or inserted into) a socket when VCC or VPP is applied. 3. Icc1 is tested with OE = VIH to simulate open outputs. 4. Minimum DC Input Voltage is –0.5. During transitions, the inputs may overshoot to –2.0 V for periods less than 20 ns. Maximum DC Voltage on output pins is Vcc +0.5 V, which may overshoot to VCC +2.0 V for periods less than 20 ns. 25 15 10 5 1 2 3 4 5 6 Frequency in MHz 7 8 9 10 Figure 1. Typical Supply Current vs. Frequency VCC = 5.5 V, T = 25°C 20 in mA Supply Current 20 in mA Supply Current 25 15 10 5 –75 –50 –25 0 25 50 75 Temperature in °C 100 125 150 Figure 2. Typical Supply Current vs. Temperature VCC = 5.5 V, f = 10 MHz 14971E-6 Am27C040 14971E-7 9 CAPACITANCE Parameter Symbol Parameter Description Test Conditions CDV032 PD 032 PL 032 TS 032 Typ Max Typ Max Typ Max Typ Max Unit CIN Input Capacitance VIN = 0 V 10 12 10 12 8 10 10 12 pF COUT Output Capacitance VOUT = 0 V 12 15 12 15 9 12 12 14 pF Notes: 1. This parameter is only sampled and not 100% tested. 2. TA = +25°C, f = 1 MHz. AC CHARACTERISTICS Parameter Symbols Am27C040 -90 -95 -120 -150 -200 -255 Unit CE = OE = Max VIL 90 120 150 200 250 ns Chip Enable to Output Delay OE = VIL Max 90 120 150 200 250 ns Output Enable to Output Delay CE = VIL Max 40 50 65 75 75 ns Chip Enable High or Output Enable High, Whichever Occurs First, to Output Float Max 30 30 30 40 60 ns Output Hold Time from Addresses, CE or OE, Whichever Occurs First Min 0 0 0 0 0 ns JEDEC Standard Description tAVQV tACC Address to Output Delay tELQV tCE tGLQV tOE tEHQZ tGHQZ tDF (Note 3) tAXQX tOH Test Setup Notes: 1. Caution: Do not remove the Am27C040 from (or insert it into) a socket or board that has VPP or VCC applied. 2. VCC must be applied simultaneously or before VPP, and removed simultaneously or after VPP. 3. This parameter is sampled and not 100% tested. 4. Switching characteristics are over operating range, unless otherwise specified. 5. Test Conditions: Output Load: 1 TTL gate and CL = 100 pF Input rise and fall times: 20 ns Input pulse levels: 0.45 V to 2.4 V Timing measurement reference level, inputs and outputs: 0.8 V and 2.0 V 10 Am27C040 SWITCHING TEST CIRCUIT 2.7 kΩ Device Under Test 5.0 V CL Diodes = IN3064 or Equivalent 6.2 kΩ CL = 100 pF including jig capacitance 14971E-6 SWITCHING TEST WAVEFORM 2.4 V 2.0 V 2.0 V Test Points 0.8 V 0.8 V 14971E-7 0.45 V Input Output AC Testing: Inputs are driven at 2.4 V for a Logic “1" and 0.45 V for a Logic “0". Input pulse rise and fall times are ≤ 20 ns Am27C040 11 KEY TO SWITCHING WAVEFORMS WAVEFORM INPUTS OUTPUTS Must Be Steady Will Be Steady May Change from H to L Will Be Changing from H to L May Change from L to H Will Be Changing from L to H Don’t Care, Any Change Permitted Changing, State Unknown Does Not Apply Center Line is High Impedance “Off” State KS000010 SWITCHING WAVEFORM 2.4 Addresses 0.45 2.0 0.8 2.0 0.8 Addresses Valid CE/PGM tCE OE Output High Z tACC (Note 1) tOE tOH tDF (Note 2) High Z Valid Output Note: 1. OE may be delayed up to tACC - tOE after the falling edge of the addresses without impact on tACC. 2. DF is specified from OE or CE, whichever occurs first. 14971E-10 12 Am27C040 REVISION SUMMARY FOR AM27C040 Programming the Am27C040: Product Selector Guide: The fourth paragraph should read, “Please refer to Section 5 for programming…”. Added -90 (90 ns, ±10% VCC) and deleted -100 speed options. Operating Ranges: Changed Supply Read Voltages listings to match those in the Product Selector Guide. Ordering Information, UV EPROM Products: The -90 part number is now listed in the example. Valid Combinations: Added -90 and deleted -100 speed options in valid combinations. Ordering Information, OTP EPROM Products: AC Characteristics: Added -90 and deleted -100 speed options in table, rearranged notes, moved text from table title to Note 4, renamed table. The -90 part number is now listed in the example. Valid Combinations: Added -90 and deleted -100 speed options in valid combinations. Am27C040 13