m95040 Dre PDF
m95040 Dre PDF
Features
• Compatible with the Serial Peripheral Interface
(SPI) bus
• Memory array
SO8 (MN) – 4 Kbit (512 bytes) of EEPROM
150 mil width
– Page size: 16 bytes
– Write protection by block: 1/4, 1/2 or whole
memory
– Additional Write lockable Page
(Identification page)
TSSOP8 (DW) • Extended temperature and voltage range
169 mil width
– Up to 105 °C (VCC from 1.7 V to 5.5 V)
• High speed clock frequency
– 20 MHz for VCC ≥ 4.5 V
– 10 MHz for VCC ≥ 2.5 V
– 5 MHz for VCC ≥ 1.7 V
Contents
1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Signal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 Serial Data output (Q) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Serial Data input (D) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Serial Clock (C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Chip Select (S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5 Hold (HOLD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.6 Write Protect (W) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.7 VSS ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.8 VCC supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Operating features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1 Active power and Standby power modes . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 SPI modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3 Hold mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.4 Protocol control and data protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.4.1 Protocol control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.4.2 Status Register and data protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5 Identification page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4 Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.1 Write Enable (WREN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2 Write Disable (WRDI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.3 Read Status Register (RDSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.4 Write Status Register (WRSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.5 Read from Memory Array (READ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.6 Write to Memory Array (WRITE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.7 Read Identification Page (RDID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.8 Write Identification Page (WRID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.9 Read Lock Status (RDLS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.10 Lock Identification Page (LID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6 Delivery state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
8 DC and AC parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.1 SO8N package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.2 TSSOP8 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
9.3 WFDFPN8 (DFN8) package information . . . . . . . . . . . . . . . . . . . . . . . . . 35
10 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
11 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
List of tables
List of figures
1 Description
The M95040-DRE is a 4-Kbit serial EEPROM device operating up to 105 °C. The M95040-
DRE is compliant with the level of reliability defined by the AEC-Q100 grade 2.
The device is accessed by a simple serial SPI compatible interface running up to 20 MHz.
The memory array is based on advanced true EEPROM technology (Electrically Erasable
PROgrammable Memory). The M95040-DRE is a byte-alterable memory (512 × 8 bits)
organized as 32 pages of 16 bytes in which the data integrity is significantly improved with
an embedded Error Correction Code logic.
The M95040-DRE offers an additional Identification Page (16 bytes) in which the ST device
identification can be read. This page can also be used to store sensitive application
parameters which can be later permanently locked in read-only mode.
,K>
,ŝŐŚǀŽůƚĂŐĞ
t ŽŶƚƌŽůůŽŐŝĐ
ŐĞŶĞƌĂƚŽƌ
^
/ͬKƐŚŝĨƚƌĞŐŝƐƚĞƌ
Y
ĚĚƌĞƐƐƌĞŐŝƐƚĞƌ ĂƚĂ
ĂŶĚĐŽƵŶƚĞƌ ƌĞŐŝƐƚĞƌ
^ƚĂƚƵƐ
ƌĞŐŝƐƚĞƌ
ϭͬϰ
^ŝnjĞŽĨƚŚĞ
ZĞĂĚŽŶůLJ
zĚĞĐŽĚĞƌ
ϭͬϮ WZKD
ĂƌĞĂ
ϭƉĂŐĞ
/ĚĞŶƚŝĨŝĐĂƚŝŽŶƉĂŐĞ
yĚĞĐŽĚĞƌ
069
3 6##
1 (/,$
7 #
633 $
!)$
1. See Package information section for package dimensions and how to identify pin-1.
C Serial Clock
D Serial data input
Q Serial data output
S Chip Select
W Write Protect
HOLD Hold
VCC Supply voltage
VSS Ground
2 Signal description
All input signals must be held high or low (according to voltages of VIH or VIL, as specified in
Table 11). These signals are described below.
3 Operating features
#
#
$ -3"
1 -3"
!)"
(/,$
(OLD (OLD
CONDITION #ONDITION
CONDITION
-36
Deselecting the device while it is in Hold mode resets the paused communication.
To execute Read commands (READ, RDSR, RDID, RDLS), the device must decode:
• a falling edge and a low level on Chip Select (S) during the whole command
• instruction and address as multiples of eight bits (bytes)
From this step, data bits are shifted out until the rising edge on Chip Select (S).
WIP bit
The WIP bit (Write In Progress) is a read-only flag that indicates the Ready/Busy state of the
device. When a Write command (WRITE, WRSR, WRID, LID) has been decoded and a
Write cycle (tW) is in progress, the device is busy and the WIP bit is set to 1. When WIP=0,
the device is ready to decode a new command.
During a Write cycle, reading continuously the WIP bit allows to detect when the device
becomes ready (WIP=0) to decode a new command.
WEL bit
The WEL bit (Write Enable Latch) bit is a flag that indicates the status of the internal Write
Enable Latch. When WEL is set to 1, the Write instructions (WRITE, WRSR, WRID, LID) are
executed; when WEL is set to 0, any decoded Write instruction is not executed.
The WEL bit is set to 1 with the WREN instruction. The WEL bit is reset to 0 after the
following events:
• Write Disable (WRDI) instruction completion
• Write instructions (WRITE, WRSR, WRID, LID) completion including the write cycle
time tW
• Power-up
0 0 None None
0 1 Upper quarter 180h-1FFh
1 0 Upper half 100h - 1FFh
1 1 Whole memory 000h - 1FFh plus Identification page
4 Instructions
Each command is composed of bytes (MSBit transmitted first), initiated with the instruction
byte, as summarized in Table 5.
If an invalid instruction is sent (one not contained in Table 5), the device automatically enters
a Wait state until deselected.
For read and write commands to memory array and Identification Page, the address is
defined by one byte and the bit b3 of the instruction byte as explained in Table 6.
READ or
x x x x x x x A8 A7 A6 A5 A4 A3 A2 A1 A0
WRITE
RDID or
0 0 0 0 0 0 0 0 0 0 0 A4 A3 A2 A1 A0
WRID
RDLS or
0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
LID
1. A: Significant address bit.
2. x: bit is Don’t Care.
Ϭ ϭ Ϯ ϯ ϰ ϱ ϲ ϳ
/ŶƐƚƌƵĐƚŝŽŶ
,ŝŐŚ/ŵƉĞĚĂŶĐĞ
Y
DLYJ
)NSTRUCTION
(IGH )MPEDANCE
1
!)D
)NSTRUCTION
3TATUS 2EGISTER /UT 3TATUS 2EGISTER /UT
(IGH )MPEDANCE
1
-3" -3"
!)%
The instruction is not accepted, and is not executed, under the following conditions:
• if the Write Enable Latch (WEL) bit has not been set to 1 (by executing a Write Enable
instruction just before)
• if a write cycle is already in progress
• if the device has not been deselected, by Chip Select (S) being driven high, after the
eighth bit, b0, of the data byte has been latched in
• if Write Protect (W) is low during the WRSR command (instruction, address and data)
)NSTRUCTION 3TATUS
2EGISTER )N
$
(IGH )MPEDANCE -3"
1
!)D
)NSTRUCTION "YTE !DDRESS
$ ! ! ! ! ! ! ! ! !
$ATA /UT
(IGH )MPEDANCE
1
!)%
1. Depending on the memory size, as shown in Table 6, the most significant address bits are Don’t Care.
Ϭ ϭ Ϯ ϯ ϰ ϱ ϲ ϳ ϴ ϵ ϭϬ ϭϭ ϭϮ ϭϯ ϭϰ ϭϱ ϭϲ ϭϳ ϭϴ ϭϵ ϮϬ Ϯϭ ϮϮ Ϯϯ
ϴ ϳ ϲ ϱ ϰ ϯ Ϯ ϭ Ϭ ϳ ϲ ϱ ϰ ϯ Ϯ ϭ Ϭ
,ŝŐŚ/ŵƉĞĚĂŶĐĞ
Y
$,'
A Page write is used to write several bytes inside a page, with a single internal Write cycle.
For a Page write, Chip Select (S) has to remain low, as shown in Figure 11, so that the next
data bytes are shifted in. Each time a new data byte is shifted in, the least significant bits of
the internal address counter are incremented. If the address counter exceeds the page
boundary (the page size is 32 bytes), the internal address pointer rolls over to the beginning
of the same page where next data bytes will be written. If more than 16 bytes are received,
only the last 16 bytes are written.
For both Byte write and Page write, the self-timed Write cycle starts from the rising edge of
Chip Select (S), and continues for a period tW (as specified in Table 12).
The instruction is discarded, and is not executed, under the following conditions:
• if a Write cycle is already in progress
• if Write Protect (W) is low or if the addressed page is in the area protected by the Block
Protect (BP1 and BP0) bits
• if one of the conditions defined in Section 3.4.1 is not satisfied
Note: The self-timed Write cycle tW is internally executed as a sequence of two consecutive
events: [Erase addressed byte(s)], followed by [Program addressed byte(s)]. An erased bit
is read as “0” and a programmed bit is read as “1”.
$ ! ! ! ! ! ! ! ! !
.
.
.
.
.
.
.
.
$
!)$
)NSTRUCTION "YTE !DDRESS
$ ! ! ! ! ! ! ! !
$ATA /UT
(IGH )MPEDANCE
1
-36
The first three bytes of the Identification page offer information about the device itself.
Please refer to Section 3.5: Identification page for more information.
Ϭ ϭ Ϯ ϯ ϰ ϱ ϲ ϳ ϴ ϵ ϭϬ ϭϭ ϭϮ ϭϯ ϭϰ ϭϱ ϭϲ ϭϳ ϭϴ ϭϵ ϮϬ Ϯϭ ϮϮ Ϯϯ
ϳ ϲ ϱ ϰ ϯ Ϯ ϭ Ϭ ϳ ϲ ϱ ϰ ϯ Ϯ ϭ Ϭ
,ŝŐŚ/ŵƉĞĚĂŶĐĞ
Y
069
Note: The first three bytes of the Identification page offer the Device Identification code (Please
refer to Section 3.5: Identification page for more information). Using the WRID command on
these first three bytes overwrites the Device Identification code.
The instruction is discarded, and is not executed, under the following conditions:
• If a Write cycle is already in progress
• If the Block Protect bits (BP1,BP0) = (1,1)
• If one of the conditions defined in Section 3.4.1: Protocol control is not satisfied.
The read cycle is terminated by driving Chip Select (S) high. The instruction sequence is
shown in Figure 14.
The Read Lock Status instruction is not accepted and not executed if a Write cycle is
currently in progress.
)NSTRUCTION "YTE !DDRESS
$ ! ! ! ! ! ! ! !
$ATA /UT
(IGH )MPEDANCE
1
-36
Ϭ ϭ Ϯ ϯ ϰ ϱ ϲ ϳ ϴ ϵ ϭϬ ϭϯ ϭϰ ϭϱ ϭϲ ϭϳ ϭϴ ϭϵ ϮϬ Ϯϭ ϮϮ Ϯϯ Ϯϰ Ϯϱ
ϳ ϲ ϱ ϯ Ϯ ϭ Ϭ ϳ ϲ ϱ ϰ ϯ Ϯ ϭ Ϭ
,ŝŐŚŝŵƉĞĚĂŶĐĞ
Y
D^ϯϭϲϯϮsϭ
Driving Chip Select (S) high at a byte boundary of the input data triggers the self-timed Write
cycle which duration is tW (specified in Table 12). The instruction sequence is shown in
Figure 15.
The instruction is discarded, and is not executed, under the following conditions:
• If a Write cycle is already in progress
• If the Block Protect bits (BP1,BP0) = (1,1)
• If one of the conditions defined in Section 3.4.1: Protocol control is not satisfied.
5.1.3 Power-down
At power down, the power-on-reset (POR) circuit resets and locks the device as soon as the
VCC reached the internal threshold voltage
During power-down (continuous decrease in the VCC supply voltage below the minimum
VCC operating voltage defined in Table 11), the device must be:
• deselected (Chip Select (S) should be allowed to follow the voltage applied on VCC),
• in Standby power mode (there should not be any internal Write cycle in progress).
Figure 16. Bus master and memory devices on the SPI bus
6##
3$/
30) INTERFACE WITH
3$)
#0/, #0(!
OR 3#+
30) BUS MASTER
633
-36
1. The Write Protect (W) and Hold (HOLD) signals must be driven high or low as appropriate.
A pull-up resistor connected on each /S input (represented in Figure 16) ensures that each
device is not selected if the bus master leaves the /S line in the high impedance state.
6 Delivery state
Stressing the device outside the ratings listed in Table 7 may cause permanent damage to
the device. These are stress ratings only, and operation of the device at these, or any other
conditions outside those indicated in the operating sections of this specification, is not
implied. Exposure to absolute maximum rating conditions for extended periods may affect
device reliability.
8 DC and AC parameters
This section summarizes the operating conditions and the DC/AC characteristics of the
device.
,QSXWDQG2XWSXW
,QSXW/HYHOV
7LPLQJ5HIHUHQFH/HYHOV
ೌ9&&
ೌ9&&
ೌ9&&
ೌ9&&
$,&
W6+6/
&
W'9&+ W&+&/ W&/ W&/&+
W&+';
+LJKLPSHGDQFH
4
$,G
6
W+/&+
W&/+/ W++&+
&
W&/++
W+/4= W++49
+2/'
$,F
T#( T3(3,
T#,18
T1,1(
T1(1,
!$$2
$ ,3"