English
Language : 

STCF05 Datasheet, PDF (18/33 Pages) STMicroelectronics – High power white LED driver with I²C interface
I²C bus interface
Figure 8. Writing to a single register
W
DEVICE
R
ADDRESS
I
7 bits
T
E
ADDRESS OF
REGISTER
DATA
STCF05
SM
TS
AB
R
T
L RAM
S / CS
BWK B
SDA LINE
L AM
SCS
BKB
LAS
SCT
BKO
P
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. STCF05 supports writing to multiple registers with
incremental addressing. When data is written to a register, the address register is
automatically incremented, 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
18/33
Reading from a single register
The reading operation starts with a START bit followed by the 7 bit device address of
STCF05. The 8th bit is the R/W bit, which is 0 in this case. STCF05 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 STCF05 again.
Then the master generates a START bit again and sends the device address followed by the
R/W bit, which is 1 now. STCF05 confirms the receiving of the address + R/W bit by an
Doc ID 15257 Rev 4