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.
Serial clock from the host. On an open-drain bus, provide a pull-up to the bus rail.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | SCL Input | Input | Serial clock from the host. On an open-drain bus, provide a pull-up to the bus rail. |
| 2 | VSS Reference | Reference | Supply return and signal reference. Connect to the host ground. |
| 3 | 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. |
| 4 | VCC Supply | Supply | Regulated 2.5–5.5 V supply. Bypass locally to VSS. |
| 5 | WP Input | Input | Tie to VCC to protect the entire array or to VSS to enable writes. Reads are available in both states. |
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.
Tie to VCC to protect the entire array or to VSS to enable writes. Reads are available in both states.
| 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.