I²C bus
Use 7-bit address 0x50 for a single part. The chip ignores the three low address bits and also responds to 0x51–0x57.
Send the full memory address as the next byte.
The 24LC02B is a 2-Kbit I²C EEPROM that stores 256 B and writes up to 8 bytes per page.
| Package | Contacts | Details |
|---|---|---|
| PDIP-8 | 8 | Through-hole plastic DIP · 2.54 mm lead pitch · Microchip package code /P |
| SOIC-8 | 8 | Narrow body · 1.27 mm lead pitch · Microchip package code /SN |
| MSOP-8 | 8 | 3 × 3 mm body · 0.65 mm lead pitch · Microchip package code /MS |
| TSSOP-8 | 8 | Standard pin assignment · 0.65 mm lead pitch · Microchip package code /ST |
| DFN-8 | 9 | 2 × 3 mm leadless body · 0.50 mm pitch · Microchip package code /MC |
| TDFN-8 | 9 | 2 × 3 × 0.8 mm leadless body · 0.50 mm pitch · Microchip package code /MNY |
| SOT-23-5 | 5 | Five leads · 0.95 mm lead pitch · Microchip package code /OT |
| SC-70-5 | 5 | Five leads · 0.65 mm lead pitch · Microchip package code /LT |
No internal connection. Leave open. The address selection is handled in the I²C control byte.
A0–A2 have no internal connection on this model. Leave them open. Use 7-bit address 0x50 for a single part. The chip ignores the three low address bits and also responds to 0x51–0x57.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | A0 Unconnected | Unconnected | No internal connection. Leave open. The address selection is handled in the I²C control byte. |
| 2 | A1 Unconnected | Unconnected | No internal connection. Leave open. The address selection is handled in the I²C control byte. |
| 3 | A2 Unconnected | Unconnected | No internal connection. Leave open. The address selection is handled in the I²C control byte. |
| 4 | VSS Reference | Reference | Supply return and signal reference. Connect to the host ground. |
| 5 | SDA Open-drain I/O | Open-drain I/O | Serial address and data. Pull up to the bus rail and let the host and EEPROM drive only LOW. |
| 6 | SCL Input | Input | Serial clock from the host. On an open-drain bus, provide a pull-up to the bus rail. |
| 7 | WP Input | Input | Hardware write-protect input for the entire memory array. |
| 8 | VCC Supply | Supply | Regulated 2.5–5.5 V supply. Bypass locally to VSS. |
| Parameter | Limit | Conditions and source |
|---|---|---|
| Operating supply2.5–5.5 V | 2.5–5.5 V | Industrial (I) and extended (E) temperature ranges are listed in the device selection table. Check the exact order code. DS20001709P · p. 1 |
| I²C clock limit400 kHz | 400 kHz | Meet the AC timing, voltage and pull-up requirements. The wiring example uses 100 kHz. DS20001709P · §1, Table 1-2 |
| Input thresholdsLOW ≤ 0.3 × VCC · HIGH ≥ 0.7 × VCC | LOW ≤ 0.3 × VCC · HIGH ≥ 0.7 × VCC | Relative to VSS over the specified supply range. Use a common-voltage bus or level shifting. DS20001709P · §1, Table 1-1 |
| SDA output LOW≤ 0.40 V | ≤ 0.40 V | Tested at 3.0 mA sink current and VCC = 2.5 V. DS20001709P · §1, Table 1-1 |
| Memory and word address256 B · 1 address byte | 256 B · 1 address byte | Offsets 0x0000–0x00FF. Client and memory addressing are described in the I²C signal assignment. DS20001709P · p. 1 and §5 |
| Page write8 bytes · 5 ms maximum write cycle | 8 bytes · 5 ms maximum write cycle | Split writes at page boundaries and use acknowledge polling after STOP. Read explicitly addressed data after power-up. DS20001709P · Table 1-2 and §§6–8 |
This reference covers the standard package codes listed for Microchip 24LC02B in the linked datasheet. Match the full manufacturer part number before wiring a device marked 24C02. Use its own datasheet for other manufacturers or the Microchip AA and FC versions. Microchip 24C02C requires 4.5–5.5 V and uses A0–A2 as address inputs. Its WP input protects offsets 0x80–0xFF.