The M95M02-DR device is a 2-Mbit electrically erasable programmable memory (EEPROM)
accessed by an SPI bus. The memory array size is 256 Kbytes. It can also be seen as 1024
pages of 256 bytes each. The M95M02-DR operates from a supply voltage in the range of
1.8 V to 5.5 V.
The M95M02-DR device offers an additional 256-byte page, named the Identification Page,
which can be written and (later) permanently locked in Read-only mode. This Identification
Page offers flexibility in the application board production line, as it can be used to store
unique identification parameters and/or parameters specific to the production line.
Figure 1.Logic diagram
Table 1.Signal names
Signal nameFunctionDirection
C Serial ClockInput
D Serial Data InputInput
Q Serial Data OutputOutput
SChip SelectInput
Write ProtectInput
W
HOLD
HoldInput
V
CC
V
6/40Doc ID 18203 Rev 5
SS
Supply voltage
Ground
M95M02-DRDescription
DV
SS
C
HOLDQ
SV
CC
W
AI01790D
M95xxx
1
2
3
4
8
7
6
5
$
-36
3
.#.#
.#.#
1
7
6
33
$
#
6
##
7
(/,$
!
"
#
Figure 2.SO8N connections
1. See Section 11: Package mechanical data for package dimensions, and how to identify pin-1.
Figure 3.WLSCP connections (bump side view)
1. See Section 11: Package mechanical data for package dimensions, and how to identify pin-1.
2. NC stands for “not connected”. These balls have no electrical function but feature a better package
mechanical robustness after soldering.
Doc ID 18203 Rev 57/40
Signal descriptionM95M02-DR
2 Signal description
During all operations, VCC must be held stable and within the specified valid range:
V
(min) to VCC(max).
CC
All of the input and output signals must be held high or low (according to voltages of V
V
, VIL or VOL, as specified in Ta bl e 1 2 ). These signals are described next.
OH
2.1 Serial Data output (Q)
This output signal is used to transfer data serially out of the device. Data is shifted out on the
falling edge of Serial Clock (C).
2.2 Serial Data input (D)
This input signal is used to transfer data serially into the device. It receives instructions,
addresses, and the data to be written. Values are latched on the rising edge of Serial Clock
(C).
,
IH
2.3 Serial Clock (C)
This input signal provides the timing of the serial interface. Instructions, addresses, or data
present at Serial Data Input (D) are latched on the rising edge of Serial Clock (C). Data on
Serial Data Output (Q) changes after the falling edge of Serial Clock (C).
2.4 Chip Select (S)
When this input signal is high, the device is deselected and Serial Data Output (Q) is at high
impedance. Unless an internal Write cycle is in progress, the device will be in the Standby
Power mode. Driving Chip Select (S
mode.
After Power-up, a falling edge on Chip Select (S
instruction.
2.5 Hold (HOLD)
The Hold (HOLD) signal is used to pause any serial communications with the device without
deselecting the device.
During the Hold condition, the Serial Data Output (Q) is high impedance, and Serial Data
Input (D) and Serial Clock (C) are Don’t Care.
To start the Hold condition, the device must be selected, with Chip Select (S
) low selects the device, placing it in the Active Power
) is required prior to the start of any
) driven low.
8/40Doc ID 18203 Rev 5
M95M02-DRSignal description
2.6 Write Protect (W)
The main purpose of this input signal is to freeze the size of the area of memory that is
protected against Write instructions (as specified by the values in the BP1 and BP0 bits of
the Status Register).
This pin must be driven either high or low, and must be stable during all write instructions.
2.7 VCC supply voltage
VCC is the supply voltage.
2.8 VSS ground
VSS is the reference for the VCC supply voltage.
Doc ID 18203 Rev 59/40
Connecting to the SPI busM95M02-DR
30)BUSMASTER
3$/
3$)
3#+
#1$
#1$#1$
#3 #3 #3
30)INTERFACEWITH
#0/,#0(!
OR
30)MEMORY
DEVICE
3
7
(/,$
222
6
##
6
##
6
##
6
##
-36
6
33
30)MEMORY
DEVICE
3
7
(/,$
30)MEMORY
DEVICE
3
7
(/,$
3 Connecting to the SPI bus
These devices are fully compatible with the SPI protocol.
All instructions, addresses and input data bytes are shifted in to the device, most significant
bit first. The Serial Data Input (D) is sampled on the first rising edge of the Serial Clock (C)
after Chip Select (S
All output data bytes are shifted out of the device, most significant bit first. The Serial Data
Output (Q) is latched on the first falling edge of the Serial Clock (C) after the instruction
(such as the Read from Memory Array and Read Status Register instructions) have been
clocked into the device.
Figure 4.Bus master and memory devices on the SPI bus
) goes low.
1. The Write Protect (W) and Hold (HOLD) signals should be driven high or low as appropriate.
Figure 4 shows an example of three memory devices connected to an MCU, on an SPI bus.
Only one device is selected at a time, so only one device drives the Serial Data Output (Q)
line at a time, the other devices are high impedance.
A pull-up resistor connected on each S
input (represented in Figure 4) ensures that each
device is not selected if the bus master leaves the S
In applications where the bus master might enter a state where the whole input/output SPI
bus is high-impedance at a given time (for example, if the bus master is reset during the
transmission of an instruction), the clock line (C) must be connected to an external pulldown resistor so that, if all inputs/outputs become high impedance, the C line is pulled low
(while the S
time, and so, that the t
10/40Doc ID 18203 Rev 5
line is pulled high). This ensures that S and C do not become high at the same
requirement is met.
SHCH
line in the high impedance state.
M95M02-DRConnecting to the SPI bus
AI01438B
C
MSB
CPHA
D
0
1
CPOL
0
1
Q
C
MSB
3.1 SPI modes
These devices can be driven by a microcontroller with its SPI peripheral running in either of
the two following modes:
●CPOL=0, CPHA=0
●CPOL=1, CPHA=1
For these two modes, input data is latched in on the rising edge of Serial Clock (C), and
output data is available from the falling edge of Serial Clock (C).
The difference between the two modes, as shown in Figure 5, is the clock polarity when the
bus master is in Standby mode and not transferring data:
●C remains at 0 for (CPOL=0, CPHA=0)
●C remains at 1 for (CPOL=1, CPHA=1)
Figure 5.SPI modes supported
Doc ID 18203 Rev 511/40
Operating featuresM95M02-DR
4 Operating features
4.1 Supply voltage (VCC)
4.1.1 Operating supply voltage V
Prior to selecting the memory and issuing instructions to it, a valid and stable VCC voltage
within the specified [V
(min), VCC(max)] range must be applied (see Ta bl e 9 .). This voltage
CC
must remain stable and valid until the end of the transmission of the instruction and, for a
Write instruction, until the completion of the internal write cycle (t
stable DC supply voltage, it is recommended to decouple the V
capacitor (usually of the order of 10 nF to 100 nF) close to the V
4.1.2 Device reset
In order to prevent inadvertent write operations during power-up, a power on reset (POR)
circuit is included. At power-up, the device does not respond to any instruction until V
reaches the internal reset threshold voltage (this threshold is lower than the minimum V
operating voltage defined in Ta b l e 9 .
When V
●in Standby Power mode
●deselected (note that, to be executed, an instruction must be preceded by a falling
●Status Register value:
passes over the POR threshold, the device is reset and in the following state:
CC
edge on Chip Select (S
))
–the Write Enable Latch (WEL) is reset to 0
–Write In Progress (WIP) is reset to 0
–The SRWD, BP1 and BP0 bits remain unchanged (non-volatile bits)
CC
). In order to secure a
W
line with a suitable
CC
CC/VSS
package pins.
CC
CC
When V
passes over the POR threshold, the device is reset and enters the Standby
CC
Power mode. The device must not be accessed until V
voltage within the specified [V
(min), VCC(max)] range defined in Ta b le 9 .
CC
4.1.3 Power-up conditions
When the power supply is turned on, VCC rises continuously from VSS to VCC. During this
time, the Chip Select (S
therefore recommended to connect the S
Figure 4).
In addition, the Chip Select (S
sensitive as well as level-sensitive: after power-up, the device does not become selected
until a falling edge has first been detected on Chip Select (S
(S
) must have been high, prior to going low to start the first operation.
The V
voltage has to rise continuously from 0 V up to the minimum VCC operating voltage
CC
defined in Ta bl e 9 and the rise time must not vary faster than 1 V/µs.
12/40Doc ID 18203 Rev 5
) line is not allowed to float but should follow the VCC voltage, it is
line to VCC via a suitable pull-up resistor (see
) input offers a built-in safety feature, as the S input is edge-
reaches a valid and stable VCC
CC
). This ensures that Chip Select
Loading...
+ 28 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.