M95128-RMB6G/P
AI

## Detailed Analysis of M95128-RMB6G/P
The **M95128-RMB6G/P** is a high-performance, electrically erasable programmable memory (EEPROM) manufactured by STMicroelectronics. It is widely used in applications requiring non-volatile storage with high endurance and low power consumption.
---
### 1. Key Technical Specifications
| Feature | Specification |
| :--- | :--- |
| **Memory Size** | 128 Kbit (16,384 bytes) |
| **Interface** | SPI (Serial Peripheral Interface) |
| **Clock Frequency** | Up to 20 MHz |
| **Operating Voltage** | 1.8V to 5.5V |
| **Package Type** | UFDFPN8 (Ultra-thin Fine pitch Dual Flat No-lead) |
| **Temperature Range** | -40°C to +85°C (Industrial Grade) |
| **Page Size** | 64 Bytes |
---
### 2. Functional Characteristics
* **SPI Modes:** Supports SPI Bus Modes 0 (0,0) and 3 (1,1).
* **Write Protection:** Includes a hardware Write Protect (`/WP`) pin and software programmable block protection to prevent accidental data overwriting.
* **Data Retention:** Rated for over **100 years** of data retention.
* **Endurance:** Capable of more than **4 million write cycles**, making it ideal for logging data that changes frequently.
* **Status Register:** Includes a register to indicate if a write cycle is in progress or if the device is write-enabled.
---
### 3. Pinout Configuration (UFDFPN8)
| Pin Number | Name | Description |
| :--- | :--- | :--- |
| 1 | /S | Chip Select (Active Low) |
| 2 | Q | Serial Data Output |
| 3 | /W | Write Protect |
| 4 | VSS | Ground |
| 5 | D | Serial Data Input |
| 6 | C | Serial Clock |
| 7 | /HOLD | Hold (Pauses communication) |
| 8 | VCC | Supply Voltage |
---
### 4. Implementation Example (Pseudo-Code)
To write data to this EEPROM via a microcontroller, you typically follow this sequence:
```c
// 1. Enable Writing
SPI_CS_LOW();
SPI_Transfer(0x06); // WREN Command
SPI_CS_HIGH();
// 2. Write Data to Address 0x0010
SPI_CS_LOW();
SPI_Transfer(0x02); // WRITE Command
SPI_Transfer(0x00); // Address MSB
SPI_Transfer(0x10); // Address LSB
SPI_Transfer(0xAB); // Data Byte
SPI_CS_HIGH();
// 3. Wait for internal write cycle (tW) to complete
```
---
### 5. Part Number Breakdown: `M95128-RMB6G/P`
* **M95:** SPI Family EEPROM.
* **128:** 128 Kbit density.
* **-R:** Operating voltage range (1.8V to 5.5V).
* **MB:** UFDFPN8 package (MLP8).
* **6:** Industrial temperature range (-40 to 85°C).
* **G:** ECOPACK2 (RoHS compliant).
* **P:** Packing type (usually indicates Process/Tape & Reel variant).
- ⤷
What are the main differences between the M95128 and the I2C-based M24128?
- ⤷ How does the /HOLD pin function during an active SPI transmission?
- ⤷ What is the typical 'tW' (Write Time) for a single page on this device?