AI

The **M95320-RBN3G** is a high-performance, electrically erasable programmable read-only memory (**EEPROM**) manufactured by STMicroelectronics. It is commonly used for data logging, configuration storage, and parameter settings in embedded systems.
---
## 1. Technical Specifications
Below are the primary technical parameters for the M95320-RBN3G:
| Parameter | Specification |
| :--- | :--- |
| **Memory Size** | 32 Kbit (4,096 bytes x 8 bits) |
| **Interface** | SPI (Serial Peripheral Interface) |
| **Max Clock Frequency** | 20 MHz (at 4.5V - 5.5V) |
| **Supply Voltage (Vcc)** | 1.8V to 5.5V |
| **Operating Temperature** | -40°C to +125°C |
| **Package Type** | PDIP8 (Plastic Dual In-line Package) |
| **Write Cycles** | 4 Million cycles (typical) |
| **Data Retention** | 200 Years |
---
## 2. Pin Configuration (PDIP8)
The device uses a standard 8-pin layout for SPI communication:
| Pin Number | Name | Description |
| :--- | :--- | :--- |
| 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#** | Hold (Suspends communication) |
| 8 | **Vcc** | Supply Voltage |
---
## 3. Key Operational Features
* **SPI Modes:** Supports SPI Bus Modes 0 (0,0) and 3 (1,1).
* **Block Protection:** Features a Write Guard strategy where a portion (or all) of the memory array can be software-protected against write instructions.
* **Byte and Page Write:** Supports writing a single byte or a full page (up to 32 bytes) in one cycle.
* **Self-Timed Write Cycle:** The internal write cycle is self-timed, typically taking around 5ms.
* **ESD Protection:** Enhanced Electrostatic Discharge protection (up to 4000V Human Body Model).
---
## 4. Part Number Breakdown
The suffix **RBN3G** provides specific manufacturing details:
* **R**: Operating voltage range (1.8V to 5.5V).
* **BN**: Package type (PDIP8).
* **3**: Temperature range (-40°C to +125°C).
* **G**: ECOPACK2 (RoHS compliant/Green).
---
## 5. Typical Application Circuit
When connecting this EEPROM to a microcontroller (MCU), pull-up resistors are typically recommended on the **S#** and **HOLD#** lines to prevent floating states during MCU reset.
```cpp
// Example: Arduino SPI Initialization for M95320
#include
const int CS_PIN = 10;
void setup() {
pinMode(CS_PIN, OUTPUT);
digitalWrite(CS_PIN, HIGH);
SPI.begin();
// M95320 supports high speed, but start lower for stability
SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE0));
}
```
- ⤷What is the difference between M95320 and M24C32 (I2C version)?
- ⤷ How does the 'Hold' pin function during a data transfer?
- ⤷ What is the maximum write endurance for this specific EEPROM?