I²C bus
The 7-bit client address is 0x50 + 4×A2 + 2×A1 + A0. Strap each pin to VSS or VCC before power-up.
Send two memory-address bytes, high byte first. The usable offset ends at 0xFFFF.
The 24LC512 is a 512-Kbit I²C EEPROM that stores 64 KiB and writes up to 128 bytes per page.
Serial address and data. Pull up to the bus rail and let the host and EEPROM drive only LOW.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | A0 Input | Input | Chip select bit 0. Strap to VSS for 0 or to VCC for 1. |
| 2 | A1 Input | Input | Chip select bit 1. Strap to VSS for 0 or to VCC for 1. |
| 3 | NC Unconnected | Unconnected | No internal connection. Leave open. |
| 4 | NC Unconnected | Unconnected | No internal connection. Leave open. |
| 5 | NC Unconnected | Unconnected | No internal connection. Leave open. |
| 6 | A2 Input | Input | Chip select bit 2. Strap to VSS for 0 or to VCC for 1. |
| 7 | VSS Reference | Reference | Supply return and signal reference. Connect to the host ground. |
| 8 | 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. |
| 9 | SCL Input | Input | Serial clock from the host. On an open-drain bus, provide a pull-up to the bus rail. |
| 10 | NC Unconnected | Unconnected | No internal connection. Leave open. |
| 11 | NC Unconnected | Unconnected | No internal connection. Leave open. |
| 12 | NC Unconnected | Unconnected | No internal connection. Leave open. |
| 13 | WP Input | Input | Tie to VCC to protect the entire array or to VSS to enable writes. Reads are available in both states. |
| 14 | VCC Supply | Supply | Regulated 2.5–5.5 V supply. Bypass locally to VSS. |
The 7-bit client address is 0x50 + 4×A2 + 2×A1 + A0. Strap each pin to VSS or VCC before power-up.
Send two memory-address bytes, high byte first. The usable offset ends at 0xFFFF.
Strap the three inputs before operating the part. Each distinct combination selects one client address. Up to eight individually addressed parts can share a bus.
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. DS20001754R · p. 1 |
| I²C clock limit400 kHz | 400 kHz | Meet the AC timing, voltage and pull-up requirements. The wiring example uses 100 kHz. DS20001754R · §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. DS20001754R · §1, Table 1-1 |
| SDA output LOW≤ 0.40 V | ≤ 0.40 V | Specified at 2.1 mA sink current with VCC = 2.5 V and at 3.0 mA with VCC = 4.5 V. DS20001754R · §1, Table 1-1 |
| Memory and word address64 KiB · 2 address bytes | 64 KiB · 2 address bytes | Offsets 0x0000–0xFFFF. Client and memory addressing are described in the I²C signal assignment. DS20001754R · p. 1 and §5 |
| Page write128 bytes · 5 ms maximum write cycle | 128 bytes · 5 ms maximum write cycle | Split writes at page boundaries and use acknowledge polling after STOP. Read explicitly addressed data after power-up. DS20001754R · Table 1-2 and §§6–8 |
This reference covers the standard package codes listed for Microchip 24LC512 in the linked datasheet. Match the full manufacturer part number before wiring a device marked 24C512. Use its own datasheet for other manufacturers or the Microchip AA and FC versions. The eight-ball CSP is listed for 24AA512. The five-lead SOT-23 and 8-lead UDFN are listed for 24FC512.