English
Language : 

STCF06 Datasheet, PDF (20/33 Pages) STMicroelectronics – 1.5 A white LED driver with I²C interface
I²C bus interface
STCF06
The Register address byte determines the first register in which the read or write operation
takes place. When the read or write operation is finished, the register address is
automatically increased.
8.7
Writing to multiple registers with incremental addressing
It would be unpractical to send several times the device address and the address of the
register when writing to multiple registers. STCF06 supports writing to multiple registers with
incremental addressing. When the data is written to a register, the address register is
automatically increased, so the next data can be sent without sending the device address
and the register address again. See Figure 9 below.
Figure 9. Writing to multiple register with incremental addressing
W
DEVICE
R
ADDRESS
I
7 bits
T
E
ADDRESS OF
REGISTER i
DATA i
DATA i+1
DATA i+2
DATA i+2
DATA i+n
SM
TS
AB
R
T
L RAM
S / CS
BWK B
L AM
SCS
BKB
L AM
SCS
BKB
L AM
SCS
BKB
SDA LINE
L AM
SCS
BKB
L AM
SCS
BKB
LAS
SCT
B KO
P
8.8
Reading from a single register
The reading operation starts with a START bit followed by the 7 bit device address of
STCF06. The 8th bit is the R/W bit, which is 0 in this case. STCF06 confirms the receiving of
the address + R/W bit by an acknowledge pulse. The address of the register which should
be read is sent afterwards and confirmed again by an acknowledge pulse of STCF06 again.
Then the master generates a START bit again and sends the device address followed by the
R/W bit, which is 1 now. STCF06 confirms the receiving of the address + R/W bit by an
acknowledge pulse and starts to send the data to the master. No acknowledge pulse from
the master is required after receiving the data. Then the master generates a STOP bit to
terminate the communication. See Figure 10
20/33