M95160-F_12 STMICROELECTRONICS [STMicroelectronics], M95160-F_12 Datasheet - Page 23

no-image

M95160-F_12

Manufacturer Part Number
M95160-F_12
Description
16-Kbit serial SPI bus EEPROM with high-speed clock
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
M95160 M95160-W M95160-R M95160-F
6.6
Note:
Write to Memory Array (WRITE)
As shown in
low. The bits of the instruction byte, address byte, and at least one data byte are then shifted
in, on Serial Data Input (D).
The instruction is terminated by driving Chip Select (S) high at a byte boundary of the input
data. The self-timed Write cycle, triggered by the Chip Select (S) rising edge, continues for a
period t
end of which the Write in Progress (WIP) bit is reset to 0.
Figure 13. Byte Write (WRITE) sequence
1. Depending on the memory size, as shown in
In the case of
has been latched in, indicating that the instruction is being used to write a single byte.
However, if Chip Select (S) continues to be driven low, as shown in
of input data is shifted in, so that more than a single byte, starting from the given address
towards the end of the same page, can be written in a single internal Write cycle.
Each time a new data byte is shifted in, the least significant bits of the internal address
counter are incremented. If the number of data bytes sent to the device exceeds the page
boundary, the internal address counter rolls over to the beginning of the page, and the
previous data there are overwritten with the incoming data. (The page size of these devices
is 32 bytes).
The instruction is not accepted, and is not executed, under the following conditions:
The self-timed write cycle t
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”.
S
C
D
Q
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 driving high Chip Select (S), at a byte
boundary (after the eighth bit, b0, of the last data byte that has been latched in),
if the addressed page is in the region protected by the Block Protect (BP1 and BP0)
bits.
W
(as specified in AC characteristics in
Figure
Figure
0
1
High Impedance
13, to send this instruction to the device, Chip Select (S) is first driven
2
13, Chip Select (S) is driven high after the eighth bit of the data byte
Instruction
3
4
W
5
is internally executed as a sequence of two consecutive
Doc ID 022580 Rev 1
6
7
15
8
Table
14 13
9 10
16-Bit Address
4, the most significant address bits are Don’t Care.
Section 9: DC and AC
3
20 21 22 23 24 25 26 27
2
1
0
7
6
5
Figure
Data Byte
4
parameters), at the
3
28 29 30
14, the next byte
2
1
Instructions
0
31
AI01795D
23/45

Related parts for M95160-F_12