JAJSK40F May 2009 – January 2023 TCA6416A
PRODUCTION DATA
Following the successful acknowledgment of the address byte, the bus controller sends a command byte, which is stored in the control register in the TCA6416A. Three bits of this data byte state the operation (read or write) and the internal registers (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 new command has been sent, the register that was addressed continues to be accessed by reads until a new command byte has been sent.
CONTROL REGISTER BITS | COMMAND BYTE (HEX) | REGISTER | PROTOCOL | POWER-UP DEFAULT | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
B7 | B6 | B5 | B4 | B3 | B2 | B1 | B0 | ||||
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 00 | Input Port 0 | Read byte | xxxx xxxx(1) |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 01 | Input Port 1 | Read byte | xxxx xxxx(1) |
0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 02 | Output Port 0 | Read/write byte | 1111 1111 |
0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 03 | Output Port 1 | Read/write byte | 1111 1111 |
0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 04 | Polarity Inversion 0 | Read/write byte | 0000 0000 |
0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 05 | Polarity Inversion 1 | Read/write byte | 0000 0000 |
0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 06 | Configuration 0 | Read/write byte | 1111 1111 |
0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 07 | Configuration 1 | Read/write byte | 1111 1111 |