English
Language : 

TCA9535 Datasheet, PDF (11/32 Pages) Texas Instruments – LOW VOLTAGE 16-BIT I2C AND SMBus LOW-POWER I/O EXPANDER WITH INTERRUPT OUTPUT AND CONFIGURATION REGISTERS
TCA9535
www.ti.com........................................................................................................................................... SCPS201A – AUGUST 2009 – REVISED SEPTEMBER 2009
SCL
1 2 3 4 56 7 8 9 1 2 34 5 6 789 1 2 3 4 56 7 8 91 2 3 4 5
Slave Address
Command Byte
Data to Register
Data to Register
SDA S 0 1 0 0 A2 A1 A0 0 A 0 0 0 0 0 1 1 0 A MSB
Data 0
LSB A MSB
Data 1
Start Condition
R/W Acknowledge
From Slave
Acknowledge
From Slave
Figure 7. Write to Configuration Registers
Acknowledge
From Slave
LSB A P
Reads
The bus master first must send the TCA9535 address with the least-significant bit set to a logic 0 (see Figure 4
for device address). The command byte is sent after the address and determines which register is accessed.
After a restart, the device address is sent again, but this time, the least-significant bit is set to a logic 1. Data
from the register defined by the command byte then is sent by the TCA9535 (see Figure 8 through Figure 10).
After a restart, the value of the register defined by the command byte matches the register being accessed when
the restart occurred. For example, if the command byte references Input Port 1 before the restart, and the restart
occurs when Input Port 0 is being read, the stored command byte changes to reference Input Port 0. The original
command byte is forgotten. If a subsequent restart occurs, Input Port 0 is read first. Data is clocked into the
register on the rising edge of the ACK clock pulse. After the first byte is read, additional bytes may be read, but
the data now reflect the information in the other register in the pair. For example, if Input Port 1 is read, the next
byte read is Input Port 0.
Data is clocked into the register on the rising edge of the ACK clock pulse. There is no limitation on the number
of data bytes received in one read transmission, but when the final byte is received, the bus master must not
acknowledge the data
Slave Address
Acknowledge
From Slave
Acknowledge
From Slave
Slave Address
Acknowledge
From Slave
Data From Lower
or Upper Byte
of Register
Acknowledge
From Master
S 0 1 0 0 A2 A1 A0 0 A
R/W
Command Byte
A S 0 1 0 0 A2 A1 A0 1 A MSB
Data
LSB A
R/W
At this moment, master
transmitter becomes master
receiver, and slave receiver
becomes slave transmitter.
First Byte
Data From Upper
or Lower Byte
of Register
No Acknowledge
From Master
MSB
Data
LSB NA P
Figure 8. Read From Register
Last Byte
<br/>
Copyright © 2009, Texas Instruments Incorporated
Product Folder Link(s): TCA9535
Submit Documentation Feedback
11