English
Language : 

TCA9538 Datasheet, PDF (19/37 Pages) Texas Instruments – Low Voltage 8-Bit I2C and SMBus Low-Power I/O Expander
www.ti.com
8.6 Register Map
8.6.1 Device Address
Figure 18 shows the address byte of the TCA9538.
Slave Address
TCA9538
SCPS199C – AUGUST 2014 – REVISED OCTOBER 2015
R/W
1 1 1 0 1 A1 A0
Fixed Programmable
Figure 18. TCA9538 Address
Table 2. Address Reference Table
INPUTS
A1
A0
L
L
L
H
H
L
H
H
I2C BUS SLAVE ADDRESS
112 (decimal), 70 (hexadecimal)
113 (decimal), 71 (hexadecimal)
114 (decimal), 72 (hexadecimal)
115 (decimal), 73 (hexadecimal)
The last bit of the slave address defines the operation (read or write) to be performed. When it is high (1), a read
is selected while a low (0) selects a write operation.
8.6.2 Control Register and Command Byte
Following the successful Acknowledgment of the address byte, the bus master sends a command byte that is
stored in the control register in the TCA9538 (see Figure 19). Two bits of this command byte state the operation
(read or write) and the internal register (input, output, polarity inversion or configuration) that will be affected. This
register can be written or read through the I2C bus. The command byte is sent only during a write transmission.
Once a command byte has been sent, the register that was addressed continues to be accessed by reads until a
new command byte has been sent.
0 0 0 0 0 B2 B1 B0
Figure 19. Control Register Bits
CONTROL REGISTER BITS
B1
B0
0
0
0
1
1
0
1
1
Table 3. Command Byte Table
COMMAND BYTE
(HEX)
0x00
0x01
0x02
0x03
REGISTER
Input Port
Output Port
Polarity Inversion
Configuration
PROTOCOL
Read byte
Read/write byte
Read/write byte
Read/write byte
POWER-UP DEFAULT
XXXX XXXX
1111 1111
0000 0000
1111 1111
Copyright © 2014–2015, Texas Instruments Incorporated
Product Folder Links: TCA9538
Submit Documentation Feedback
19