HN58X24512I Two-wire serial interface 512k EEPROM (64-kword × 8-bit) REJ03C0127-0200 Rev.2.00 Dec.13.2004 Description HN58X24512I is the two-wire serial interface EEPROM (Electrically Erasable and Programmable ROM). It realizes high speed, low power consumption and a high level of reliability by employing advanced MNOS memory technology and CMOS process and low voltage circuitry technology. It also has a 128byte page programming function to make it’ s write operation faster. Note: Renesas Technology’s serial EEPROM are authorized for using consumer applications such as cellular phone, camcorders, audio equipment. Therefore, please contact Renesas Technology’s sales office before using industrial applications such as automotive systems, embedded controllers, and meters. Features • • • • • • • • • • • • Single supply: 1.8 V to 5.5 V Two-wire serial interface (I2CTM serial bus*1) Clock frequency: 1 MHz (2.5 V to 5.5 V)/400 kHz (1.8 V to 5.5 V) Power dissipation: Standby: 3 µA (max) Active (Read): 2 mA (max) Active (Write): 5 mA (max) Automatic page write: 128-byte/page Write cycle time: 10 ms (2.5 V to 5.5 V)/15 ms (1.8 V to 5.5 V) Endurance: 105 Cycles (Page write mode) Data retention: 10 Years Small size packages: SOP-8pin (200 mil-wide) Shipping tape and reel: 1,500 IC/reel Temperature range: −40 to +85°C Lead free products. Note: 1. I2C is a trademark of Philips Corporation. Rev.2.00, Dec.13.2004, page 1 of 17 HN58X24512I Ordering Information Type No. Internal organization Operating voltage HN58X24512FPIE 512k bit (65536 × 8-bit) 2.5 V to 5.5 V 1.8 V to 5.5 V Frequency Package 1 MHz 200 mil 8-pin plastic SOP 400 kHz (FP-8DFV) Lead free Pin Arrangement 8-pin SOP A0 1 8 VCC A1 2 7 WP NC 3 6 SCL VSS 4 5 SDA (Top view) Pin Description Pin name Function A0, A1 Device address SCL Serial clock input SDA Serial data input/output WP Write protect VCC Power supply VSS Ground NC No connection Rev.2.00, Dec.13.2004, page 2 of 17 HN58X24512I Block Diagram High voltage generator Control logic A0, A1 SCL X decoder WP Address generator VSS Memory array Y decoder VCC Y-select & Sense amp. SDA Serial-parallel converter Absolute Maximum Ratings Parameter Symbol Value Unit Supply voltage relative to VSS VCC −0.6 to +7.0 V Input voltage relative to VSS Vin −0.5*2 to +7.0*3 V Operating temperature range*1 Topr −40 to +85 °C Storage temperature range Tstg −65 to +125 °C Notes: 1. Including electrical characteristics and data retention. 2. Vin (min): −3.0 V for pulse width ≤ 50 ns. 3. Should not exceed VCC + 1.0 V. DC Operating Conditions Parameter Symbol Min Typ Max Unit Supply voltage VCC 1.8 5.5 V V VSS 0 0 0 Input high voltage VIH VCC × 0.7 VCC + 0.5*2 V Input low voltage VIL −0.3*1 VCC × 0.3 V Operating temperature Topr −40 +85 °C Notes: 1. VIL (min): −1.0 V for pulse width ≤ 50 ns. 2. VIH (max): VCC + 1.0 V for pulse width ≤ 50 ns. Rev.2.00, Dec.13.2004, page 3 of 17 HN58X24512I DC Characteristics (Ta = −40 to +85°C, VCC = 1.8 V to 5.5 V) Parameter Symbol Min Input leakage current ILI Typ Max Unit Test conditions 2.0 µA VCC = 5.5 V, Vin = 0 to 5.5 V (SCL, SDA) 20 µA VCC = 5.5 V, Vin = 0 to 5.5 V (A0, A1, WP) Output leakage current ILO 2.0 µA VCC = 5.5 V, Vout = 0 to 5.5 V Standby VCC current ISB 1.0 3.0 µA Vin = VSS or VCC Read VCC current ICC1 2.0 mA VCC = 5.5 V, Read at 400 kHz Write VCC current ICC2 5.0 mA VCC = 5.5 V, Write at 400 kHz Output low voltage VOL2 0.4 V VCC = 4.5 to 5.5 V, IOL = 1.6 mA VCC = 2.5 to 4.5 V, IOL = 0.8 mA VCC = 1.8 to 2.5 V, IOL = 0.4 mA VOL1 0.2 V VCC = 1.8 to 2.5 V, IOL = 0.2 mA Capacitance (Ta = +25°C, f = 1 MHz) Min Typ Max Unit Test conditions Input capacitance (A0 to A1, SCL, WP) Cin*1 6.0 pF Vin = 0 V 1 6.0 pF Vout = 0 V Parameter Output capacitance (SDA) Note: Symbol CI/O* 1. This parameter is sampled and not 100% tested. Rev.2.00, Dec.13.2004, page 4 of 17 HN58X24512I AC Characteristics (Ta = −40 to +85°C, VCC = 1.8 to 5.5 V) Test Conditions • Input pules levels: VIL = 0.2 × VCC VIH = 0.8 × VCC • Input rise and fall time: ≤ 20 ns • Input and output timing reference levels: 0.5 × VCC • Output load: TTL Gate + 100 pF VCC = 1.8 to 5.5 V VCC = 2.5 to 5.5 V Max Min Parameter Symbol Min Max Clock frequency fSCL 400 1000 kHz Clock pulse width low tLOW 1200 600 ns Clock pulse width high tHIGH 600 400 ns Noise suppression time tI 50 50 ns Access time tAA 100 900 100 550 ns Bus free time for next mode tBUF 1200 500 ns Start hold time tHD.STA 600 250 ns Start setup time tSU.STA 600 250 ns Data in hold time tHD.DAT 0 0 ns Data in setup time tSU.DAT 100 100 ns Input rise time tR 300 300 ns 1 Input fall time tF 300 100 ns 1 Stop setup time tSU.STO 600 250 ns Data out hold time tDH 50 50 ns Write cycle time tWC 15 10 ms Notes: 1. This parameter is sampled and not 100% tested. 2. tWC is the time from a stop condition to the end of internally controlled write cycle. Rev.2.00, Dec.13.2004, page 5 of 17 Unit Notes 1 2 HN58X24512I Timing Waveforms Bus Timing tF tHIGH 1/fSCL tLOW tR SCL tSU.STA tHD.DAT tSU.DAT tHD.STA tSU.STO SDA (in) tBUF tAA tDH SDA (out) Write Cycle Timing Stop condition Start condition SCL SDA D0 in Write data (Address (n)) ACK Rev.2.00, Dec.13.2004, page 6 of 17 tWC (Internally controlled) HN58X24512I Pin Function Serial Clock (SCL) The SCL pin is used to control serial input/output data timing. The SCL input is used to positive edge clock data into EEPROM device and negative edge clock data out of each device. Maximum clock rate is 1 MHz. Serial Input/Output Data (SDA) The SDA pin is bidirectional for serial data transfer. The SDA pin needs to be pulled up by resistor as that pin is open-drain driven structure. Use proper resistor value for your system by considering VOL, IOL and the SDA pin capacitance. Except for a start condition and a stop condition, which will be discussed later, the SDA transition needs to be completed during SCL low period. Data Validity (SDA data change timing waveform) SCL SDA Data change Note: Data change High-to-low and low-to-high change of SDA should be done during SCL low periods. Rev.2.00, Dec.13.2004, page 7 of 17 HN58X24512I Device Address (A0, A1) Up to four devices can be addressed on the same bus by setting the levels on these pins to different combinations. The levels on these pins are compared with the device address code which are inputted thought the SDA pin. These device is selected if the compare is successfully done. These pins are internally pulled down to VSS. The device read these pins as low if unconnected. Pin Connections for A0, A1 Pin connection Max connect Memory size number 512k bit Note: 4 A1 A0 1 VCC/VSS* Note VCC/VSS 1. “VCC/VSS” means that device address pin should be connected to VCC or VSS. The A1 and A0 are read as VSS, if left unconnected. Write Protect (WP) When the Write Protect pin (WP) is high, the write protection feature is enabled and operates as shown in the following table. When the WP is low, write operation for all memory arrays are allowed. The read operation is always activated irrespective of the WP pin status. When left unconnected, the WP input is read as VIL because the WP pin is internally pulled down to VSS. Write Protect Area WP pin status Write protect area VIH Full (512k bit) VIL Normal read/write operation Rev.2.00, Dec.13.2004, page 8 of 17 HN58X24512I Functional Description Start Condition A high-to-low transition of the SDA with the SCL high is needed in order to start read, write operation. (See start condition and stop condition) Stop Condition A low-to-high transition of the SDA with the SCL high is a stop condition. The stand-by operation starts after a read sequence by a stop condition. In the case of write operation, a stop condition terminates the write data inputs and place the device in a internally-timed write cycle to the memories. After the internally-timed write cycle which is specified as tWC, the device enters a standby mode (See write cycle timing). Start Condition and Stop Condition SCL SDA (in) Start condition Rev.2.00, Dec.13.2004, page 9 of 17 Stop condition HN58X24512I Acknowledge All addresses and data words are serially transmitted to and from in 8-bit words. The receiver sends a zero to acknowledge that it has received each word. This happens during ninth clock cycle. The transmitter keeps bus open to receive acknowledgment from the receiver at the ninth clock. In the write operation, EEPROM sends a zero to acknowledge after receiving every 8-bit words. In the read operation, EEPROM sends a zero to acknowledge after receiving the device address word. After sending read data, the EEPROM waits acknowledgment by keeping bus open. If the EEPROM receives zero as an acknowledge, it sends read data of next address. If the EEPROM receives acknowledgment "1" (no acknowledgment) and a following stop condition, it stops the read operation and enters a stand-by mode. If the EEPROM receives neither acknowledgment "0" nor a stop condition, the EEPROM keeps bus open without sending read data. Acknowledge Timing Waveform SCL 1 SDA IN SDA OUT Rev.2.00, Dec.13.2004, page 10 of 17 2 8 9 Acknowledge out HN58X24512I Device Addressing The EEPROM device requires an 8-bit device address word following a start condition to enable the chip for a read or a write operation. The device address word consists of 4-bit device code, 3-bit device address code and 1-bit read/write(R/W) code. The most significant 4-bit of the device address word are used to distinguish device type and this EEPROM uses “1010” fixed code. The device address word is followed by the 3-bit device address code. The upper bit of device address can be set any data. The device address code selects one device out of all devices which are connected to the bus. This means that the device is selected if the inputted 3-bit device address code is equal to the corresponding hard-wired A1 to A0 pin status. The eighth bit of the device address word is the read/write(R/W) bit. A write operation is initiated if this bit is low and a read operation is initiated if this bit is high. Upon a compare of the device address word, the EEPROM enters the read or write operation after outputting the zero as an acknowledge. The EEPROM turns to a stand-by state if the device code is not “1010” or device address code doesn’t coincide with status of the correspond hard-wired device address pins A0 to A1. Device Address Word Device address word (8-bit) Device code (fixed) 128k, 256k 1 0 R/W code*1 Device address code 1 0 Notes: 1. R/W=“1” is read and R/W = “0” is write. 2. Don’t care bit. Rev.2.00, Dec.13.2004, page 11 of 17 0*2 A1 A0 R/W HN58X24512I Write Operations Byte Write: A write operation requires an 8-bit device address word with R/W = “0”. Then the EEPROM sends acknowledgment "0" at the ninth clock cycle. After these, the EEPROM receives 2 sequence 8-bit memory address words. Upon receipt of this memory address, the EEPROM outputs acknowledgment "0" and receives a following 8-bit write data. After receipt of write data, the EEPROM outputs acknowledgment "0". If the EEPROM receives a stop condition, the EEPROM enters an internally-timed write cycle and terminates receipt of SCL, SDA inputs until completion of the write cycle. The EEPROM returns to a standby mode after completion of the write cycle. W 2nd Memory address (n) Write data (n) D7 D6 D5 D4 D3 D2 D1 D0 10 100 1st Memory address (n) a7 a6 a5 a4 a3 a2 a1 a0 *1 Device address a15 a14 a13 a12 a11 a10 a9 a8 Byte Write Operation ACK ACK R/W Start ACK Stop Note: 1. Don't care bit. Page Write: The EEPROM is capable of the page write operation which allows any number of bytes up to 128 bytes to be written in a single write cycle. The page write is the same sequence as the byte write except for inputting the more write data. The page write is initiated by a start condition, device address word, memory address(n) and write data (Dn) with every ninth bit acknowledgment. The EEPROM enters the page write operation if the EEPROM receives more write data (Dn+1) instead of receiving a stop condition. The a0 to a6 address bits are automatically incremented upon receiving write data (Dn+1). The EEPROM can continue to receive write data up to 128 bytes. If the a0 to a6 address bits reaches the last address of the page, the a0 to a6 address bits will roll over to the first address of the same page and previous write data will be overwritten. Upon receiving a stop condition, the EEPROM stops receiving write data and enters internally-timed write cycle. Page Write Operation 1st Memory address (n) 2nd Memory address (n) Write data (n) Write data (n+m) Start ACK R/W Note: 1. Don't care bit. Rev.2.00, Dec.13.2004, page 12 of 17 ACK ACK D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 W a7 a6 a5 a4 a3 a2 a1 a0 10 100 a15 a14 a13 a12 a11 a10 a9 a8 *1 Device address ACK ACK Stop HN58X24512I Acknowledge Polling: Acknowledge polling feature is used to show if the EEPROM is in a internally-timed write cycle or not. This features is initiated by the stop condition after inputting write data. This requires the 8-bit device address word following the start condition during a internally-timed write cycle. Acknowledge polling will operate R/W code = “0”. Acknowledgment “1” (no acknowledgment) shows the EEPROM is in a internally-timed write cycle and acknowledgment “0” shows that the internally-timed write cycle has completed. See Write Cycle Polling using ACK. Write Cycle Polling Using ACK Send write command Send stop condition to initiate write cycle Send start condition Send device address word with R/W = 0 ACK returned No Yes Next operation is addressing the memory No Yes Proceed write operation Send memory address Send start condition Proceed random address read operation Send stop condition Rev.2.00, Dec.13.2004, page 13 of 17 Send stop condition HN58X24512I Read Operation There are three read operations: current address read, random read, and sequential read. Read operations are initiated the same way as write operations with the exception of R/W = “1”. Current Address Read: The internal address counter maintains the last address accessed during the last read or write operation, with incremented by one. Current address read accesses the address kept by the internal address counter. After receiving a start condition and the device address word (R/W is “1”), the EEPROM outputs the 8-bit current address data from the most significant bit following acknowledgment “0” If the EEPROM receives acknowledgment “1” (no acknowledgment) and a following stop condition, the EEPROM stops the read operation and is turned to a standby state. In case the EEPROM have accessed the last address of the last page at previous read operation, the current address will roll over and returns to zero address. In case the EEPROM have accessed the last address of the page at previous write operation, the current address will roll over within page addressing and returns to the first address in the same page. The current address is valid while power is on. The current address after power on will be indefinite. The random read operation described below is necessary to define the memory address. Current Address Read Operation Device address 1 0 10 0 R Start Note: 1. Don't care bit. Rev.2.00, Dec.13.2004, page 14 of 17 D7 D6 D5 D4 D3 D2 D1 D0 *1 Read data (n+1) ACK R/W No ACK Stop HN58X24512I Random Read: This is a read operation with defined read address. A random read requires a dummy write to set read address. The EEPROM receives a start condition, device address word (R/W=0) and memory address 2 × 8-bit sequentially. The EEPROM outputs acknowledgment “0” after receiving memory address then enters a current address read with receiving a start condition. The EEPROM outputs the read data of the address which was defined in the dummy write operation. After receiving acknowledgment “1”(no acknowledgment) and a following stop condition, the EEPROM stops the random read operation and returns to a standby state. Random Read Operation 2nd Memory address (n) Device address W ACK R/W Start Read data (n) *2 a7 a6 a5 a4 a3 a2 a1 a0 a15 a14 a13 a12 a11 a10 a9 a8 1 0 1 00 @@ ACK 10100 Start ACK Dummy write # # R R/W ACK D7 D6 D5 D4 D3 D2 D1 D0 1st Memory address (n) *2 Device address No ACK Stop Currect address read Notes: 1. 2nd device address code (#) should be same as 1st (@). 2. Don't care bit. Sequential Read: Sequential reads are initiated by either a current address read or a random read. If the EEPROM receives acknowledgment “0” after 8-bit read data, the read address is incremented and the next 8-bit read data are coming out. This operation can be continued as long as the EEPROM receives acknowledgment “0”. The address will roll over and returns address zero if it reaches the last address of the last page. The sequential read can be continued after roll over. The sequential read is terminated if the EEPROM receives acknowledgment “1” (no acknowledgment) and a following stop condition. Sequential Read Operation Device address Read data (n+1) Read data (n+2) Read data (n+m) Start ACK R/W Note: 1. Don't care bit. Rev.2.00, Dec.13.2004, page 15 of 17 ACK ACK ACK D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 R D7 D6 D5 D4 D3 D2 D1 D0 10 100 D7 D6 D5 D4 D3 D2 D1 D0 *1 Read data (n) No ACK Stop HN58X24512I Notes Data Protection at VCC On/Off When VCC is turned on or off, noise on the SCL and SDA inputs generated by external circuits (CPU, etc) may act as a trigger and turn the EEPROM to unintentional program mode. To prevent this unintentional programming, this EEPROM have a power on reset function. Be careful of the notices described below in order for the power on reset function to operate correctly. • SCL and SDA should be fixed to VCC or VSS during VCC on/off. Low to high or high to low transition during VCC on/off may cause the trigger for the unintentional programming. • VCC should be turned off after the EEPROM is placed in a standby state. • VCC turn on speed (tr) should be longer than 10 µs (tr ≥ 10 µs). Write/Erase Endurance and Data Retention Time The endurance is 105 cycles in case of page programming and 104 cycles in case of byte programming (1% cumulative failure rate). The data retention time is more than 10 years when a device is page-programmed less than 104 cycles. Noise Suppression Time This EEPROM have a noise suppression function at SCL and SDA inputs, that cut noise of width less than 50 ns. Be careful not to allow noise of width more than 50 ns. Rev.2.00, Dec.13.2004, page 16 of 17 HN58X24512I Package Dimensions HN58X24512FPIE (FP-8DFV) Unit: mm 5.65 1 1.73 Max 4 *0.40 ± 0.05 1.40 0.6 ± 0.2 0.14 1.27 8.1 ± 0.1 0˚ – 10˚ + 0.114 – 0.038 1.02 Max *0.20 ± 0.05 5.30 5.85 Max 5 8 0.10 0.25 M *Pd plating Rev.2.00, Dec.13.2004, page 17 of 17 Package Code JEDEC JEITA Mass (reference value) FP-8DFV — — 0.153 g Revision History Rev. Date HN58X24512I Data Sheet Contents of Modification Page Description 1.00 Oct. 10, 2003 Initial issue 2.00 Dec.13.2004 2 Ordering Information Deletion of HN58X24512FPI Package Dimensions Deletion of FP-8DF 17 Sales Strategic Planning Div. Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap. Notes regarding these materials 1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp. or a third party. 2. Renesas Technology Corp. assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. 3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corp. without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Renesas Technology Corp. assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology Corp. by various means, including the Renesas Technology Corp. Semiconductor home page (http://www.renesas.com). 4. When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corp. assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. 5. Renesas Technology Corp. semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. 6. The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce in whole or in part these materials. 7. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited. 8. Please contact Renesas Technology Corp. for further details on these materials or the products contained therein. http://www.renesas.com RENESAS SALES OFFICES Refer to "http://www.renesas.com/en/network" for the latest and detailed information. Renesas Technology America, Inc. 450 Holger Way, San Jose, CA 95134-1368, U.S.A Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501 Renesas Technology Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K. Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900 Renesas Technology Hong Kong Ltd. 7th Floor, North Tower, World Finance Centre, Harbour City, 1 Canton Road, Tsimshatsui, Kowloon, Hong Kong Tel: <852> 2265-6688, Fax: <852> 2730-6071 Renesas Technology Taiwan Co., Ltd. 10th Floor, No.99, Fushing North Road, Taipei, Taiwan Tel: <886> (2) 2715-2888, Fax: <886> (2) 2713-2999 Renesas Technology (Shanghai) Co., Ltd. Unit2607 Ruijing Building, No.205 Maoming Road (S), Shanghai 200020, China Tel: <86> (21) 6472-1001, Fax: <86> (21) 6415-2952 Renesas Technology Singapore Pte. Ltd. 1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632 Tel: <65> 6213-0200, Fax: <65> 6278-8001 © 2004. Renesas Technology Corp., All rights reserved. Printed in Japan. Colophon .2.0