Rev.2.2_00 S-24C02BPPHL 2-WIRE CMOS SERIAL E2PROM The S-24C02BPPHL is a 2k bit 2-wire serial E2PROM with low current consumption, low voltage operation and super small SNT-8A package organized as 256 words × 8 bits. Page write and sequential read are possible. Features • Low power consumption Standby: Operating: • Wide operating voltage range: Reading: Writing: 8 bytes/page • Page write: • Sequential read • Operating frequency: • Endurance: • Data retention: • Write protection • Lead-free products 1.0 µA max. (VCC = 5.5 V) 0.8 mA max. (VCC = 5.5 V) 0.3 mA max. (VCC = 3.3 V) 1.6 to 5.5 V 1.8 to 5.5 V 400 kHz (VCC = 5 V ±10%) 106 cycles/word*1 *1. For each address (Word: 8 bits) 10 years 100% Package Package Name SNT-8A Drawing Code Package Tape Reel Land PH008-A PH008-A PH008-A PH008-A Caution This product is intended for use in general electronic devices such as consumer electronics, office equipment, and communications devices. Before using the product in medical equipment or automobile equipment including car audio, keyless entry, and engine control units, be sure to contact SII. Seiko Instruments Inc. 1 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Pin Configuration SNT-8A Top view NC NC NC GND 1 2 3 4 Table 1 8 7 6 5 VCC WP SCL SDA Figure 1 S-24C02BPPHL-TF-G Pin No. 1 2 3 4 5 6 Symbol NC*1 NC*1 NC*1 GND SDA SCL Description No connection No connection No connection Ground Serial data I/O Serial clock input Write Protection pin 7 WP Connected to Vcc: Protection valid Connected to GND: Protection invalid 8 VCC Power supply *1. Connect to GND or VCC. Remark See Dimensions for details of the package drawings. 2 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Block Diagram WP SCL Start/stop detector SDA Serial clock controller VCC GND High-voltage generator LOAD COMP Device address comparator Data Register INC LOAD R/W Address counter X decoder E2PROM Selector Y decoder Data output ACK output controller DIN DOUT Figure 2 Absolute Maximum Ratings Table 2 Item Symbol Ratings Unit Power supply voltage VCC −0.3 to +7.0 V Input voltage VIN −0.3 to VCC + 0.3 V Output voltage VOUT −0.3 to VCC V Operating ambient temperature Topr −30 to +85 °C Storage temperature Tstg −65 to +150 °C Caution The absolute maximum ratings are rated values exceeding which the product could suffer physical damage. These values must therefore not be exceeded under any condition. Seiko Instruments Inc. 3 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Recommended Operating Conditions Item Symbol Power supply voltage VCC High-level input voltage VIH Low-level input voltage VIL Table 3 Conditions Reading Writing VCC = 2.5 to 5.5 V VCC = 1.6 to 2.5 V VCC = 2.5 to 5.5 V VCC = 1.6 to 2.5 V Min. 1.6 1.8 0.7 × VCC 0.8 × VCC 0.0 0.0 Typ. − − − − − − Max. 5.5 5.5 VCC VCC 0.3 × VCC 0.2 × VCC Unit V V V V V V Pin Capacitance Table 4 (Ta = 25°C, f = 1.0 MHz, Vcc = 5 V) Item Symbol Input capacitance Input/output capacitance Conditions VIN = 0 V (SCL, WP) VI/O = 0 V (SDA) CIN CI/O Min. − − Typ. − − Max. Unit 10 10 pF pF Typ. Max. Unit − − Cycles/word*1 Endurance Table 5 Item Symbol Operating Temperature Endurance NW −30 to +85°C *1. For each address (Word: 8 bits) 4 Min. 10 Seiko Instruments Inc. 6 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 DC Electrical Characteristics Item Symbol Current consumption (READ) Current consumption (PROGRAM) Conditions Table 6 VCC = 4.5 to 5.5 V VCC = 2.5 to 4.5 V VCC = 1.6 to 2.5 V Unit Min. Typ. Max. Min. Typ. Max. Min. Typ. Max. ICC1 f = 100 kHz − − 0.8*1 − − 0.3 − − ICC2 f = 100 kHz − − 4.0 − − 1.5 − − 0.2 mA 1.5*2 mA *1. f = 400 kHz *2. VCC = 1.8 to 2.5 V Item Standby current consumption Input current leakage Output current leakage Low-level output voltage Current address hold voltage Symbol Table 7 VCC = 4.5 to 5.5 V VCC = 2.5 to 4.5 V VCC = 1.6 to 2.5 V Unit Min. Typ. Max. Min. Typ. Max. Min. Typ. Max. Conditions ISB VIN = VCC or GND − − 1.0 − − 0.6 − − 0.4 µA ILI VIN = GND to VCC − 0.1 1.0 − 0.1 1.0 − 0.1 1.0 µA ILO VOUT = GND to VCC − 0.1 1.0 − 0.1 1.0 − 0.1 1.0 µA VOL IOL = 3.2 mA IOL = 1.5 mA − − − − 0.4 0.3 − − − − 0.4 0.3 − − − − − 0.5 V V 1.5 − 5.5 1.5 − 4.5 1.5 − 2.5 V VAH − Seiko Instruments Inc. 5 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 AC Electrical Characteristics VCC Table 8 Measurement Conditions Input pulse voltage 0.1 × VCC to 0.9 × VCC Input pulse rise/fall time 20 ns Output judgment voltage 0.5 × VCC Output load 100 pF + pull-up resistor 1.0 kΩ R = 1.0 kΩ SDA C = 100 pF Figure 3 Output Load Circuit Table 9 Item Symbol VCC = 4.5 V to 5.5 V VCC = 1.6 V to 4.5 V Min. Typ. Max. Min. Typ. Max. Unit SCL clock frequency fSCL 0 − 400 0 − 100 kHz SCL clock time “L” tLOW 1.0 − − 4.7 − − µs SCL clock time “H” tHIGH 0.9 − − 4.0 − − µs SDA output delay time tAA 0.1 − 0.9 0.1 − 3.5 µs SDA output hold time tDH 50 − − 100 − − ns Start condition setup time tSU.STA 0.6 − − 4.7 − − µs Start condition hold time tHD.STA 0.6 − − 4.0 − − µs 100 − − 200 − − ns − − ns Data input setup time tSU.DAT Data input hold time tHD.DAT 0 − 0 − Stop condition setup time tSU.STO 0.6 − − 4.7 − − µs SCL • SDA rise time tR − − 0.3 − − 1.0 µs SCL • SDA fall time tF − − 0.3 − − 0.3 µs Bus release time tBUF 1.3 − − 4.7 − − µs Noise suppression time tI − − 50 − − 100 ns tF tHIGH tLOW tR SCL tSU.STA tHD.DAT tHD.STA tSU.DAT tSU.STO SDA IN tAA tDH SDA OUT Figure 4 Bus Timing 6 Seiko Instruments Inc. tBUF 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Table 10 Item Write time Symbol tWR Min. Typ. Max. Unit 4.0 10.0 ms tWR SCL SDA D0 Stop condition Write data Start condition Acknowledge Figure 5 Write Cycle Timing Seiko Instruments Inc. 7 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Pin Functions 1. SDA (serial data input/output) pin The SDA pin is used for bidirectional transfer of serial data. It consists of a signal input pin and an Nch open-drain transistor output pin. Usually pull up the SDA line to VCC via a resistor, and use it with other open-drain or open-collector output devices connected in a wired-OR configuration. 2. SCL (serial clock input) pin The SCL pin is used for serial clock input. It is capable of processing signals at the rising and falling edges of the SCL clock input signal. Make sure the rise time and fall time conform to the specifications. 3. WP pin The WP pin is used for write protection. When there is no need for write protection, connect the pin to GND; when there is a need for write protection, connect the pin to VCC. 8 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Operation 1. Start condition When the SDA line changes from “H” to “L” with the SCL line at “H”, the device is in the start condition. All operations begin from the start condition. 2. Stop condition When the SDA line changes from “L” to “H” with the SCL line at “H”, the device is in the stop condition. When the device receives the stop condition signal during a read sequence, the read operation is interrupted, and the device enters standby mode. When the device receives the stop condition signal during a write sequence, the retrieval of write data is halted, and rewriting the E2PROM starts. tSU.STA tSU.STO tHD.STA SCL SDA Start condition Stop condition Figure 6 Start/Stop Condition Seiko Instruments Inc. 9 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 3. Data transfer Changing the SDA line while the SCL line is “L” allows the data to be transferred. A start or stop condition is recognized when the SDA line changes while the SCL line is “H”. tSU.DAT tHD.DAT SCL SDA Figure 7 Data Transfer Timing 4. Acknowledgment 8 bits of data are transferred in succession. The device on the system bus that receives the data changes the SDA line to “L” during the 9th clock cycle and outputs the acknowledge signal to inform that it has received the data. The device does not output the acknowledge signal while the E2PROM is being rewritten. SCL 2 (E PROM input) 1 8 9 SDA (Master output) SDA (E PROM output) 2 Acknowledge output Start condition tAA Figure 8 Acknowledge Output Timing 10 Seiko Instruments Inc. tDH 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 5. Device addressing To perform data communications, the master device mounted on the system outputs the start condition signal to the slave device. Next, the master device outputs a 7-bit device address and a 1-bit read/write instruction code onto the SDA bus. The higher 4 bits of the device address are called the “Device Code”, and are fixed to “1010”. The following 3 bits are “don’t care” bits. When the comparison results match, the slave device outputs the acknowledge signal during the 9th clock cycle. Don’t care Device code S-24C02BPPHL 1 0 1 0 X MSB Remark X X R/W LSB X: Don’t care Figure 9 Device Address Seiko Instruments Inc. 11 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 6. Write operation 6.1 Byte write When the E2PROM receives a 7-bit device address and the 1-bit read/write instruction code “0”, following the start condition signal, it outputs the acknowledge signal. Next, when the E2PROM receives an 8-bit word address, it outputs the acknowledge signal. After the E2PROM receives 8-bit write data and outputs the acknowledge signal, it receives the stop condition signal. Next, rewriting the specified memory address of the E2PROM starts. While the E2PROM is being rewritten, all operations are prohibited and the acknowledge signal is not output. S T A R T SDA line W R I T E DEVICE ADDRESS 1 M S B 0 1 0 X X X 0 WORD ADDRESS DATA W7 W6 W5 W4 W3 W2 W1 W0 L R A S / C B WK S T O P D7 D6 D5 D4 D3 D2 D1 D0 A C K A C K ADR INC (ADDRESS INCREMENT) Figure 10 Byte Write 12 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 6.2 Page write Up to 8 bytes per page can be written in the S-24C02BPPHL. Basic data transfer procedures are the same as those in “Byte write”. The S-24C02BPPHL performs page write by successively receiving 8-bit write data sized pages. When the E2PROM receives a 7-bit device address and the 1-bit read/write instruction code “0” following the start condition signal, it outputs the acknowledge signal. When the E2PROM receives an 8-bit word address, it outputs the acknowledge signal. After the E2PROM receives 8-bit write data and outputs the acknowledge signal, it receives 8-bit write data corresponding to the next word address, and outputs the acknowledge signal. The E2PROM repeats reception of 8-bit write data and output of the acknowledge signal in succession and can receive write data corresponding to the maximum page size. When the stop condition signal is received, E2PROM corresponding to the size of the page on which write data starting from the specified memory address is received starts to be rewritten. S T A R T SDA line W R I DEVICE T ADDRESS E 1 M S B 0 1 0 X X X 0 L R A S / C B WK WORD ADDRESS (n) W7 W6 W5 W4 W3 W2 W1 W0 DATA (n) DATA (n + 1) D7 D6 D5 D4 D3 D2 D1 D0 A C K D7 A C K ADR INC S T O P DATA (n + x) D0 D7 A C K ADR INC D0 A C K ADR INC Figure 11 Page Write The lower 3 bits of the word address are automatically incremented each time when the E2PROM receives 8-bit write data. Even when the write data exceeds 8 bytes, the higher 5 bits of the word address remain unchanged, and the lower 3 bits are rolled over and overwritten. Seiko Instruments Inc. 13 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 6.3 Write Protection Write protection is available in the S-24C02BPPHL. When the WP pin is connected to the VCC, write operation to memory area is forbidden at all. When the WP pin is connected to the GND, the write protection is invalid, and write operation in all memory area is available. Fix the level of the WP pin from the rising edge of SCL for loading the last write data (D0) until the end of the write time (10 ms max.). If the WP pin changes during this time, the address data being written at this time is not guaranteed. There is no need for using write protection, the WP pin should be connected to the GND. The write protection is valid in the operating voltage range. tWR SCL D0 SDA Write Data Acknowledge Stop Condition Start Condition WP WP Pin Fixed Period Figure 12 WP Pin Fixed Period 6.4 Acknowledge Polling Acknowledge polling is used to know the completion of the write cycle in the E2PROM. After the E2PROM receives a stop condition and once starts the write cycle, all operations are forbidden and no response is made to the signal transmitted by the master device. Accordingly the master device can recognize the completion of the write cycle in the E2PROM by detecting a response from the slave device after transmitting the start condition, the device address and the read/write instruction code to the E2PROM, namely to the slave devices. That is, if the E2PROM does not generate an acknowledge, the write cycle is in progress and if the E2PROM generates an acknowledge, the write cycle has been completed. Keep the level of the WP pin fixed until acknowledge is confirmed. It is recommended to use the read instruction "1" as the read/write instruction code transmitted by the master device. 14 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 7. Read 7.1 Current address read The E2PROM holds the last accessed memory address during both writing and reading. The memory address is retained as long as the power voltage is the retention voltage VAH or more. Accordingly, when the master device recognizes the position of the address pointer inside the E2PROM, data can be read from the memory address of the current address pointer without specifying a word address. This is called “Current Address Read”. “Current Address Read” is explained for when the address counter inside the E2PROM is address “n”. When the E2PROM receives a 7-bit device address and the 1-bit read/write instruction code “1”, following the start condition signal, it outputs the acknowledge signal. Next, 8-bit data at address “n” is output from the E2PROM, in synchronization with the SCL clock. The address counter is incremented to address n + 1 at the falling edge of the SCL clock at which the 8th bit of data is output. The master device does not output the acknowledge signal and transmits the stop condition signal to finish reading. S T A R T SDA line DEVICE ADDRESS 1 0 1 0 X X X 1 M S B NO ACK from master device R E A D S T O P D7 D6 D5 D4 D3 D2 D1 D0 L R A S / C B W K DATA ADR INC Figure 13 Current Address Read For recognition of the address pointer inside the E2PROM, take into consideration the following: The memory address counter inside the E2PROM is automatically incremented for every falling edge of the SCL clock at which the 8th bit of data is output during reading. During writing, the higher bits of the memory address (higher 5 bits of the word address) are left unchanged and are not incremented at any falling of the SCL clock when the 8th bit of the write data is received. Seiko Instruments Inc. 15 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 7.2 Random read Random read is a mode used when data is read from arbitrary memory addresses. To load a memory address into the address counter inside the E2PROM, first perform a dummy write following the procedure below. When the E2PROM receives a 7-bit device address and the 1-bit read/write instruction code “0” following the start condition signal, it outputs the acknowledge signal. Next, the E2PROM receives an 8-bit word address and outputs the acknowledge signal. The memory address has now been loaded into the address counter of the E2PROM. Following this, the E2PROM receives the write data during byte or page writing. However, data reception is not performed during dummy write. The memory address is loaded into the memory address counter inside the E2PROM during dummy write. After that, the master device can read the data starting from the arbitrary memory address by transmitting a new start condition signal and performing the same operation as that in the “Current Address Read”. That is, when the E2PROM receives a 7-bit device address and the 1-bit read/write instruction code “1” following the start condition signal, it outputs the acknowledge signal. Next, 8-bit data is output from the E2PROM in synchronization with the SCL clock. The master device does not output an acknowledge signal and transmits the stop condition signal instead. Reading is then complete. S T A R T SDA line DEVICE ADDRESS W R I T E 1 0 1 0 X X X 0 M S B S T A R T WORD ADDRESS (n) 1 0 1 0 X X X 1 W7 W6 W5 W4 W3 W2 W1 W0 L R A S / C B W K DEVICE ADDRESS A C K M S B DUMMY WRITE Figure 14 Random Read 16 R E A D Seiko Instruments Inc. L R A S / C B W K NO ACK from master device DATA S T O P D7 D6 D5 D4 D3 D2 D1 D0 ADR INC 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 7.3 Sequential read When the E2PROM receives a 7-bit device address and the 1-bit read/write instruction code “1” in both current and random read operations following the start condition signal, it outputs the acknowledge signal. When 8-bit data is output from the E2PROM, in synchronization with the SCL clock, the memory address counter inside the E2PROM is automatically incremented at the falling edge of the SCL clock at which the 8th data is output. When the master device transmits the acknowledge signal, the next memory address data is output. When the master device transmits the acknowledge signal, the memory address counter inside the E2PROM is incremented and data can be read in succession. This is called “Sequential Read”. When the master device does not output an acknowledge signal and transmits the stop condition signal, the read operation is finished. Data can be read in the “Sequential Read” mode in succession. When the memory address counter reaches the last word address, it rolls over to the first memory address. NO ACK from master device R E DEVICE ADDRESS A D SDA line 1 R A / C W K A C K A C K D7 D0 D7 D0 D7 DATA (n +1 ) DATA (n) ADR INC S T O P A C K D0 DATA (n + 2) ADR INC D0 D7 DATA (n + x) ADR INC ADR INC Figure 15 Sequential Read Seiko Instruments Inc. 17 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 8. Address increment timing The address increment timing is as follows. During a read operation, the memory address counter is automatically incremented at the falling edge of the SCL clock (where the 8th bit of read data is output). During a write operation, the memory address counter is also automatically incremented at the falling edge of the SCL clock when the 8th bit of write data is fetched. SCL SDA 8 R/W=1 9 1 D7 output ACK output 8 9 D0 output Address increment Figure 16 Address Increment Timing in Read Operation SCL 8 SDA R/W=0 9 1 ACK output D7 input 8 D0 input 9 ACK output Address increment Figure 17 Address Increment Timing in Write Operation 18 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Using S-24C02BPPHL 1. Adding a pull-up resistor to SDA I/O pin and SCL input pin Add a 1 kΩ to 5 kΩ pull-up resistor to the SCL input pin*1 and the SDA I/O pin in order to enable the functions of the I2C-BUS protocol. Normal communication cannot be provided without a pull-up resistor. *1. When the SCL input pin of the E2PROM is connected to a tri-state output pin of the microprocessor, connect the same pull-up resistor to prevent a high impedance status from being input to the SCL input pin. This protects the E2PROM from malfunction due to an undefined output (high impedance) from the tristate pin when the microprocessor is reset when the voltage drops. 2. Slave address The S-24C02BPPHL does not have slave address pins (A0, A1, A2). Therefore two or more of this IC cannot be used on the same bus. However, slave addresses can be used without changing the communication software because they are arbitrary addresses in communication with the master device. SDA line 1 0 1 0 X X Don’t care MSB X R/W ACK LSB Figure 18 Seiko Instruments Inc. 19 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 3. I/O pin equivalent circuit The I/O pins of this IC do not include pull-up and pull-down resistors. The SDA pin is an open-drain output. The following shows the equivalent circuits. SCL Figure 19 SCL Pin WP Figure 20 WP Pin SDA Figure 21 SDA Pin 20 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 4. Maximum effectiveness of write protection The following conditions must be satisfied to prevent erroneous writing at power-on due to write protection. (1) Set the WP pin to high level at a time other than when the write instruction is being executed, including during power-on or off. (2) Adjust the phase after power-on. Pulling up the WP pin to VCC to always enable the WP pin at the absolute maximum rated voltage or lower prohibits writing all the time regardless of the conditions of the VCC, SDA, and SCL pins. 5. Matching phases while E2PROM is accessed The S-24C02BPPHL does not have a pin for resetting (the internal circuit), therefore, the E2PROM cannot be forcibly reset externally. If a communication interruption occurs in the E2PROM, it must be reset by software. For example, even if a reset signal is input to the microprocessor, the internal circuit of the E2PROM is not reset as long as the stop condition is not input to the E2PROM. In other words, the E2PROM retains the same status and cannot shift to the next operation. This symptom applies to the case when only the microprocessor is reset when the power supply voltage drops. With this status, if the power supply voltage is restored, reset the E2PROM (after matching the phase with the microprocessor) and input an instruction. The following shows this reset method. [How to reset E2PROM] The E2PROM can be reset by the start and stop instructions. When the E2PROM is reading data “0” or is outputting the acknowledge signal, 0 is output to the SDA line. In this status, the microprocessor cannot output an instruction to the SDA line. In this case, terminate the acknowledge output operation or read operation, and then input a start instruction. Figure 22 shows this procedure. First, input the start condition. Then transmit 9 clocks (dummy clocks) of SCL. During this time, the microprocessor sets the SDA line to high level. By this operation, the E2PROM interrupts the acknowledge output operation or data output, so input the start condition*1. When a start condition is input, the E2PROM is reset. To make doubly sure, input the stop condition to the E2PROM. Normal operation is then possible. Start Dummy clock condition 1 2 8 Start Stop condition condition 9 SCL SDA Figure 22 Resetting E2PROM *1. After 9 clocks (dummy clocks), if the SCL clock continues to be output without a start condition being input, a write operation may be started upon receipt of a stop condition. To prevent this, input a start condition after 9 clocks (dummy clocks). Remark It is recommended to perform the above reset using dummy clocks when the system is initialized after the power supply voltage has been raised. Seiko Instruments Inc. 21 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 6. Acknowledge check The I2C-BUS protocol includes an acknowledge check function as a handshake function to prevent a communication error. This function allows detection of a communication failure during data communication between the microprocessor and E2PROM. This function is effective to prevent malfunction, so it is recommended to perform an acknowledge check on the microprocessor side. 7. Built-in power-on-clear circuit E2PROMs have a built-in power-on-clear circuit that initializes the E2PROM. Unsuccessful initialization may cause a malfunction. For the power-on-clear circuit to operate normally, the following conditions must be satisfied for raising the power supply voltage. 7.1 Raising power supply voltage Raise the power supply voltage, starting at 0.2 V maximum, so that the voltage reaches the power supply voltage to be used within the time defined by tRISE as shown in Figure 23. For example, when the power supply voltage to be used is 5.0 V, tRISE is 200 ms as shown in Figure 24. The power supply voltage must be raised within 200 ms. tRISE (Max.) Power supply voltage (VCC) VINIT (Max.) 0.2 V 0 V*1 tINIT*2 (Max.) *1. 0 V means there is no difference in potential between the VCC pin and the GND pin of the E2PROM. *2. tINIT is the time required to initialize the E2PROM. No instructions are accepted during this time. Figure 23 Raising Power Supply Voltage 22 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 5.0 4.0 Power supply voltage (VCC) [V] 3.0 2.0 50 100 150 200 Rise time (tRISE) Max. [ms] For example: If your E2PROM supply voltage = 5.0 V, raise the power supply voltage to 5.0 V within 200 ms. Figure 24 Raising Time of Power Supply Voltage When initialization is successfully completed via the power-on-clear circuit, the E2PROM enters the standby status. If the power-on-clear circuit does not operate, the following are the possible causes. (1) Because the E2PROM has not been initialized, an instruction formerly input is valid or an instruction may be inappropriately recognized. In this case, writing may be performed. (2) The voltage may have dropped due to power off while the E2PROM is being accessed. Even if the microprocessor is reset due to the low power voltage, the E2PROM may malfunction unless the poweron-clear operation conditions of E2PROM are satisfied. For the power-on-clear operation conditions of E2PROM, refer to 7.1 Raising power supply voltage. If the power-on-clear circuit does not operate, match the phase (reset) so that the internal E2PROM circuit is normally reset. The statuses of the E2PROM immediately after the power-on-clear circuit operates and when phase is matched (reset) are the same. Seiko Instruments Inc. 23 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 7.2 Wait for the initialization sequence to end The E2PROM executes initialization during the time that the supply voltage is increasing to its normal value. All instructions must wait until after initialization. The relationship between the initialization time (tINIT) and rise time (tRISE) is shown in Figure 25. 100 m 10 m 2 E PROM initialization time (tINIT) Max. [s] 1.0 m 100 µ 10 µ 1.0 µ 1.0 µ 10 µ 100 µ 1.0 m 10 m 100 m Rise time (tRISE) [s] Figure 25 Initialization Time of E2PROM 24 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 8. Data hold time (tHD.DAT = 0 ns) If SCL and SDA of the E2PROM are changed at the same time, it is necessary to prevent the start/stop condition from being mistakenly recognized due to the effect of noise. If a start/stop condition is mistakenly recognized during communication, the E2PROM enters the standby status. It is recommended that SDA is delayed from the falling edge of SCL by 0.3 µs minimum in the S24C02BPPHL. This is to prevent time lag caused by the load of the bus line from generating the stop (or start) condition. tHD.DAT = 0.3 µs Min. SCL SDA Figure 26 E2PROM Data Hold Time 9. SDA pin and SCL pin noise suppression time The S-24C02BPPHL includes a built-in low-pass filter to suppress noise at the SDA and SCL pins. This means that if the power supply voltage is 5.0 V (at room temperature), noise with a pulse width of 150 ns or less can be suppressed. The guaranteed for details, refer to noise suppression time (tI) in Table 9. 300 Noise suppression time (tI) Max. [ns] 200 100 2 3 4 5 Power supply voltage (VCC) [V] Figure 27 Noise Suppression Time for SDA and SCL Pins Seiko Instruments Inc. 25 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 10. Trap: E2PROM operation in case that the stop condition is received during write operation before receiving the defined data value (less than 8-bit) to SCL pin When the E2PROM receives the stop condition signal compulsorily, during receiving 1 byte of write data, “write” operation is aborted. When the E2PROM receives the stop condition signal after receiving 1 byte or more of data for “page write”, 8-bit of data received normally before receiving the stop condition signal can be written. 11. Trap: E2PROM operation and write data in case that write data is input more than defined page size at “page write” When write data is input more than defined page size at page write operation, for example, S-24C02BPPHL (which can be executed 8-byte page write) is received data more than 9 byte, 8-bit data of the 9th byte is over written to the first byte in the same page. Data over the capacity of page address cannot be written. 12. Trap: Severe environments Absolute maximum ratings: Do not operate these ICs in excess of the absolute maximum ratings, as listed on the data sheet. Exceeding the supply voltage rating can cause latch-up. Operations with moisture on the E2PROM pins may occur malfunction by short-circuit between pins. Especially, in occasions like picking the E2PROM up from low temperature tank during the evaluation. Be sure that not remain frost on E2PROM pin to prevent malfunction by short-circuit. Also attention should be paid in using on environment, which is easy to dew for the same reason. 26 Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Precautions • Do not apply an electrostatic discharge to this IC that exceeds the performance ratings of the built-in electrostatic protection circuit. • SII claims no responsibility for any and all disputes arising out of or in connection with any infringement by the products including this IC of patents owned by a third party. Seiko Instruments Inc. 27 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Characteristics (Typical Data) 1. DC Characteristics 1.1 Current consumption (READ) ICC1 − Ambient temperature Ta 1.2 Current consumption (READ) ICC1 − Ambient temperature Ta VCC = 3.3 V fSCL = 100 kHz DATA = 0101 VCC = 5.5 V fSCL = 100 kHz DATA = 0101 200 ICC1 (µA) ICC1 (µA) 200 100 0 100 0 −40 0 85 −40 0 Ta (°C) 1.3 Ta (°C) Current consumption (READ) ICC1 − Ambient temperature Ta 1.4 Current consumption (READ) ICC1 − Power supply voltage VCC VCC = 1.8 V fSCL = 100 kHz DATA = 0101 Ta = 25°C fSCL = 100 kHz DATA = 0101 100 ICC1 (µA) ICC1 (µA) 40 20 0 −40 0 50 0 85 2 Ta (°C) 1.5 1.6 6 7 VCC = 5.0 V Ta = 25°C 200 200 ICC1 (µA) ICC1 (µA) 5 4 Current consumption (READ) ICC1 − Clock frequency fSCL Ta = 25°C fSCL = 400 kHz DATA = 0101 100 2 3 4 5 6 100 0 7 VCC (V) 28 3 VCC (V) Current consumption (READ) ICC1 − Power supply voltage VCC 0 85 100 k 200 k 300 k fSCL(Hz) Seiko Instruments Inc. 400 k 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 1.7 Current consumption (PROGRAM) ICC2 − Ambient temperature Ta 1.8 Current consumption (PROGRAM) ICC2 − Ambient temperature Ta VCC = 3.3 V VCC = 5.5 V 1.0 ICC2 (mA) ICC2 (mA) 1.0 0.5 0 0.5 0 −40 0 85 −40 0 Ta (°C) 1.9 Ta (°C) Current consumption (PROGRAM) ICC2 − Ambient temperature Ta 1.10 Current consumption (PROGRAM) ICC2 − Power supply voltage VCC VCC = 2.5 V Ta = 25°C 1.0 ICC2 (mA) ICC2 (mA) 1.0 0.5 0 −40 0 0.5 0 85 2 3 1.11 Standby current consumption ISB − Ambient temperature Ta 5 6 7 1.12 Input current leakage ILI − Ambient temperature Ta VCC = 5.5 V VCC = 5.5 V SDA, SCL, WP = 0 V 10-7 1.0 ILI (µA) 10-8 ISB (A) 4 VCC (V) Ta (°C) 10-9 10-10 10 85 0.5 -11 −40 0 85 0 Ta (°C) −40 0 85 Ta (°C) Seiko Instruments Inc. 29 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL 1.13 Input current leakage ILI − Ambient temperature Ta Rev.2.2_00 1.14 Output current leakage ILO − Ambient temperature Ta VCC = 5.5 V SDA = 0 V VCC = 5.5 V SDA, SCL, WP = 5.5 V 1.0 ILO (µA) ILI (µA) 1.0 0.5 0 0.5 0 −40 0 85 −40 Ta (°C) 1.15 Ta (°C) Output current leakage ILO − Ambient temperature Ta 1.16 Low-level output voltage VOL − Low-level output current IOL VCC = 5.5 V SDA = 5.5 V Ta = 25°C 0.2 VOL (V) ILO (µA) 1.0 0.5 0 −40 0 VCC = 3.3 V 0.1 0 85 VCC = 5 V 1 Low-level output voltage VOL − Ambient temperature Ta 1.18 VCC = 4.5 V IOL = 3.2 mA 0.3 0.2 4 5 VCC = 1.8 V IOL = 100 µA 0.2 0.1 0.1 −40 0 −40 85 Ta (°C) 30 3 6 Low-level output voltage VOL − Ambient temperature Ta VOL (V) VOL (V) 0.3 2 IOL (mA) Ta (°C) 1.17 85 0 0 85 Ta (°C) Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 1.19 Low-level output current IOL − Ambient temperature Ta 1.20 Low-level output current IOL − Ambient temperature Ta VCC = 1.8 V VOL = 0.1 V VCC = 4.5 V VOL = 0.45 V 2.0 IOL (mA) IOL (mA) 20 10 0 0 1.21 1.0 −40 0 Ta (°C) 85 High input inversion voltage VIH − Power supply voltage VCC 1.22 VCC = 5.0 V SDA, SCL, WP VIH (V) 3.0 2.0 2.0 1.0 1.0 0 2 1 3 4 5 6 0 −40 7 0 VCC (V) 1.24 Low input inversion voltage VIL − Ambient temperature Ta VCC = 5.0 V SDA, SCL, WP Ta = 25°C SDA, SCL, WP 3.0 3.0 VIL (V) VIL (V) 85 Ta (°C) Low input inversion voltage VIL − Power supply voltage VCC 2.0 2.0 1.0 1.0 0 85 High input inversion voltage VIH − Ambient temperature Ta 3.0 1.23 0 Ta (°C) Ta = 25°C SDA, SCL, WP VIH (V) −40 1 2 3 4 5 VCC (V) 6 0 7 −40 0 85 Ta (°C) Seiko Instruments Inc. 31 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 2. AC Characteristics 2.1 Maximum operating frequency fMAX − Power supply voltage VCC 2.2 Write time tWR − Power supply voltage VCC Ta = 25°C Ta = 25°C 4 tWR (ms) fMAX (HZ) 1 M 100 k 3 2 10 k 1 1 2 3 4 1 5 2 4 3 VCC (V) 2.3 Write time tWR − Ambient temperature Ta 2.4 VCC = 2.5 V tWR (ms) tWR (ms) 6 4 4 2 2 −40 0 −40 85 0 Ta (°C) 85 Ta (°C) SDA output delay time tAA − Ambient temperature Ta 2.6 SDA output delay time tAA − Ambient temperature Ta VCC = 2.7 V VCC = 4.5 V 1.5 1.5 1.0 1.0 tAA (µs) tAA (µs) 7 Write time tWR − Ambient temperature Ta 6 0.5 0.5 −40 −40 85 0 Ta (°C) 32 6 VCC (V) VCC = 4.5 V 2.5 5 0 85 Ta (°C) Seiko Instruments Inc. 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 2.7 SDA output delay time tAA − Ambient temperature Ta VCC = 1.8 V tAA (µs) 3.0 2.0 1.0 −40 0 85 Ta (°C) Seiko Instruments Inc. 33 2-WIRE CMOS SERIAL E2PROM S-24C02BPPHL Rev.2.2_00 Product Name Structure S-24C02BP PH L - TF - G IC direction in tape specification Operating voltage range L : Writing 1.8 to 5.5 V, reading 1.6 to 5.5 V Package code PH : SNT-8A Product name S-24C02BP : 2k bit 34 Seiko Instruments Inc. 1.97±0.03 8 7 6 5 3 4 +0.05 1 0.5 2 0.08 -0.02 0.48±0.02 0.2±0.05 No. PH008-A-P-SD-2.0 TITLE SNT-8A-A-PKG Dimensions PH008-A-P-SD-2.0 No. SCALE UNIT mm Seiko Instruments Inc. +0.1 ø1.5 -0 5° 2.25±0.05 4.0±0.1 2.0±0.05 ø0.5±0.1 0.25±0.05 0.65±0.05 4.0±0.1 4 321 5 6 78 Feed direction No. PH008-A-C-SD-1.0 TITLE SNT-8A-A-Carrier Tape PH008-A-C-SD-1.0 No. SCALE UNIT mm Seiko Instruments Inc. 12.5max. 9.0±0.3 Enlarged drawing in the central part ø13±0.2 (60°) (60°) No. PH008-A-R-SD-1.0 TITLE SNT-8A-A-Reel No. PH008-A-R-SD-1.0 SCALE UNIT QTY. mm Seiko Instruments Inc. 5,000 0.52 2.01 0.52 0.3 0.2 0.3 0.2 0.3 0.2 0.3 Caution Making the wire pattern under the package is possible. However, note that the package may be upraised due to the thickness made by the silk screen printing and of a solder resist on the pattern because this package does not have the standoff. No. PH008-A-L-SD-3.0 TITLE SNT-8A-A-Land Recommendation PH008-A-L-SD-3.0 No. SCALE UNIT mm Seiko Instruments Inc. • • • • • • The information described herein is subject to change without notice. Seiko Instruments Inc. is not responsible for any problems caused by circuits or diagrams described herein whose related industrial properties, patents, or other rights belong to third parties. The application circuit examples explain typical applications of the products, and do not guarantee the success of any specific mass-production design. When the products described herein are regulated products subject to the Wassenaar Arrangement or other agreements, they may not be exported without authorization from the appropriate governmental authority. Use of the information described herein for other purposes and/or reproduction or copying without the express permission of Seiko Instruments Inc. is strictly prohibited. The products described herein cannot be used as part of any device or equipment affecting the human body, such as exercise equipment, medical equipment, security systems, gas equipment, or any apparatus installed in airplanes and other vehicles, without prior written permission of Seiko Instruments Inc. Although Seiko Instruments Inc. exerts the greatest possible effort to ensure high quality and reliability, the failure or malfunction of semiconductor products may occur. The user of these products should therefore give thorough consideration to safety design, including redundancy, fire-prevention measures, and malfunction prevention, to prevent any accidents, fires, or community damage that may ensue.