M24512-RBN
AI

The **M24512-RBN** is a specific variant of the 512-Kbit serial I2C Bus EEPROM (Electrically Erasable Programmable Read-Only Memory) manufactured by **STMicroelectronics**.
---
### 1. Key Technical Specifications
The device is designed for low-power, non-volatile data storage. Below are the primary technical parameters:
| Feature | Specification |
| :--- | :--- |
| **Memory Size** | 512 Kbit (64 Kbytes) |
| **Interface** | I2C (Serial 2-wire) |
| **Operating Voltage ($V_{CC}$)** | 1.8V to 5.5V |
| **Clock Frequency** | 1 MHz (at 2.5V - 5.5V), 400 kHz (at 1.8V) |
| **Page Size** | 128 Bytes |
| **Write Cycles** | More than 4 million cycles |
| **Data Retention** | Over 200 years |
---
### 2. Functional Pins and Architecture
The "RBN" suffix often refers to specific packaging (like PDIP8 or SO8) and temperature ranges. The pinout typically includes:
* **SDA (Serial Data):** Bi-directional pin used to transfer data in and out.
* **SCL (Serial Clock):** Used to synchronize the data transfer.
* **E0, E1, E2 (Address Inputs):** Allows up to 8 devices to share the same I2C bus by setting unique hardware addresses.
* **WC (Write Control):** A hardware protection pin. When tied to $V_{CC}$, write operations are inhibited (read-only mode).
* **$V_{CC}$ / $V_{SS}$:** Power supply and Ground.
---
### 3. Part Number Breakdown
Understanding the STMicroelectronics nomenclature helps identify the exact capabilities:
| Code | Meaning |
| :--- | :--- |
| **M24** | I2C Serial Access EEPROM |
| **512** | Density (512 Kbit) |
| **-R** | Voltage Range: 1.8V to 5.5V |
| **BN** | Package / Temperature / Process (Varies by datasheet revision) |
---
### 4. Implementation Example
To write data to the M24512, a microcontroller must send a Start signal, the Device Address, two bytes for the Memory Address (since it is > 256 bytes), and finally the Data byte.
```c
// Pseudo-code for I2C Write to M24512
I2C_Start();
I2C_Send_Byte(0xA0); // Device Select Code (Write)
I2C_Send_Byte(Addr_High); // Memory Address High Byte
I2C_Send_Byte(Addr_Low); // Memory Address Low Byte
I2C_Send_Byte(Data); // Data to store
I2C_Stop();
```
- ⤷
What is the difference between Page Write and Byte Write modes for this chip?
- ⤷ How does the Write Control (WC) pin prevent data corruption?
- ⤷ Can this EEPROM be used with a 3.3V Arduino or ESP32?