M24C04-RDS3T
AI

## Technical Overview of the M24C04-RDS3T
The **M24C04-RDS3T** is a 4-Kbit serial I2C bus EEPROM (Electrically Erasable Programmable Memory) manufactured by **STMicroelectronics**. It is widely used for parameter storage in consumer electronics, industrial sensors, and medical devices.
---
### 1. Key Technical Specifications
| Feature | Specification |
| :--- | :--- |
| **Memory Size** | 4 Kbit (512 bytes) |
| **Interface** | I2C (Two-Wire Serial) |
| **Operating Voltage** | 1.7V to 5.5V |
| **Clock Frequency** | 400 kHz (Fast Mode) / 1 MHz (Fast Mode Plus) |
| **Package Type** | TSSOP8 (Thin Shrink Small Outline Package) |
| **Temperature Range** | -40°C to +125°C (Automotive Grade 3) |
| **Write Cycles** | 4 Million cycles |
| **Data Retention** | 200 Years |
---
### 2. Pin Configuration (TSSOP8)
The M24C04-RDS3T uses a standard 8-pin layout. Below is the breakdown of the electronic connections:
| Pin Number | Name | Description |
| :--- | :--- | :--- |
| 1, 2, 3 | NC / E2 | **Not Connected / Chip Enable.** In the 4-Kbit version, E2 is used for addressing, while E0/E1 are internal. |
| 4 | VSS | Ground. |
| 5 | SDA | **Serial Data.** Bi-directional pin for transferring addresses and data. |
| 6 | SCL | **Serial Clock.** Synchronizes data transfer. |
| 7 | WC | **Write Control.** Hardware protection. Connect to VSS for writing; VCC to protect. |
| 8 | VCC | Supply Voltage (1.7V to 5.5V). |
---
### 3. Core Functionality
#### I2C Communication
The device acts as a **Slave** on the I2C bus. It uses a 7-bit device address. Because it is a 4-Kbit memory, it is organized as two blocks of 256 bytes. One bit of the device select code is used to choose between the upper and lower blocks.
#### Write Protection (WC Pin)
This is a critical hardware feature for data integrity:
- **WC at Low (VSS):** The entire memory can be written to.
- **WC at High (VCC):** The entire memory is write-protected (read-only).
#### Byte and Page Write
- **Byte Write:** Allows changing a single byte at a specific address.
- **Page Write:** Allows writing up to **16 bytes** in a single write cycle, significantly increasing efficiency for larger data sets.
---
### 4. Part Number Decoding
Understanding the suffix `RDS3T`:
* **M24C04:** 4 Kbit I2C EEPROM.
* **-R:** Operating voltage of 1.8V to 5.5V.
* **DS:** TSSOP8 package (ECOPACK2 compliant).
* **3:** Device tested for Grade 3 temperatures (-40 to +125°C).
* **T:** Tape and Reel packaging.
---
### 5. Application Circuit Example
```c
// Example I2C Write logic (Pseudo-code)
void writeEEPROM(uint8_t blockAddr, uint8_t dataAddr, uint8_t data) {
I2C_Start();
I2C_Send_DeviceAddress(0xA0 | (blockAddr << 1)); // 0xA0 is base address
I2C_Send_MemoryAddress(dataAddr);
I2C_Send_Data(data);
I2C_Stop();
Delay(5); // Internal Write Cycle time (tW)
}
```
- ⤷
What are the main differences between the M24C04 and the M24C08 models?
- ⤷ How does the Write Control (WC) pin behave if it is left floating?
- ⤷ What is the typical internal write cycle time for this EEPROM?