The M24256-Bxdevices are I2C-compatible electrically erasable programmable memories
(EEPROM). They are organized as 32 Kb × 8 bits.
The M24256-Bx and M24256-DR can decode the type identifier code (1010) in accordance
with the I
2
C bus definition. The M24256-DR also decodes the type identifier code (1011)
when accessing the identification page.
The device behaves as a slave in the I
2
C protocol, with all memory operations synchronized
by the serial clock. Read and Write operations are initiated by a Start condition, generated
by the bus master. The Start condition is followed by a device select code and Read/Write
bit (RW
) (as described in Ta bl e 2 ), terminated by an acknowledge bit.
When writing data to the memory, the device inserts an acknowledge bit during the 9
th
bit
time, following the bus master’s 8-bit transmission. When data is read by the bus master, the
bus master acknowledges the receipt of the data byte in the same way. Data transfers are
terminated by a Stop condition after an Ack for Write, and after a NoAck for Read.
1. See Package mechanical data section for package dimensions, and how to identify pin-1.
3
4
8
7
6
5
CC
WCE1
SCL
SDAV
AI04035e
Figure 3.WLCSP connections (top view, marking side, with balls on the underside)
Doc ID 6757 Rev 207/42
Signal descriptionM24256-BF, M24256-BR, M24256-BW, M24256-DR
Ai12806
V
CC
M24xxx
V
SS
E
i
V
CC
M24xxx
V
SS
E
i
2 Signal description
2.1 Serial Clock (SCL)
This input signal is used to strobe all data in and out of the device. In applications where this
signal is used by slave devices to synchronize the bus to a slower clock, the bus master
must have an open drain output, and a pull-up resistor must be connected from Serial Clock
(SCL) to V
most applications, though, this method of synchronization is not employed, and so the pullup resistor is not necessary, provided that the bus master has a push-pull (rather than open
drain) output.
2.2 Serial Data (SDA)
This bidirectional signal is used to transfer data in or out of the device. It is an open drain
output that may be wire-OR’ed with other open drain or open collector signals on the bus. A
pull up resistor must be connected from Serial Data (SDA) to V
the value of the pull-up resistor can be calculated).
. (Figure 6 indicates how the value of the pull-up resistor can be calculated). In
CC
. (Figure 6 indicates how
CC
2.3 Chip Enable (E0, E1, E2)
These input signals are used to set the value that is to be looked for on the three least
significant bits (b3, b2, b1) of the 7-bit device select code. These inputs must be tied to V
or V
, to establish the device select code. When not connected (left floating), these inputs
SS
are read as Low (0,0,0).
Figure 4.Device select code
2.4 Write Control (WC)
This input signal is useful for protecting the entire contents of the memory from inadvertent
write operations. Write operations are disabled to the entire memory array when Write
Control (WC
Write operations are allowed.
) is driven High. When unconnected, the signal is internally read as VIL, and
CC
When Write Control (WC
) is driven High, device select and address bytes are
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 Tab l e 8 , Tab le 9 and
CC
Ta bl e 1 0 ). In order to secure a stable DC supply voltage, it is recommended to decouple the
V
line with a suitable capacitor (usually of the order of 10 nF to 100 nF) close to the
CC
V
CC/VSS
package pins.
This voltage 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
2.6.2 Power-up conditions
VCC has to rise continuously from 0 V up to VCC(min) (see Ta bl e 8 , Ta bl e 9 and Tab le 1 0 ),
and the rise time must not vary faster than 1 V/µs.
2.6.3 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 an internal reset threshold voltage. This threshold is lower than the minimum V
operating voltage defined in Ta bl e 8 , Ta bl e 9 and Ta bl e 1 0.
When V
Power mode. However, the device must not be accessed until V
stable V
In a similar way, during power-down (continuous decrease in V
below the power on reset threshold voltage, the device stops responding to any instruction
sent to it.
passes over the POR threshold, the device is reset and enters the Standby
CC
voltage within the specified [VCC(min), VCC(max)] range.
CC
CC
).
W
reaches a valid and
CC
), as soon as VCC drops
CC
CC
CC
2.6.4 Power-down conditions
During power-down (where V
Power mode (mode reached after decoding a Stop condition, assuming that there is no
internal Write cycle in progress).
decreases continuously), the device must be in the Standby
CC
Doc ID 6757 Rev 209/42
Signal descriptionM24256-BF, M24256-BR, M24256-BW, M24256-DR
1
10
100
101001000
Bus line capacitor (pF)
Bus line pull-up resistor
(k
)
When t
LOW
= 1.3 µs (min value for
f
C
= 400 kHz), the R
bus
× C
bus
time constant m ust be below the
400 ns time constant line
represented on the left.
1
10
100
10100
Bus line capacitor (pF)
Bus line pull-up resistor (k )
ai14795d
I²C bus
master
M24xxx
R
bus
V
CC
C
bus
SCL
SDA
R
bus
× C
bus
= 270 ns
When t
LOW
= 700 ns
(max possible value for
f
C
= 1 MHz), the R
bus
× C
bus
time constant must be below
the 270 ns time constant line
represented on the left.
When t
LOW
= 400 ns
(min value for f
C
= 1 MHz),
the R
bus
× C
bus
time constant
must be below the 100 ns
time constant line represented
on the left.
The device supports the I2C protocol. This is summarized in Figure 7. Any device that sends
data on to the bus is defined to be a transmitter, and any device that reads the data to be a
receiver. The device that controls the data transfer is known as the bus master, and the
other as the slave device. A data transfer can only be initiated by the bus master, which will
also provide the serial clock for synchronization. The device is always slave in all
communications.
3.1 Start condition
Start is identified by a falling edge of Serial Data (SDA) while Serial Clock (SCL) is stable in
the High state. A Start condition must precede any data transfer instruction. The device
continuously monitors (except during a Write cycle) Serial Data (SDA) and Serial Clock
(SCL) for a Start condition, and will not respond unless one is given.
3.2 Stop condition
Stop is identified by a rising edge of Serial Data (SDA) while Serial Clock (SCL) is stable
and driven High. A Stop condition terminates communication between the device and the
bus master. A Read instruction that is followed by NoAck can be followed by a Stop
condition to force the device into the Standby mode. A Stop condition at the end of a Write
instruction triggers the internal Write cycle.
3.3 Acknowledge bit (ACK)
The acknowledge bit is used to indicate a successful byte transfer. The bus transmitter,
whether it be bus master or slave device, releases Serial Data (SDA) after sending eight bits
of data. During the 9
acknowledge the receipt of the eight data bits.
th
clock pulse period, the receiver pulls Serial Data (SDA) Low to
3.4 Data input
During data input, the device samples Serial Data (SDA) on the rising edge of Serial Clock
(SCL). For correct device operation, Serial Data (SDA) must be stable during the rising edge
of Serial Clock (SCL), and the Serial Data (SDA) signal must change only when Serial Clock
(SCL) is driven Low.
Doc ID 6757 Rev 2013/42
Loading...
+ 29 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.