MX28F160C3T/B 16M-BIT [1M x16] CMOS SINGLE VOLTAGE 3V ONLY FLASH MEMORY FEATURES * Bit Organization: 1,048,576 x 16 * Single power supply operation - VCC=VCCQ=2.7~3.6V for read, erase and program operation - VPP=12V for fast production programming - Operating temperature:-40 C~85 C * Fast access time : 70/90/110ns * Low power consumption - 9mA typical active read current, f=5MHz - 18mA typical program current (VPP=1.65~3.6V) - 21mA typical erase current (VPP=1.65~3.6V) - 7uA typical standby current under power saving mode * Sector architecture - Sector structure : 4Kword x 2 (boot sectors), 4Kword x 6 (parameter sectors), 32Kword x 31 (main sectors) - Top/Bottom Boot * Auto Erase and Auto Program - Automatically program and verify data at specified address - Auto sector erase at specified sector * Automatic Suspend Enhance * * * * * * * * - Word write suspend to read - Sector erase suspend to word write - Sector erase suspend to read register report Automatic sector erase, word write and sector lock/ unlock configuration Status Reply - Detection of program and erase operation completion. - Command User Interface (CUI) - Status Register (SR) Data Protection Performance - Include boot sectors and parameter and main sectors to be locked/unlocked 100,000 minimum erase/program cycles Common Flash Interface (CFI) 128-bit Protection Register - 64-bit Unique Device Identifier - 64-bit User-Programmable Latch-up protected to 100mA from -1V to VCC+1V Package type: - 48-pin TSOP (12mm x 20mm) - 48-ball CSP (8mm x 6mm) fast as 70ns, allowing operation of high-speed microprocessors without wait states. GENERAL DESCRIPTION The MX28F160C3T/B is a 16-mega bit Flash memory organized as 1M words of 16 bits. The 1M word of data is arranged in eight 4Kword boot and parameter sectors, and thirty-one 32K word main sectors which are individually erasable. MXIC's Flash memories offer the most cost-effective and reliable read/write non-volatile random access memory. The MX28F160C3T/B is packaged in 48-pin TSOP and 48-ball CSP. It is designed to be reprogrammed and erased in system or in standard EPROM programmers. MXIC's Flash memories augment EPROM functionality with in-circuit electrical erasure and programming. The MX28F160C3T/B uses a command register to manage this functionality. The command register allows for 100% TTL level control inputs and fixed power supply levels during erase and programming, while maintaining maximum EPROM compatibility. MXIC Flash technology reliably stores memory contents even after 100,000 erase and program cycles. The MXIC cell is designed to optimize the erase and programming The standard MX28F160C3T/B offers access time as P/N:PM0867 REV. 1.2, MAR. 17, 2004 1 MX28F160C3T/B mechanisms. In addition, the combination of advanced tunnel oxide processing and low internal electric fields for erase and program operations produces reliable cycling. The MX28F160C3T/B uses a 2.7V~3.6V VCC supply to perform the High Reliability Erase and auto Program/Erase algorithms. tially reduces active current when the device is in static mode (addresses not switching). In this mode, the typical ICCS current is 7uA (CMOS) at 3.0V VCC. As CE and RP are at VCC, ICC CMOS standby mode is enabled. When RP is at GND, the reset mode is enabled which minimize power consumption and provide data write protection. The highest degree of latch-up protection is achieved with MXIC's proprietary non-epi process. Latch-up protection is proved for stresses up to 100 milliamps on address and data pin from -1V to VCC + 1V. A reset time (tPHQV) is required from RP switching high until outputs are valid. Similarly, the device has a wake time (tPHEL) from RP-high until writes to the CUI are recognized. With RP at GND, the WSM is reset and the status register is cleared. The dedicated VPP pin gives complete data protection when VPP< VPPLK. A Command User Interface (CUI) serves as the interface between the system processor and internal operation of the device. A valid command sequence written to the CUI initiates device automation. An internal Write State Machine (WSM) automatically executes the algorithms and timings necessary for erase, word write and sector lock/unlock configuration operations. A sector erase operation erases one of the device's 32Kword sectors typically within 1.0s, 4K-word sectors typically within 0.5s independent of other sectors. Each sector can be independently erased minimum 100,000 times. Sector erase suspend mode allows system software to suspend sector erase to read or write data from any other sector. Writing memory data is performed in word increments of the device's 32K-word sectors typically within 0.8s and 4K-word sectors typically within 0.1s. Word program suspend mode enables the system to read data or execute code from any other memory array location. MX28F160C3T/B features with individual sectors locking by using a combination of bits thirty-nine sector lockbits and WP, to lock and unlock sectors. The status register indicates when the WSM's sector erase, word program or lock configuration operation is done. The access time is 70/90/110ns (tELQV) over the operating temperature range (-40 C to +85 C) and VCC supply voltage range of 2.7V~3.6V. MX28F160C3T/B's power saving mode feature substan- REV. 1.2, MAR. 17, 2004 P/N:PM0867 2 MX28F160C3T/B BLOCK DIAGRAM DQ0-DQ15 Output Buffer Input Buffer VCC Identifier Register CE Data Register Output Multiplexer I/O Logic Status Register WE Command User Interface OE RP WP Data Comparator A0~A19 Input Buffer Y Decoder Write State Machine Y-Gating Program/Erase Voltage Switch VPP VCC Main Sector 30 32K-Word Main Sector x31 Main Sector 29 Main Sector 1 Main Sector 0 X Decoder ....... Address Latch Boot Sector 0 Boot Sector 1 Parameter Sector Parameter Sector Parameter Sector Parameter Sector Parameter Sector Parameter Sector 0 1 2 3 4 5 GND Address Counter ....... REV. 1.2, MAR. 17, 2004 P/N:PM0867 3 MX28F160C3T/B PIN CONFIGURATIONS 48 TSOP (Standard Type) (12mm x 20mm) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 A15 A14 A13 A12 A11 A10 A9 A8 NC NC WE RP VPP WP A19 A18 A17 A7 A6 A5 A4 A3 A2 A1 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 MX28F160C3T/B A16 VCCQ GND Q15 Q7 Q14 Q6 Q13 Q5 Q12 Q4 VCC Q11 Q3 Q10 Q2 Q9 Q1 Q8 Q0 OE GND CE A0 48 Ball CSP (8mm x 6mm) Top View, Ball Down for MX28F160C3T/BXA (Ball Pitch=0.75mm, Ball Width=0.35mm) A1 A2 A3 A4 A13 A11 A8 VPP B1 B2 B3 B4 A14 A10 WE C1 C2 A15 A5 A6 A7 A8 A19 A7 A4 B5 B6 B7 B8 RP A18 A17 A5 A2 C3 C4 C5 C6 C7 C8 A12 A9 NC NC A6 A3 A1 D1 D2 D3 D4 D5 D6 D7 D8 A16 DQ14 DQ5 DQ11 DQ8 CE A0 E3 E4 E5 E6 E7 E8 DQ6 DQ12 DQ3 DQ9 DQ0 WP 6.0 mm E1 VCCQ E2 DQ15 DQ2 GND F1 F2 F3 F4 F5 F6 F7 F8 GND DQ7 DQ13 DQ4 VCC DQ10 DQ1 OE 8.0 mm REV. 1.2, MAR. 17, 2004 P/N:PM0867 4 MX28F160C3T/B Table 1. Pin Description Symbol A0-A19 DQ0-DQ15 Type input input/output CE input RP input WE input VPP input/supply OE WP input input VCC VCCQ GND supply input supply Description and Function Address inputs for memory address. Data pin float to high-impedance when the chip is deselected or outputs are disable. Addresses are internally latched during a write or erase cycle. Data inputs/outputs: Inputs array data on the second CE and WE cycle during a program command. Data is internally latched. Outputs array and configuration data. The data pin float to tri-state when the chip is de-selected. Chip Enable : Activates the device's control logic, input buffers, and sense amplifiers. CE high de-selects the memory device and reduce power consumption to standby level. CE is active low. Reset/Deep Power Down: when RP=VIL, the device is in reset/deep power down mode, which drives the outputs to High Z, resets the WSM and minimizes current level. When RP=VIH, the device is normal operation. When RP transitions from VIL to VIH, the device defaults to the read array mode. Write Enable: to control write to CUI and array sector. WE=VIL becomes active. The data and addresses are latched on the rising edge of the second WE pulse. Program/Erase Power Supply:(1.65V~3.6V or 11.4V~12.6V) Lower VPP2 2,4 Write X 90H Read IA ID Read Query 2 2,7 Write X 98H Read QA QD Read Status Register 2 3 Write X 70H Read X SRD Clear Status Register 1 3 Write X 50H Sector Erase/Confirm 2 Write X 20H Write SA D0H Word Write 2 Write X 40H/10H Write WA WD Program/Erase Suspend 1 Write X B0H Program/Erase Resume 1 Write X D0H Sector Lock 2 Write X 60H Write SA 01H Sector Unlock 2 Write X 60H Write SA D0H Lock-Down Sector 2 Write X 60H Write SA 2FH Protection Program 2 Write X C0H Write PA PD 2,5 6 Notes: 1. Bus operation are defined in Table 2 and referred to AC Timing Waveform. 2. X=Any address within device. IA=ID-Code Address (refer to Table 4). ID=Data read from identifier code. SA=Sector Address within the sector being erased. WA=Address of memory location to be written. WD=Data to be written at location WA. PA=Program Address, PD=Program Data QA=Query Address, QD=Query Data. 3. Data is latched from the rising edge of WE or CE (whichever goes high first) SRD=Data read from status register, see Table 6 for description of the status register bits. 4. Following the Read Configuration codes command, read operation access manufacturer, device codes, sector lock/unlock codes, see chapter 4.2. 5. Either 40H or 10H command is recognized by the WSM as word write setup. 6. The sector unlock operation simultaneously clear all sector lock. 7. Read Query Command is read for CFI query information. REV. 1.2, MAR. 17, 2004 P/N:PM0867 11 MX28F160C3T/B 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 operation is also initiated by writing the Read Array command. The device remains enabled for reads until another command is written. Once the internal WSM has started a sector erase, word write or sector lock configuration the device will not recognize the Read Array command until the WSM completes its operation unless the WSM is suspended via a Sector Erase Suspend or Word Write Suspend command. If RP=VIL device is in read Read Array command mode, this read operation no longer requires VPP. The Read Array command functions independently of the VPP voltage and RP can be VIH. CUI writes read status command (70H). The status register may be read to determine when a sector erase, word write or lock-bit configuration is complete and whether the operation completed successfully. (refer to table 6) It may be read at any time by writing the Read Status Register command. After writing this command, all subsequent read operations output data from the status register until another valid command is written. The status register contents are latched on the falling edge of CE or OE, whichever occurs last. CE or OE must toggle to VIH before further reads to update the status register latch. The Read Status Register command functions independently of the VPP voltage. RP can be VIH. 4.4 Clear Status Register Command 4.2 Read Configuration Codes Command Status register bits SR.5, SR.4, SR.3 or SR.1 are set to "1"s by the WSM and can only be reset by the Clear Status Register command (50H). These bits indicate various failure conditions (see Table 6). By allowing system software to reset these bits, several operations (such as cumulatively erasing multiple sectors or writing several words in sequence) may be performed. The status register may be polled to determine if an error occurred during the sequence. The configuration code operation is initiated by writing the Read Configuration Codes command (90H). To return to read array mode, write the Read Array Command (FFH). Following the command write, read cycles from addresses shown in Table 4 retrieve the manufacturer, device, sector lock configuration codes and the protection register(see Table 4 for configuration code values). To terminate the operation, write another valid command. Like the Read Array command, the Read Configuration Codes command functions independently of the VPP voltage and RP can be VIH. Following the Read Configuration Codes command, the information is shown: To clear the status register, the Clear Status Register command (50H) is written on CUI. It functions independently of the applied VPP Voltage. RP can be VIH. This command is not functional during sector erase or word write suspend modes. Table 4: ID Code Code Manufacturer Code Address Data (A19-A0) (DQ15-DQ0) 00000H 00C2H Device Code(Top/Bottom) 00001H 88C2/88C3H Sector Lock Configuration XX002H LocK - Sector is unlocked DQ0=0 - Sector is locked DQ0=1 - Sector is locked-down DQ1=1 Protection Register Lock 80 PR-LK Protection Register 81-88 PR REV. 1.2, MAR. 17, 2004 P/N:PM0867 12 MX28F160C3T/B should be checked. If word 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. 4.5 Sector Erase Command Erase is executed one sector at a time and initiated by a two-cycle command. A sector erase setup is first written (20H), followed by a sector erase confirm (D0H). This command sequence requires appropriate sequencing and an address within the sector to be erased. Sector preconditioning, erase, and verify are handled internally by the WSM. After the two-cycle sector erase sequence is written, the device automatically outputs status register data when read (see Figure 8). The CPU can detect sector erase completion by analyzing the output data of the status register bit SR.7. Reliable word writes can only occur when VCC=2.7V~3.6V and VPP=VPP1/2. If VPP is not within acceptable limits, the WSM doesn't execut the program command. If word write is attempted while VPP tPLRH AC Characteristic -- Under Reset Operation Sym. Parameter VCC=2.7V~3.6V Min. tPLPH RP Low to Reset during Read Unit Notes ns 1,3 Max. 100 (If RP is tied to VCC, this specification is not applicable) tPLRH1 RP Low to Reset during Sector Erase 22 us 1,4 tPLRH2 RP Low to Reset during Program 12 us 1,4 Notes: 1. See Section 3.4 for a full description of these conditions. 2. If tPLPH is < 100ns the device may still reset but this is not guaranteed. 3. If RP is asserted while a sector erase or word program operation is not executing, the reset will complete within 100ns. 4. Sampled, but not 100% tested. REV. 1.2, MAR. 17, 2004 P/N:PM0867 26 MX28F160C3T/B 6.2.6 DC Characteristics VCC 2.7V-3.6V VCCQ 2.7V-3.6V Note Typ. Max. 1,2 1 Sym. Parameter ILI Input Load Current ILO Output Leakage Current VCC Standby Current 1,2 0.2 10 uA 1 7 15 uA ICCD VCC Power-Down Current 1,2 7 15 uA ICCR VCC Read Current 1,2,3 9 18 mA IPPD 1 0.2 5 uA IPPR VPP Deep PowerDown Current VPP Read Current 1,4 ICCW+ IPPW ICCE+ IPPE ICCES or ICCWS VIL VIH VOL VCC+VPP Program Current VCC+VPP Erase Current VCC Program or Erase Suspend Current Input Low Voltage Input High Voltage Output Low Voltage 2 50 18 10 21 16 7 15 200 55 30 45 45 15 uA uA mA mA mA mA uA -0.4 2.0 -0.1 VCC*0.22V VCCQ+0.3V 0.1 V V V VOH Output High Voltage VPPLK VPP1 VPP2 VLKO VPP Lock-Out Voltage VPP during Program/ Erase Operations VCC Prog/Erase Lock Voltage VCCQ Prog/Erase Lock Voltage ICCS VLKO2 1,4 1,4 1,4 VCCQ -0.1V 6 6 6 1.65 11.4 1.5 Unit uA V 1.0 3.6 12.6 1.2 V V V V Test Conditions VCC=VCC Max. ; VCCQ=VCCQ Max. VIN=VCCQ or GND VCC=VCC Max. ; VCCQ=VCCQ Max. VIN=VCCQ or GND VCC=VCC Max. ; CE=RP=VCCQ or during Program/Erase Suspend WP=VCCQ or GND VCC=VCC Max ; VCCQ=VCCQ Max VIN=VCCQ or GND RP=GND0.2V VCC=VCC Max ; VCCQ=VCCQ Max OE=VIH, CE=VIL, f=5MHz, IOUT=0mA Inputs=VIL or VIH RP=GND0.2V VPP < VCC VPP < VCC VPP > VCC VPP=VPP1, Program in Progress VPP=VPP2(12V), Program in Progress VPP=VPP1, Erase in Progress VPP=VPP2(12V), Erase in Progress CE=VCC, Program or Erase Suspend in Progress VCC=VCC Min, VCC=VCCQ Min IOL=100uA VCC=VCC Min, VCC=VCCQ Min IOH=-100uA Complete Write Protection V REV. 1.2, MAR. 17, 2004 P/N:PM0867 27 MX28F160C3T/B Notes: 1. All currents are in RMS unless otherwise noted. Typical values at nominal VCC, TA=+25 C. 2. The test conditions VCC Max, VCCQ Max, VCC Min, and VCCQ Min refer to the maximum or minimum VCC or VCCQ voltage listed at the top of each column. 3. Power Savings (Mode) reduces ICCR to approximately standby levels in static operation (CMOS inputs). 4. Sampled, but not 100% tested. 5. ICCES and ICCWS are specified with device de-selected. If device is read while in erase suspend, current draw is sum of ICCES and ICCR. If the device is read while in program suspend, current draw is the sum of ICCWS and ICCR. 6. Erase and Program are inhibited when VPP