English
Language : 

M34E04B Datasheet, PDF (13/35 Pages) STMicroelectronics – 4-Kbit Serial Presence Detect EEPROM compatible
M34E04B
Device operation
3.6.1
The device responds to the address byte with an acknowledge bit, and then waits for the
data byte.
When the bus master generates a Stop condition immediately after a data byte Ack bit (in
the “10th bit” time slot), either at the end of a Byte write or a Page write, the internal memory
Write cycle is triggered. A Stop condition at any other time slot does not trigger the internal
Write cycle.
During the internal Write cycle, Serial Data (SDA) and Serial Clock (SCL) are ignored, and
the device does not respond to any requests.
Byte write
After the device select code and the address byte, the bus master sends one data byte. The
device replies with Ack. The bus master terminates the transfer by generating a Stop
condition, as shown in Figure 5.
Figure 5. Write mode sequences in a non write-protected area
!#+
!#+
!#+
"YTE7RITE
$EVICESELECT "YTEADDRESS
$ATAIN
0AGE7RITE
27
!#+
!#+
!#+
$EVICESELECT "YTEADDRESS
$ATAIN
$ATAIN
!#+
27
!#+
$ATAIN.
!)B
3.6.2
Page write
The Page write mode allows up to 16 bytes to be written in a single Write cycle, provided
that they are all located in the same page in the memory: that is, the most significant
memory address bits are the same. If more bytes are sent than will fit up to the end of the
page, a condition known as ‘roll-over’ occurs. This should be avoided, as data starts to
become overwritten in an implementation dependent way.
The bus master sends from 1 to 16 bytes of data, each of which is acknowledged by the
device. After each byte is transferred, the internal byte address counter (the 4 least
significant address bits only) is incremented. The transfer is terminated by the bus master
generating a Stop condition.
DocID028428 Rev 1
13/35
34