English
Language : 

TCA6507_16 Datasheet, PDF (17/45 Pages) Texas Instruments – Low-Voltage 7-Bit I2C and SMBus LED Driver
www.ti.com
TCA6507
SCPS164C – MAY 2007 – REVISED JANUARY 2016
Programming (continued)
8.5.2.1 Writes
To write on the I2C bus, the master sends a START condition on the bus with the address of the slave, as well
as the last bit (the R/W bit) set to 0, which signifies a write. After the slave sends the acknowledge bit, the master
then sends the register address of the register to which it wishes to write. The slave acknowledges again, letting
the master know it is ready. After this, the master starts sending the register data to the slave until the master
has sent all the data necessary (which can be only a single byte), and the master terminates the transmission
with a STOP condition.
Figure 14 shows an example of writing a single byte to a register.
Master controls SDA line
Slave controls SDA line
Write to one register in a device
Device (Slave) Address (7 bits)
Register Address N (8 bits)
Data Byte to Register N (8 bits)
S 1 0 0 0 1 0 1 0 A B7 B6 B5 B4 B3 B2 B1 B0 A D7 D6 D5 D4 D3 D2 D1 D0 A P
START
R/W=0 ACK
ACK
Figure 14. Write to Register
ACK STOP
Master controls SDA line
Slave controls SDA line
Device (Slave) Address (7 bits)
Command Byte (8 bits)
Data Byte to Register 0x04 (8 bits)
S 1 0 0 0 1 0 1 0 A 0 0 0 0 0 1 0 0 A D7 D6 D5 D4 D3 D2 D1 D0 A P
START
R/W=0 ACK
ACK
Figure 15. Write to the Fully On Register (0x04)
ACK STOP
Copyright © 2007–2016, Texas Instruments Incorporated
Product Folder Links: TCA6507
Submit Documentation Feedback
17