M95320-RBN6P
AI

## Technical Overview: M95320-RBN6P
The **M95320-RBN6P** is a specific variant of the 32-Kbit serial SPI (Serial Peripheral Interface) EEPROM manufactured by **STMicroelectronics**. It is designed for high-reliability applications requiring non-volatile memory in a small footprint.
---
### 1. Part Number Breakdown
Understanding the suffix codes is crucial for identifying the specific characteristics of this component:
| Code Segment | Meaning |
| :--- | :--- |
| **M95** | SPI Family Serial EEPROM |
| **320** | 32 Kbit (4,096 bytes) capacity |
| **-R** | Low voltage range (1.8V to 5.5V) |
| **BN** | PDIP8 package (Plastic Dual-in-line) |
| **6** | Industrial temperature range (-40°C to +85°C) |
| **P** | RoHS compliant / Lead-free |
---
### 2. Key Specifications
The electronic performance of the M95320-RBN6P is defined by its speed, power consumption, and data retention capabilities.
* **Memory Size:** 32 Kbits (4096 x 8 bits).
* **Interface:** SPI (Modes 0 and 3).
* **Clock Frequency:** Up to 20 MHz (at 4.5V - 5.5V) or 5 MHz (at 1.8V).
* **Write Cycle Time:** Maximum 5 ms per page.
* **Page Size:** 32 bytes.
* **Endurance:** More than 1,000,000 write cycles.
* **Data Retention:** Over 40 years.
---
### 3. Pinout Configuration (PDIP8)
The device uses a standard 8-pin layout for easy integration into breadboards or through-hole PCBs.
| Pin Number | Symbol | Function |
| :--- | :--- | :--- |
| 1 | **S#** | Chip Select (Active Low) |
| 2 | **Q** | Serial Data Output (MISO) |
| 3 | **W#** | Write Protect |
| 4 | **Vss** | Ground |
| 5 | **D** | Serial Data Input (MOSI) |
| 6 | **C** | Serial Clock |
| 7 | **HOLD#** | Pause Communication |
| 8 | **Vcc** | Supply Voltage |
---
### 4. Core Features
#### A. Write Protection
The chip features a **Write Status Register** and a hardware **W# pin**. This allows the user to lock specific sections of the memory (Quarter, Half, or Entire array) to prevent accidental data corruption or overwriting.
#### B. Low Power Consumption
Designed for battery-operated devices, it consumes very little current:
* **Standby Current:** Less than 1 µA (at 1.8V).
* **Read Current:** 2 mA (at 20 MHz).
#### C. Instruction Set
The device operates via standard SPI opcodes, including:
* `WREN`: Set Write Enable Latch.
* `READ`: Read data from memory.
* `WRITE`: Write data to memory.
* `RDSR/WRSR`: Read/Write Status Register.
---
- ⤷
What are the main differences between the M95320 and the M24C32 (I2C version)?
- ⤷ Can you provide a C code snippet for initializing this EEPROM with an Arduino?
- ⤷ What is the function of the HOLD# pin in a multi-slave SPI bus?