CAT24C128 128-Kb I2C CMOS Serial EEPROM FEATURES DEVICE DESCRIPTION ■ Supports Standard and Fast I2C Protocol The CAT24C128 is a 128-Kb Serial CMOS EEPROM, internally organized as 256 pages of 64 bytes each, for a total of 16,384 bytes of 8 bits each. ■ 1.8V to 5.5V Supply Voltage Range ■ 64-Byte Page Write Buffer It features a 64-byte page write buffer and supports both the Standard (100 kHz) as well as Fast (400 kHz) I2C protocol. ■ Hardware Write Protection for entire memory ■ Schmitt Triggers and Noise Suppression Filters on I2C Bus Inputs (SCL and SDA). Write operations can be inhibited by taking the WP pin High (this protects the entire memory). ■ Low power CMOS technology ■ 1,000,000 program/erase cycles ■ 100 year data retention ■ Industrial temperature range ■ RoHS-compliant 8-lead PDIP, SOIC and TSSOP packages For Ordering Information details, see page 14. PIN CONFIGURATION FUNCTIONAL SYMBOL PDIP (L) SOIC (W) TSSOP (Y) VCC A0 1 8 VCC A1 A2 2 7 WP 3 6 SCL VSS 4 5 SDA SCL A2, A1, A0 For the location of Pin 1, please consult the corresponding package drawing. CAT24C128 SDA WP PIN FUNCTIONS VSS A0, A1, A2 Device Address Inputs SDA Serial Data Input/Output SCL Serial Clock Input WP Write Protect Input VCC Power Supply VSS Ground © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice * Catalyst carries the I2C protocol under a license from the Philips Corporation. 1 Doc. No. 1103, Rev. G CAT24C128 ABSOLUTE MAXIMUM RATINGS(1) Storage Temperature -65°C to +150°C Voltage on Any Pin with Respect to Ground(2) -0.5 V to +6.5 V RELIABILITY CHARACTERISTICS(3) Symbol Parameter Min Units NEND(4) Endurance 1,000,000 Program/ Erase Cycles 100 Years TDR Data Retention D.C. OPERATING CHARACTERISTICS VCC = 1.8 V to 5.5 V, TA = -40°C to 85°C, unless otherwise specified. Symbol Parameter Test Conditions ICCR Read Current ICCW Min Max Units Read at 400 kHz 1 mA Write Current Write 3 mA ISB Standby Current All I/O Pins at GND or VCC 1 μA IL I/O Pin Leakage Pin at GND or VCC 1 μA VIL Input Low Voltage VCC x 0.3 V VIH Input High Voltage VCC x 0.7 VCC + 0.5 V VOL1 Output Low Voltage VCC ≥ 2.5 V, IOL = 3.0 mA 0.4 V VOL2 Output Low Voltage VCC < 2.5 V, IOL = 1.0 mA 0.2 V Max Units -0.5 PIN IMPEDANCE CHARACTERISTICS VCC = 1.8 V to 5.5 V, TA = -40°C to 85°C, unless otherwise specified. Symbol Parameter Conditions CIN(3) SDA I/O Pin Capacitance VIN = 0 V 8 pF CIN(3) Input Capacitance (other pins) VIN = 0 V 6 pF IWP(5) WP Input Current VIN < VIH 200 μA VIN > VIH 1 μA Note: (1) Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions outside of those listed in the operational sections of this specification is not implied. Exposure to any absolute maximum rating for extended periods may affect device performance and reliability. (2) The DC input voltage on any pin should not be lower than -0.5 V or higher than VCC + 0.5 V. During transitions, the voltage on any pin may undershoot to no less than -1.5 V or overshoot to no more than VCC + 1.5 V, for periods of less than 20 ns. (3) These parameters are tested initially and after a design or process change that affects the parameter according to appropriate AEC-Q100 and JEDEC test methods. (4) Page Mode, VCC = 5 V, 25°C (5) When not driven, the WP pin is pulled down to GND internally. For improved noise immunity, the internal pull-down is relatively strong; therefore the external driver must be able to supply the pull-down current when attempting to drive the input HIGH. To conserve power, as the input level exceeds the trip point of the CMOS input buffer (~ 0.5 x VCC), the strong pull-down reverts to a weak current source. Doc. No. 1103, Rev. G 2 © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice CAT24C128 A.C. CHARACTERISTICS(1) VCC = 1.8 V to 5.5 V, TA = -40°C to 85°C. Standard Symbol FSCL tHD:STA Min Parameter Max Clock Frequency Fast Min 100 START Condition Hold Time Max Units 400 kHz 4 0.6 μs tLOW Low Period of SCL Clock 4.7 1.3 μs tHIGH High Period of SCL Clock 4 0.6 μs 4.7 0.6 μs tSU:STA START Condition Setup Time tHD:DAT Data Hold Time 0 0 μs tSU:DAT Data Setup Time 250 100 ns tR SDA and SCL Rise Time 1000 300 ns tF(2) SDA and SCL Fall Time 300 300 ns tSU:STO STOP Condition Setup Time tBUF Bus Free Time Between STOP and START tAA SCL Low to SDA Data Out tDH Data Out Hold Time Ti(2) Noise Pulse Filtered at SCL and SDA Inputs 4 0.6 μs 4.7 1.3 μs 3.5 100 0.9 100 100 μs ns 100 ns tSU:WP WP Setup Time 0 0 μs tHD:WP WP Hold Time 2.5 2.5 μs tWR tPU(2, 3) Write Cycle Time 5 5 ms Power-up to Ready Mode 1 1 ms Note: (1) Test conditions according to “A.C. Test Conditions” table. (2) Tested initially and after a design or process change that affects this paramete. (3) tPU is the delay between the time VCC is stable and the device is ready to accept commands. A.C. TEST CONDITIONS Input Levels 0.2 x VCC to 0.8 x VCC Input Rise and Fall Times ≤ 50 ns Input Reference Levels 0.3 x VCC, 0.7 x VCC Output Reference Levels 0.5 x VCC Output Load Current Source: IOL = 3 mA (VCC ≥ 2.5 V); IOL = 1 mA (VCC < 2.5 V); CL = 100 pF © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice 3 Doc No. 1103, Rev. G CAT24C128 POWER-ON RESET (POR) I2C BUS PROTOCOL The CAT24C128 incorporates Power-On Reset (POR) circuitry which protects the device against powering up in the wrong state. The I2C bus consists of two ‘wires’, SCL and SDA. The two wires are connected to the VCC supply via pull-up resistors. Master and Slave devices connect to the 2wire bus via their respective SCL and SDA pins. The transmitting device pulls down the SDA line to ‘transmit’ a ‘0’ and releases it to ‘transmit’ a ‘1’. The CAT24C128 will power up into Standby mode after VCC exceeds the POR trigger level and will power down into Reset mode when VCC drops below the POR trigger level. This bi-directional POR feature protects the device against ‘brown-out’ failure following a temporary loss of power. Data transfer may be initiated only when the bus is not busy (see A.C. Characteristics). During data transfer, the SDA line must remain stable while the SCL line is HIGH. An SDA transition while SCL is HIGH will be interpreted as a START or STOP condition (Figure 1). The START condition precedes all commands. It consists of a HIGH to LOW transition on SDA while SCL is HIGH. The START acts as a ‘wake-up’ call to all receivers. Absent a START, a Slave will not respond to commands. The STOP condition completes all commands. It consists of a LOW to HIGH transition on SDA while SCL is HIGH. PIN DESCRIPTION SCL: The Serial Clock input pin accepts the Serial Clock generated by the Master. SDA: The Serial Data I/O pin receives input data and transmits data stored in EEPROM. In transmit mode, this pin is open drain. Data is acquired on the positive edge, and is delivered on the negative edge of SCL. Device Addressing The Master initiates data transfer by creating a START condition on the bus. The Master then broadcasts an 8-bit serial Slave address. The first 4 bits of the Slave address are set to 1010, for normal Read/Write operations (Figure 2). The next 3 bits, A2, A1 and A0, select one of 8 possible Slave devices and must match the state of the external address pins. The last bit, R/ R/W, specifies whether a Read (1) or Write (0) operation is to be performed. A0, A1 and A2: The Address pins accept the device address. When not driven, these pins are pulled LOW internally. WP: The Write Protect input pin inhibits all write operations, when pulled HIGH. When not driven, this pin is pulled LOW internally. Acknowledge FUNCTIONAL DESCRIPTION After processing the Slave address, the Slave responds with an acknowledge (ACK) by pulling down the SDA line during the 9th clock cycle (Figure 3). The Slave will also acknowledge all address bytes and every data byte presented in Write mode. In Read mode the Slave shifts out a data byte, and then releases the SDA line during the 9th clock cycle. As long as the Master acknowledges the data, the Slave will continue transmitting. The Master terminates the session by not acknowledging the last data byte (NoACK) and by issuing a STOP condition. Bus timing is illustrated in Figure 4. The CAT24C128 supports the Inter-Integrated Circuit (I2C) Bus data transmission protocol, which defines a device that sends data to the bus as a transmitter and a device receiving data as a receiver. Data flow is controlled by a Master device, which generates the serial clock and all START and STOP conditions. The CAT24C128 acts as a Slave device. Master and Slave alternate as either transmitter or receiver. Up to 8 devices may be connected to the bus as determined by the device address inputs A0, A1, and A2. Doc. No. 1103, Rev. G 4 © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice CAT24C128 Figure 1. START/STOP Conditions SCL SDA START CONDITION STOP CONDITION Figure 2. Slave Address Bits DEVICE ADDRESS 1 0 1 0 A2 A1 A0 R/W Figure 3. Acknowledge Timing BUS RELEASE DELAY (RECEIVER) BUS RELEASE DELAY (TRANSMITTER) SCL FROM MASTER 1 8 9 DATA OUTPUT FROM TRANSMITTER DATA OUTPUT FROM RECEIVER START ACK SETUP (≥ tSU:DAT) ACK DELAY (≤ tAA) Figure 4. Bus Timing tF tHIGH tLOW tR tLOW SCL tSU:STA tHD:STA tHD:DAT tSU:DAT tSU:STO SDA IN tAA tDH tBUF SDA OUT © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice 5 Doc No. 1103, Rev. G CAT24C128 WRITE OPERATIONS Byte Write Hardware Write Protection Upon receiving a Slave address with the R/ R/W W bit set to ‘0’, the CAT24C128 will interpret the next two bytes as address bytes These bytes are used to initialize the internal address counter; the 2 most significant bits are ‘don’t care’, the next 8 point to one of 256 available pages and the last 6 point to a location within a 64 byte page. A byte following the address bytes will be interpreted as data. The data will be loaded into the Page Write Buffer and will eventually be written to memory at the address specified by the 14 active address bits provided earlier. The CAT24C128 will acknowledge the Slave address, address bytes and data byte. The Master then starts the internal Write cycle by issuing a STOP condition (Figure 5). During the internal Write cycle (tWR), the SDA output will be tri-stated and additional Read or Write requests will be ignored (Figure 6). With the WP pin held HIGH, the entire memory is protected against Write operations. If the WP pin is left floating or is grounded, it has no impact on the operation of the CAT24C128. The state of the WP pin is strobed on the last falling edge of SCL immediately preceding the first data byte (Figure 8). If the WP pin is HIGH during the strobe interval, the CAT24C128 will not acknowledge the data byte and the Write request will be rejected. Delivery State The CAT24C128 is shipped erased, i.e., all bytes are FFh. Page Write By continuing to load data into the Page Write Buffer after the 1st data byte and before issuing the STOP condition, up to 64 bytes can be written simultaneously during one internal Write cycle (Figure 7). If more data bytes are loaded than locations available to the end of page, then loading will continue from the beginning of page, i.e. the page address is latched and the address count automatically increments to and then wrapsaround at the page boundary. Previously loaded data can thus be overwritten by new data. What is eventually written to memory reflects the latest Page Write Buffer contents. Only data loaded within the most recent Page Write sequence will be written to memory. Acknowledge Polling The ready/busy status of the CAT24C128 can be ascertained by sending Read or Write requests immediately following the STOP condition that initiated the internal Write cycle. As long as internal Write is in progress, the CAT24C128 will not acknowledge the Slave address. Doc. No. 1103, Rev. G 6 © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice CAT24C128 Figure 5. Byte Write Sequence S T A R T BUS ACTIVITY: MASTER ADDRESS BYTE a7–a0 ADDRESS BYTE a13–a8 SLAVE ADDRESS S A C K SLAVE ** S T O P DATA BYTE P A C K A C K A C K * = Don't Care Bit Figure 6. Write Cycle Timing SCL 8th Bit Byte n SDA ACK tWR STOP CONDITION START CONDITION ADDRESS Figure 7. Page Write Sequence BUS ACTIVITY: MASTER S T A R T ADDRESS BYTE a13–a8 SLAVE ADDRESS S A C K SLAVE ** ADDRESS BYTE a7–a0 DATA BYTE n DATA BYTE n+1 DATA BYTE n+P S T O P P A C K A C K A C K A C K A C K A C K Don't Care Bit *P =≤ 63 Figure 8. WP Timing ADDRESS BYTE DATA BYTE 1 8 a7 a0 9 1 8 d7 d0 SCL SDA tSU:WP WP tHD:WP © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice 7 Doc No. 1103, Rev. G CAT24C128 READ OPERATIONS Immediate Read Upon receiving a Slave address with the R/ R/W W bit set to ‘1’, the CAT24C128 will interpret this as a request for data residing at the current byte address in memory. The CAT24C128 will acknowledge the Slave address, will immediately shift out the data residing at the current address, and will then wait for the Master to respond. If the Master does not acknowledge the data (NoACK) and then follows up with a STOP condition (Figure 9), the CAT24C128 returns to Standby mode. Selective Read To read data residing at a specific location, the internal address counter must first be initialized as described under Byte Write. If rather than following up the two address bytes with data, the Master instead follows up with an Immediate Read sequence, then the CAT24C128 will use the 14 active addres bits to initialize the internal address counter and will shift out data residing at the corresponding location. If the Master does not acknowledge the data (NoACK) and then follows up with a STOP condition (Figure 10), the CAT24C128 returns to Standby mode. Sequential Read If during a Read session the Master acknowledges the 1st data byte, then the CAT24C128 will continue transmitting data residing at subsequent locations until the Master responds with a NoACK, followed by a STOP (Figure 11). In contrast to Page Write, during Sequential Read the address count will automatically increment to and then wrap-around at end of memory (rather than end of page). Doc. No. 1103, Rev. G 8 © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice CAT24C128 Figure 9. Immediate Read Sequence and Timing BUS ACTIVITY: MASTER S T A R T N O S AT CO KP SLAVE ADDRESS S P A C K SLAVE SCL 8 DATA BYTE 9 8th Bit SDA DATA OUT NO ACK STOP Figure 10. Selective Read Sequence BUS ACTIVITY: MASTER S T A R T ADDRESS BYTE a13–a8 SLAVE ADDRESS S A C K SLAVE * = Don't Care Bit ** S T A R T ADDRESS BYTE a7–a0 N OS A T CO KP SLAVE ADDRESS S A C K P A C K A C K DATA BYTE Figure 11. Sequential Read Sequence BUS ACTIVITY: MASTER N O S AT CO KP SLAVE ADDRESS P SLAVE © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice A C K DATA BYTE n A C K DATA BYTE n+1 9 A C K DATA BYTE n+2 A C K DATA BYTE n+x Doc No. 1103, Rev. G CAT24C128 8-LEAD 300 MIL WIDE PLASTIC DIP (L) E1 E D A2 A A1 L e eB b2 b SYMBOL A A1 A2 b b2 D E E1 e eB L MIN NOM MAX 4.57 0.38 3.05 0.36 1.14 9.02 7.62 6.09 7.87 0.115 0.46 7.87 6.35 2.54 BSC 0.130 3.81 0.56 1.77 10.16 8.25 7.11 9.65 0.150 24C16_8-LEAD_DIP_(300P).eps For current Tape and Reel information, download the PDF file from: http://www.catsemi.com/documents/tapeandreel.pdf. Notes: 1. All dimensions are in millimeters. 2. Complies with JEDEC Standard MS001. 3. Dimensioning and tolerancing per ANSI Y14.5M-1982 Doc. No. 1103, Rev. G 10 © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice CAT24C128 8-LEAD 150 MIL WIDE SOIC (W) E1 E h x 45 D C A θ1 e A1 L b SYMBOL MIN A1 A b C D E E1 e h L θ1 0.10 1.35 0.33 0.19 4.80 5.80 3.80 NOM MAX 0.25 1.75 0.51 0.25 5.00 6.20 4.00 1.27 BSC 0.25 0.40 0° 0.50 1.27 8° 24C16_8-LEAD_SOIC.eps For current Tape and Reel information, download the PDF file from: http://www.catsemi.com/documents/tapeandreel.pdf. Notes: 1. All dimensions are in millimeters. 2. Complies with JEDEC specification MS-012. © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice 11 Doc No. 1103, Rev. G CAT24C128 8-LEAD TSSOP (Y) D 5 8 SEE DETAIL A c E E1 E/2 GAGE PLANE 4 1 PIN #1 IDENT. 0.25 θ1 L A2 SEATING PLANE SEE DETAIL A A e A1 b SYMBOL A A1 A2 b c D E E1 e L θ1 MIN 0.05 0.80 0.19 0.09 2.90 6.30 4.30 0.50 0.00 NOM 0.90 3.00 6.4 4.40 0.65 BSC 0.60 MAX 1.20 0.15 1.05 0.30 0.20 3.10 6.50 4.50 0.75 8.00 For current Tape and Reel information, download the PDF file from: http://www.catsemi.com/documents/tapeandreel.pdf. Notes: 1. All dimensions are in millimeters. 2. Complies with JEDEC specification MO-153. Doc. No. 1103, Rev. G 12 © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice CAT24C128 PACKAGE MARKING 8-Lead PDIP 8-Lead SOIC 24C128LI FYYWWB CSI 24C128L I YY WW B F 24C128WI FYYWWB = Catalyst Semiconductor, Inc. = Device Code = Temperature Range = Production Year = Production Week = Product Revision = Lead Finish 4 = NiPdAu CSI = Catalyst Semiconductor, Inc. 24C128W = Device Code I = Temperature Range YY = Production Year WW = Production Week B = Product Revision F = Lead Finish 4 = NiPdAu 8-Lead TSSOP YMBF 24128I Y M B 24128 I F = Production Year = Production Month = Product Revision = Device Code = Temperature Range = Lead Finish 4 = NiPdAu © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice 13 Doc No. 1103, Rev. G CAT24C128 ORDERING INFORMATION Prefix CAT Company ID Device # Suffix 24C128 Y Product Number 24C128 I –G Temperature Range I = Industrial (-40°C to +85°C) Package L: PDIP W: SOIC, JEDEC Y: TSSOP T3 T: Tape & Reel 3: 3000/Reel Lead Finish G: NiPdAu Notes: (1) All packages are RoHS-compliant (Lead-free, Halogen-free). (2) The standard lead finish is NiPdAu. (3) The device used in the above example is a CAT24C128YI-GT3 (TSSOP, Industrial Temperature, NiPdAu, Tape & Reel). (4) For additional package and temperature options, please contact your nearest Catalyst Semiconductor Sales office. Doc. No. 1103, Rev. G 14 © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice CAT24C128 REVISION HISTORY Date Revision Comments 10/07/05 A Initial Issue 11/16/05 B Update Ordering Information Add Tape and Reel Specifications 02/02/06 C Update A.C. Characteristics Update Ordering Information 03/13/06 D Update A.C. Characteristics 04/26/06 E Update Features Update Device Description Update Pin Configuration Update A.C. Characteristics Update Hardware Write Protecttion Add Figure 6a Add 8-Lead TSSOP Package Drawing Update Ordering Information Add 8-Lead TSSOP Package Marking 05/19/06 F Update Features Update Device Description Update Pin Configuration Update Ordering Information Update D.C. Operating Characteristics Update Pin Impedance Characteristics Update A.C. Characteristics Add Power-On Reset (POR) Update 8-Lead PDIP Package Drawing Update 8-Lead SOIC Package Drawing Update 8-Lead TSSOP Package Drawing Update Tape and Reel 08/11/06 G Update Features Update D.C. Operating Characteristics Update Pin Impedance Characteristics Update A.C. Test Conditions Update Power-On Reset (POR) Update Pin Description Update I2C Bus Protocol Update Device Addressing Update Acknowledge Update Write Operations Update Byte Write Update Page Write Update Acknowledge Polling Add Delivery State Update Read Operations Update Selective Read Update Sequential Read Update Figure 1, 2, 3, 5, 6, 6a, 7, 8, 9 and 10 Update Part Marking Update Ordering Information © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice 15 Doc No. 1103, Rev. G CAT24C128 Copyrights, Trademarks and Patents Trademarks and registered trademarks of Catalyst Semiconductor include each of the following: DPP ™ AE2 ™ MiniPot™ Catalyst Semiconductor has been issued U.S. and foreign patents and has patent applications pending that protect its products. CATALYST SEMICONDUCTOR MAKES NO WARRANTY, REPRESENTATION OR GUARANTEE, EXPRESS OR IMPLIED, REGARDING THE SUITABILITY OF ITS PRODUCTS FOR ANY PARTICULAR PURPOSE, NOR THAT THE USE OF ITS PRODUCTS WILL NOT INFRINGE ITS INTELLECTUAL PROPERTY RIGHTS OR THE RIGHTS OF THIRD PARTIES WITH RESPECT TO ANY PARTICULAR USE OR APPLICATION AND SPECIFICALLY DISCLAIMS ANY AND ALL LIABILITY ARISING OUT OF ANY SUCH USE OR APPLICATION, INCLUDING BUT NOT LIMITED TO, CONSEQUENTIAL OR INCIDENTAL DAMAGES. Catalyst Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Catalyst Semiconductor product could create a situation where personal injury or death may occur. Catalyst Semiconductor reserves the right to make changes to or discontinue any product or service described herein without notice. Products with data sheets labeled “Advance Information” or “Preliminary” and other products described herein may not be in production or offered for sale. Catalyst Semiconductor advises customers to obtain the current version of the relevant product information before placing orders. Circuit diagrams illustrate typical semiconductor applications and may not be complete. Doc. No. 1103, Rev. G 16 © 2006 by Catalyst Semiconductor, Inc. Characteristics subject to change without notice Catalyst Semiconductor, Inc. Corporate Headquarters 2975 Stender Way Santa Clara, CA 95054 Phone: 408.542.1000 Fax: 408.542.1200 www.catsemi.com Publication #: Revison: Issue date: 1103 G 08/11/06