M95640-RMB3TG/P
AI

The **M95640-RMB3TG/P** is a high-performance, industrial-grade Serial Peripheral Interface (SPI) EEPROM manufactured by STMicroelectronics. It is part of the M95 series, commonly used for non-volatile data storage in automotive and industrial applications.
---
### ## Technical Specifications
Below is a summary of the core electrical and physical parameters:
| Parameter | Specification |
| :--- | :--- |
| **Memory Size** | 64 Kbit (8,192 x 8 bits) |
| **Interface** | SPI (Serial Peripheral Interface) |
| **Max Clock Frequency** | 20 MHz (at VCC > 4.5V) |
| **Supply Voltage (Vcc)** | 1.8V to 5.5V |
| **Operating Temperature** | -40°C to +125°C |
| **Package Type** | UFDFPN8 (Ultra-thin Fine pitch Dual Flat No-lead) |
| **Write Cycle Time** | 5 ms (Maximum) |
| **Endurance** | 4 Million Write Cycles |
| **Data Retention** | 200 Years |
---
### ## Pin Configuration
The device typically utilizes an 8-pin layout. The UFDFPN8 package follows the standard SPI pinout:
1. **S# (Chip Select):** Activates the device for communication.
2. **Q (Serial Data Output):** Data is shifted out on the falling edge of the clock.
3. **W# (Write Protect):** Hardware protection against unauthorized write operations.
4. **VSS:** Ground.
5. **D (Serial Data Input):** Data, opcodes, and addresses are shifted in.
6. **C (Serial Clock):** Synchronizes data movement.
7. **HOLD#:** Pauses serial communication without deselecting the device.
8. **VCC:** Supply voltage.
---
### ## Key Features
* **Page Write Mode:** Allows writing up to 32 bytes in a single instruction cycle, significantly improving throughput for large data sets.
* **Enhanced Reliability:** The "R" in the part number indicates high reliability, and the "3" grade typically signifies an automotive or extended industrial temperature range (up to 125°C).
* **Low Power Consumption:** Features a standby current as low as 2 µA (at 1.8V), making it ideal for battery-powered devices.
* **Block Protection:** Software-write protection allows the user to lock quarters, halves, or the entire memory array via the Status Register.
---
### ## Part Number Breakdown
The suffix **RMB3TG/P** provides specific ordering information:
* **R:** 1.8V to 5.5V operating voltage range.
* **MB:** UFDFPN8 (2x3 mm) package.
* **3:** Device tested for Temperature Grade 3 (-40 to +125 °C).
* **TG:** Tape and Reel packaging.
* **P:** Lead-free and RoHS compliant (Green).
---
- ⤷
How does the SPI mode 0 and mode 3 differ in this EEPROM?
- ⤷ What are the specific wiring requirements for the HOLD# pin if it is not being used?
- ⤷ Can you provide a code example for writing a byte to this memory?