Ordering number : ENA2071 CMOS IC LE24162LBXA Two Wire Serial Interface EEPROM (16k EEPROM) Overview The LE24162LBXA is a 2-wire serial interface EEPROM. It realizes high speed and a high level reliability by incorporating SANYO’s high performance CMOS EEPROM technology. This device is compatible with I2C memory protocol; therefore it is best suited for application that requires small-scale re-writable nonvolatile parameter memory. Functions • Capacity: 16k bits (2k × 8 bits) • Single supply voltage: 1.7V to 3.6V (to read) • Operating temperature: -40 to +85ºC • Interface: Two wire serial interface (I2C Bus*) • Operating clock frequency: 400kHz • Low power consumption : Standby: 2μA (max) : Active (Read): 0.5mA (max) • Automatic page write mode: 16 Bytes • Read mode: Sequential read and random read • Erase/Write cycles: 105 cycles (Page write) • Data Retention: 20 years • High reliability: Adopts SANYO’s proprietary symmetric memory array configuration (USP6947325) Noise filters connected to SCL and SDA pins Incorporates a feature to prohibit write operations under low voltage conditions. • Package : WLFCP6(0.80 × 1.20) * I2C Bus is a trademark of Philips Corporation. * This product is licensed from Silicon Storage Technology, Inc. (USA), and manufactured and sold by SANYO Semiconductor Co., Ltd. Any and all SANYO Semiconductor Co.,Ltd. products described or contained herein are, with regard to "standard application", intended for the use as general electronics equipment. The products mentioned herein shall not be intended for use for any "special application" (medical equipment whose purpose is to sustain life, aerospace instrument, nuclear control device, burning appliances, transportation machine, traffic signal system, safety equipment etc.) that shall require extremely high level of reliability and can directly threaten human lives in case of failure or malfunction of the product or may cause harm to human bodies, nor shall they grant any guarantee thereof. If you should intend to use our products for new introduction or other application different from current conditions on the usage of automotive device, communication device, office equipment, industrial equipment etc. , please consult with us about usage condition (temperature, operation time etc.) prior to the intended use. If there is no consultation or inquiry before the intended use, our customer shall be solely responsible for the use. Specifications of any and all SANYO Semiconductor Co.,Ltd. products described or contained herein stipulate the performance, characteristics, and functions of the described products in the independent state, and are not guarantees of the performance, characteristics, and functions of the described products as mounted in the customer's products or equipment. To verify symptoms and states that cannot be evaluated in an independent device, the customer should always evaluate and test devices mounted in the customer ' s products or equipment. 61312 SY 20120509-S00003 No.A2071-1/11 LE24162LBXA Package Dimensions unit : mm (typ) 3435 SIDE VIEW BOTTOM VIEW 0.2 TOP VIEW (0.19) B A 0.4 0.2 0.08 SIDE VIEW 0.33 MAX C 0.2 0.4 1 0.8 2 1.2 SANYO : WLFCP6(0.80X1.20) Pin Assignment Top view Bottom side view 2 VSS VSS SDA SDA VSS VSS 2 1 VDD WP SCL SCL WP VDD 1 A B C C B A 0.80mm × 1.20mm × 0.33mm Pin Descriptions PIN.A1 VDD PIN.A2 VSS Power supply Ground PIN.B1 WP Write protect pin PIN.B2 VSS Ground PIN.C1 SCL Serial clock input PIN.C2 SDA Serial data input/output Block Diagram SDA X decoder Serial controller Address generator I/O Buffer SCL Condition detector WP Input Buffer Write controller High voltage generator EEPROM Array Y decoder & Sense AMP Serial-Parallel converter No.A2071-2/11 LE24162LBXA Specifications Absolute Maximum Ratings Parameter Symbol Conditions Ratings Supply voltage DC input voltage Over-shoot voltage Storage temperature Below 20ns Tstg unit -0.5 to +4.6 V -0.5 to VDD+0.5 V -1.0 to VDD+1.0 V -65 to +150 °C Note: If an electrical stress exceeding the maximum rating is applied, the device may be damaged. Operating Conditions Parameter Symbol Operating supply voltage Conditions Ratings To read unit 1.7 to 3.6 To write Operating temperature V 1.8 to 3.6 V -40 to +85 °C DC Electrical Characteristics Parameter Symbol VDD=1.7V to 3.6V Conditions min typ unit max Supply current at reading ICC1 f=400kHz 0.5 mA Supply current at writing ICC2 f=400kHz, tWC=5ms 5 mA Standby current ISB VIN =VDD or GND 2 μA Input leakage current (SCL) ILI VIN=GND to VDD -2.0 +2.0 μA Output leakage current (SDA) ILO VOUT=GND to VDD -2.0 Input low voltage VIL Input low voltage (CMOS) VILC Input high voltage VIH VDD*0.8 Input high voltage (CMOS) VIHC VDD-0.2 Output low voltage VOL +2.0 μA VDD*0.2 V 0.2 V V V IOL=0.7mA, VDD=1.7V 0.2 V IOL=2.0mA, VDD=2.5V 0.4 V Capacitance/Ta=25°C, f=1MHz Parameter Symbol Conditions max unit In/Output pin capacitance CI/O VI/O=0V (SDA) 6 pF Input pin capacitance CI VIN=0V (other than SDA) 6 pF Note: This parameter is sampled and not 100% tested. No.A2071-3/11 LE24162LBXA AC Electric Characteristics Input pulse level 0.1×VDD to 0.9×VDD Input pulse rise / fall time 20ns Output detection voltage 0.5×VDD Output load 50pF+Pull up resistor 3.0kΩ VDD R=3.0kΩ SDA C=50pF Output Load Circuit Parameter VDD=1.7V to 3.6V Symbol min typ 0 unit max Slave mode SCL clock frequency fSCLS 400 kHz SCL clock low time tLOW 1200 SCL clock high time tHIGH 600 SDA output delay time tAA 100 SDA data output hold time tDH 100 ns Start condition setup time tSU.STA 600 ns Start condition hold time tHD.STA 600 ns Data in setup time tSU.DAT 100 ns Data in hold time tHD.DAT 0 ns Stop condition setup time tSU.STO 600 ns SCL SDA rise time tR 300 SCL SDA fall time tF 300 Bus release time tBUF Noise suppression time tSP Write cycle time tWC ns ns 900 1200 ns ns ns ns 100 ns 5 ms No.A2071-4/11 LE24162LBXA Bus Timing tF tHIGH tLOW tR SCL tSP tSU.STA tHD.STA tHD.DAT tHD.STA tSU.STO SDA/IN tSP tBUF tDH tAA SDA/OUT Write Timing tWC SCL SDA D0 Write data Acknowledge Stop condition Start condition Pin Functions SCL (serial clock input) pin The SCL pin is a serial clock input pin that processes signals at the rising and falling edges of SCL clock signals. The SCL pin must be pulled up by a resistor to the VDD level and wired-ORed with an open drain (or open collector) output device for use. SDA (serial data input/output) pin The SDA pin is used to transfer serial data to the input/output, and it consists of a signal input pin and n-channel transistor open drain output pin. Like the SCL pin, the SDA pin must be pulled up by a resistor to the VDD level and wired-ORed with an open drain (or open collector) output device for use. WP (write protect) pin When the WP pin is high, write protection is enabled, and writing into the 16k bit memory areas is prohibited. When the pin is low, writing is possible to all memory areas. Read operations can be performed regardless of the WP pin status. No.A2071-5/11 LE24162LBXA Functional Description 1 Start condition When the SCL line is at the high level, the start condition is established by changing the SDA line from high to low. The operation of the EEPROM as a slave starts in the start condition. 2 Stop condition When the SCL line is at the high level, the stop condition is established by changing the SDA line from low to high. When the device is set up for the read sequence, the read operation is suspended when the stop condition is received, and the device is set to standby mode. When it is set up for the write sequence, the capture of the write data is ended when the stop condition is received, and the EEPROM internal write operation is started. tSU.STA tHD.STA tSU.STO SCL SDA Stop condition Start condition 3 Data transfer Data is transferred by changing the SDA line while the SCL line is low. When the SDA line is changed while the SCL line is high, the resulting condition will be recognized as the start or stop condition. tSU.DAT tHD.DAT SCL SDA 4 Acknowledge During data transfer, 8-bits are transferred in succession, and then in the ninth clock cycle period the device on the system bus receiving the data sets the SDA line to low, and sends the acknowledge signal indicating that the data has been received. The acknowledge signal is not sent during an EEPROM internal write operation. SCL (EEPROM input) 8 1 9 SDA (Master output) SDA (EEPROM output) Acknowledge bit output Start condition tDH tAA 5 Device addressing For the purposes of communication, the master device in the system generates the start condition for the slave device. Communication with a particular slave device is enabled by sending along the SDA bus the device address, which is 7-bits long, and the read/write command code, which is 1 bit long, immediately following the start condition. The upper four bits of the device address are called the device code which, for this product, is fixed as “1010.” Two or more pieces cannot be connected about this IC because there is no slave address. Memory Address Device code LE24162LB 1 MSB 0 1 0 A10 Device Address word A9 A8 R/W LSB No.A2071-6/11 LE24162LBXA 6 EEPROM write operation 6-1. Byte writing When the EEPROM receives the 7-bit device address and write command code "0" after the start condition, it generates an acknowledge signal. After this, if it receives 4-bit don’t-care bits and a 12-bit word address, generates an acknowledge signal, receives the 8-bit writing data, and generates an acknowledge signal when it receives the stop condition, the rewrite operation of the EEPROM in the designated memory address will start. Rewriting is completed in the tWC period after the stop condition. During an EEPROM rewrite operation, no input is accepted and no acknowledge signals are generated. A 1 0 1 0 10 A9 A8 W Data A7 A6 A5 A4 A3 A2 A1 A0 ACK R/W D7 D6 D5 D4D3 D2 D1 D0 Stop SDA Start Memory Address ACK ACK 6-2. Page writing This product enables pages with up to 16 bytes to be written. The basic data transfer procedure is the same as for byte writing: Following the start condition, the 7-bit device address and write command code “0,” word address (n), and data (n) are input in this order while confirming acknowledge “0” every 9 bits. The page write mode is established if, after data (n) is input, the write data (n+1) is input without inputting the stop condition. After this, the write data equivalent to the largest page size can be received by a continuous process of repeating the receiving of the 8-bit write data and generating the acknowledge signals. At the point when the write data (n+1) has been input, the lower 4 bits (A0-A3) of the word addresses are automatically incremented to form the (n+1) address. In this way, the write data can be successively input, and the word address on the page is incremented each time the write data is input. If the write data exceeds 16 bytes or the last address of the page is exceeded, the word address on the page is rolled over. Write data will be input into the same address two or more times, but in such cases the write data that was input last will take effect. Finally, the EEPROM internal write operation corresponding to the page size for which the write data is received starts from the designated memory address when the stop condition is received. SDA Start Memory Address A 1 0 1 0 10 A9 A8 W Data(n) A7 A6 A5 A4 A3 A2 A1 A0 ACK R/W Data(n+1) D7 D6 D5 D4D3 D2 D1 D0 D7 D6 ACK ACK D1 D0 ACK D7 D6 D1 D0 D7 D6 D1 D0 D7 D6 D1 D0 ACK D7 D6 ACK D1 D0 Stop Data(n+x) ACK 6-3. Acknowledge polling Acknowledge polling is used to find out when the EEPROM internal write operation is completed. When the stop condition is received and the EEPROM starts rewriting, all operations are prohibited, and no response can be given to the signals sent by the master device. Therefore, in order to find out when the EEPROM internal write operation is completed, the start condition, device address and write command code are sent from the master device to the EEPROM (slave device), and the response of the slave device is detected. In other words, if the slave device does not send the acknowledge signal, it means that the internal write operation is in progress; conversely, if it does send the acknowledge signal, it means that the internal write operation has been completed. A 1 0 1 0 10 A9 A8 W NO ACK R/W Writing end Write timing Start A 1 0 1 0 10 A9 A8 W Start SDA Start Write timing NO ACK R/W A 1 0 1 0 10 A9 A8 W ACK R/W No.A2071-7/11 LE24162LBXA 7 EEPROM read operations 7-1. Current address reading The address equivalent to the memory address accessed last +1 is held as the internal address of the EEPROM for both write* and read operations. Therefore, provided that the master device has recognized the position of the EEPROM address pointer, data can be read from the memory address with the current address pointer without specifying the word address. As with writing, current address reading involves receiving the 7-bit device address and read command code “1” following the start condition, at which time the EEPROM generates an acknowledge signal. After this, the 8-bit data of the (n+1) address is output serially starting with the highest bits. After the 8 bits have been output, by not sending an acknowledge signal and inputting the stop condition, the EEPROM completes the read operation and is set to standby mode. If the previous read address is the last address, the address for the current address reading is rolled over to become address 0. *: If the write data is 1 or more bytes but less than 16 bytes, the current address after page writing is the address equivalent to the number of bytes to be written in the specified word address +1. If the write data is 16 or more bytes, it is the designated word address. If the last address (A3A0=1111b) on the page has been designated by byte write as the word address, the first address (A3-A0=0000b) on the page serves as the internal address after writing. A 1 0 1 0 10 A9 A8 R Stop SDA Start Device Address Data(n+1 address) D7 D6 D5 D4D3 D2 D1 D0 ACK R/W NO ACK 7-2. Random read Random read is a mode in which a selected memory address is specified and its data is read. The address is specified by a dummy write input. First, when the EEPROM receives the 7-bit device address and write command code "0" following the start condition, it generates an acknowledge signal. It then receives 4-bit don’t-care bits and a 12-bit word address and generates an acknowledge signal. These operations are used to load the word address to the address counter in the EEPROM. Next, the start condition is input again, and the current read is performed. This generates the word address data that was input using the dummy write input. After the data is generated, if the stop condition is input without the input of an acknowledge signal, reading is completed, and standby mode is established. A 1 0 1 0 10 A9 A8 W A7 A6 A5 A4 A3 A2 A1 A0 ACK R/W Start Start SDA Device Address Data(n) A 1 0 1 0 10 A9 A8 R ACK D7 D6 Stop Memory address Device Address D1 D0 NO ACK ACK R/W Current Read Dummy Write 7-3. Sequential read In this mode, the data is read continuously, and sequential read operations can be performed with both current address read and random read. If, after the 8-bit data has been output, acknowledge “0” is input and reading is continued without issuing the stop condition, the address is incremented, and the data of the next address is output. If acknowledge “0” continues to be input after the data has been output in this way, the data is successively output while the address is incremented. When the last address is reached, it is rolled over to address 0, and the data continues to be read. As with current address read and random read, the operation is completed by inputting the stop condition without sending an acknowledge signal. A 1 0 1 0 10 A9 A8 R Data(n) D7 D6 ACK R/W D1 D0 Data(n+1) D7 D6 ACK D1 D0 Data(n+2) D7 D6 ACK D1 D0 Data(n+x) D7 D6 ACK D1 D0 Stop SDA Start Device Address ACK No.A2071-8/11 LE24162LBXA Application Notes 1) Software reset function Software reset (start condition + 9 dummy clock cycles + start condition), shown in the figure below, is executed in order to avoid erroneous operation after power-on and to reset while the command input sequence. During the dummy clock input period, the SDA bus must be opened (set to high by a pull-up resistor). Since it is possible for the ACK output and read data to be output from the EEPROM during the dummy clock period, forcibly entering H will result in an overcurrent flow. Note that this software reset function does not work during the internal write cycle. Dummy clock × 9 SCL 1 2 8 9 SDA Start condition Start condition 2) Pull-up resistor of SDA pin Due to the demands of the I2C bus protocol function, the SDA pin must be connected to a pull-up resistor (with a resistance from several kΩ to several tens of kΩ) without fail. The appropriate value must be selected for this resistance (RPU) on the basis of the VIL and IIL of the microcontroller and other devices controlling this product as well as the VOL–IOL characteristics of the product. Generally, when the resistance is too high, the operating frequency will be restricted; conversely, when it is too low, the operating current consumption will increase. RPU maximum resistance The maximum resistance must be set in such a way that the bus potential, which is determined by the sum total (IL) of the input leaks of the devices connected to the SDA bus and by RPU, can completely satisfy the input high level (VIH min) of the microcontroller and EEPROM. However, a resistance value that satisfies SDA rise time tR and fall time tF must be set. RPU maximum value = (VDD - VIH)/IL Example: When VDD=2.5V and IL= 2μA RPU maximum value = (2.5V − 2.5V × 0.8)/2μA = 250kΩ RPU minimum value A resistance corresponding to the low-level output voltage (VOL max) of SANYO’s EEPROM must be set. RPU minimum value = (VDD − VOL)/IOL RPU SDA Master Device IL EEPROM CBUS IL Example: When VDD=2.5V, VOL = 0.4V and IOL = 1mA RPU minimum value = (2.5V − 0.4)/1mA = 2.1kΩ Recommended RPU setting RPU is set to strike a good balance between the operating frequency requirements and power consumption. If it is assumed that the SDA load capacitance is 50pF and the SDA output data strobe time is 500ns, RPU will be about RPU = 500ns/50pF = 10kΩ. No.A2071-9/11 LE24162LBXA 3) Notes on write protect operation This product prohibits all 16k bit writing when the WP pin is high. To ensure full write protection, the WP is set high for all periods from the start condition to the stop condition, and the conditions below must be satisfied. Item VDD=1.7 to 3.6V Symbol min typ unit max WP Setup time tSU.WP 600 ns WP Hold time tHD.WP 600 ns WP tHD.WP tSU.WP SCL SDA Stop condition Start condition 4) Precautions when turning on the power This product contains a power-on reset circuit for preventing the inadvertent writing of data when the power is turned on. The following conditions must be met in order to ensure stable operation of this circuit. No data guarantees are given in the event of an instantaneous power failure during the internal write operation. Item VDD=1.7 to 3.6V Symbol min Power rise time tRISE Power off time tOFF Power bottom voltage Vbot typ unit max 100 10 ms ms 0.2 V tRISE VDD tOFF Vbot 0V Notes: 1) The SDA pin must be set to high and the SCL pin to low or high. 2) Steps must be taken to ensure that the SDA and SCL pins are not placed in a high-impedance state. No.A2071-10/11 LE24162LBXA 5) Noise filter for the SCL and SDA pins This product contains a filter circuit for eliminating noise at the SCL and SDA pins. Pulses of 100ns or less are not recognized because of this function. 6) Function to inhibit writing when supply voltage is low This product contains a supply voltage monitoring circuit that inhibits inadvertent writing below the guaranteed operating supply voltage range. The data is protected by ensuring that write operations are not started at voltages (typ.) of 1.3V and below. SANYO Semiconductor Co.,Ltd. assumes no responsibility for equipment failures that result from using products at values that exceed, even momentarily, rated values (such as maximum ratings, operating condition ranges, or other parameters) listed in products specifications of any and all SANYO Semiconductor Co.,Ltd. products described or contained herein. Regarding monolithic semiconductors, if you should intend to use this IC continuously under high temperature, high current, high voltage, or drastic temperature change, even if it is used within the range of absolute maximum ratings or operating conditions, there is a possibility of decrease reliability. Please contact us for a confirmation. SANYO Semiconductor Co.,Ltd. strives to supply high-quality high-reliability products, however, any and all semiconductor products fail or malfunction with some probability. It is possible that these probabilistic failures or malfunction could give rise to accidents or events that could endanger human lives, trouble that could give rise to smoke or fire, or accidents that could cause damage to other property. When designing equipment, adopt safety measures so that these kinds of accidents or events cannot occur. Such measures include but are not limited to protective circuits and error prevention circuits for safe design, redundant design, and structural design. In the event that any or all SANYO Semiconductor Co.,Ltd. products described or contained herein are controlled under any of applicable local export control laws and regulations, such products may require the export license from the authorities concerned in accordance with the above law. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or any information storage or retrieval system, or otherwise, without the prior written consent of SANYO Semiconductor Co.,Ltd. Any and all information described or contained herein are subject to change without notice due to product/technology improvement, etc. When designing equipment, refer to the "Delivery Specification" for the SANYO Semiconductor Co.,Ltd. product that you intend to use. Upon using the technical information or products described herein, neither warranty nor license shall be granted with regard to intellectual property rights or any other rights of SANYO Semiconductor Co.,Ltd. or any third party. SANYO Semiconductor Co.,Ltd. shall not be liable for any claim or suits with regard to a third party's intellectual property rights which has resulted from the use of the technical information and products mentioned above. This catalog provides information as of Jun, 2012. Specifications and information herein are subject to change without notice. PS No.A2071-11/11