Datasheet

DataFrom
ShiftRegister
WriteConfiguration
Pulse
WritePulse
ReadPulse
WritePolarityPulse
Polarity
Inversion
Register
Input
Port
Register
Output
Port
Register
Configuration
Register
V
CCP
GND
InputPort
RegisterData
Polarity
RegisterData
ESDProtectionDiode
P00toP17
OutputPort
RegisterData
To INT
Q1
Q2
D
FF
C
K
Q
Q
D
FF
C
K
Q
Q
D
FF
C
K
Q
Q
D
FF
C
K
Q
Q
DataFrom
ShiftRegister
DataFrom
ShiftRegister
TCA6416A
www.ti.com
SCPS194A MAY 2009REVISED NOVEMBER 2009
Figure 2. Simplified Schematic of P0 to P17
A. On power up or reset, all registers return to default values.
I/O Port
When an I/O is configured as an input, FETs Q1 and Q2 are off, which creates a high-impedance input. The
input voltage may be raised above V
CC
to a maximum of 5.5 V.
If the I/O is configured as an output, Q1 or Q2 is enabled, depending on the state of the output port register. In
this case, there are low-impedance paths between the I/O pin and either V
CC
or GND. The external voltage
applied to this I/O pin should not exceed the recommended levels for proper operation.
I
2
C Interface
The bidirectional I
2
C bus consists of the serial clock (SCL) and serial data (SDA) lines. Both lines must be
connected to a positive supply through a pullup resistor when connected to the output stages of a device. Data
transfer may be initiated only when the bus is not busy.
I
2
C communication with this device is initiated by a master sending a Start condition, a high-to-low transition on
the SDA input/output, while the SCL input is high (see Figure 3). After the Start condition, the device address
byte is sent, most significant bit (MSB) first, including the data direction bit (R/W).
After receiving the valid address byte, this device responds with an acknowledge (ACK), a low on the SDA
input/output during the high of the ACK-related clock pulse. The address (ADDR) input of the slave device must
not be changed between the Start and the Stop conditions.
On the I
2
C bus, only one data bit is transferred during each clock pulse. The data on the SDA line must remain
stable during the high pulse of the clock period, as changes in the data line at this time are interpreted as control
commands (Start or Stop) (see Figure 4).
A Stop condition, a low-to-high transition on the SDA input/output while the SCL input is high, is sent by the
master (see Figure 3).
Copyright © 2009, Texas Instruments Incorporated Submit Documentation Feedback 5
Product Folder Links: TCA6416A