English
Language : 

STCF06 Datasheet, PDF (19/33 Pages) STMicroelectronics – 1.5 A white LED driver with I²C interface
I²C bus interface
STCF06
Table 8. Interface protocol
Device address + R/W bit
Register address
Data
76543210
76543210
76543210
SM
TS
AB
R
T
L RAM
SWC S
B
KB
L AM
SCS
BKB
LAS
SCT
BKO
P
8.5
Writing to a single register
Writing to a single register 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. R/W = 1 means a reading
operation. Then the master waits for an acknowledge from STCF06. Then the 8 bit address
of register is sent to STCF06. It is also followed by an acknowledge pulse. The last
transmitted byte is the data that is going to be written to the register. It is again followed by
an acknowledge pulse from STCF06. Then master generates a STOP bit and the
communication is over. See Figure 8 below.
Figure 8. Writing to a single register
W
DEVICE
R
ADDRESS
I
7 bits
T
E
ADDRESS OF
REGISTER
DATA
SM
TS
AB
R
T
L RAM
S / CS
BWK B
SDA LINE
L AM
SCS
BKB
8.6
19/33
Interface protocol
The interface protocol is composed:
- A start condition (START)
- A Device address + R/W bit (read =1 / write =0)
- A Register address byte
- A sequence of data n* (1 byte + acknowledge)
- A stop condition (STOP)
LAS
SCT
BKO
P