English
Language : 

STCF03 Datasheet, PDF (18/35 Pages) STMicroelectronics – High power white LED driver with I2C™ interface
Introduction
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
STCF03
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
7.11 Reading from a single register
The reading operation starts with a START bit followed by the 7 bit device address of
STCF03. The 8th bit is the R/W bit, which is 0 in this case. STCF03 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 STCF03 again.
Then the master generates a START bit again and sends the device address followed by the
R/W bit, which is 1 now. STCF03 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
Figure 10. Reading from a single register
DEVICE
ADDRESS
7 bits
W
R
I
T
ADDRESS
OF
REGISTER
E
DEVICE
R
ADDRESS E
7 bits
A
D
DATA
SM
TS
AB
R
T
L RAM
S/ CS
B WK B
L AS
RA
SCT
/C
BKA
WK
R
T
SDA LINE
L NS
S OT
BO
AP
C
K
7.12
18/35
Reading from multiple registers with incremental addressing
Reading from multiple registers starts in the same way like reading from a single register. As
soon as the first register is read, the register address is automatically increased. If the
master generates an acknowledge pulse after receiving the data from the first register, then
reading of the next register can start immediately without sending the device address and