PCA9535_PCA9535C All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 6 — 7 November 2017 10 of 34
NXP Semiconductors
PCA9535; PCA9535C
16-bit I
2
C-bus and SMBus, low power I/O port with interrupt
6.5 Bus transactions
6.5.1 Writing to the port registers
Data is transmitted to the PCA9535/PCA9535C by sending the device address and
setting the least significant bit to a logic 0 (see Figure 6 “
PCA9535; PCA9535C device
address). The command byte is sent after the address and determines which register will
receive the data following the command byte.
The eight registers within the PCA9535/PCA9535C are configured to operate as four
register pairs. The four pairs are Input Ports, Output Ports, Polarity Inversion Ports, and
Configuration Ports. After sending data to one register, the next data byte will be sent to
the other register in the pair (see Figure 8
and Figure 9). For example, if the first byte is
sent to Output Port 1 (register 3), then the next byte will be stored in Output Port 0
(register 2). There is no limitation on the number of data bytes sent in one write
transmission. In this way, each 8-bit register may be updated independently of the other
registers.
At power-on reset, all registers return to default values.
(1) PCA9535C I/Os are open-drain only. The portion of the PCA9535 schematic marked inside the
dotted line box is not in PCA9535C.
Fig 7. Simplified schematic of I/Os
V
DD
I/O pin
output port
register data
configuration
register
DQ
CK Q
data from
shift register
write
configuration
pulse
output port
register
DQ
CK
write pulse
polarity inversion
register
DQ
CK
data from
shift register
write polarity
pulse
input port
register
DQ
CK
read pulse
input port
register data
polarity
inversion
register data
002aac218
FF
data from
shift register
FF
FF
FF
Q1
Q2
V
SS
to INT
(1)
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCA9535_PCA9535C All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 6 — 7 November 2017 11 of 34
NXP Semiconductors
PCA9535; PCA9535C
16-bit I
2
C-bus and SMBus, low power I/O port with interrupt
Fig 8. Write to Output Port registers
1 0 0 A2 A1 A0 0 AS0
START condition R/W acknowledge
from slave
002aac220
A
SCL
SDA A
write to port
data out
from port 0
P
t
v(Q)
987654321
command byte
data to port 0
DATA 0
slave address
00000100
STOP
condition
0.00.7
acknowledge
from slave
acknowledge
from slave
data to port 1
DATA 1 1.01.7
A
data out
from port 1
t
v(Q)
DATA VALID
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCA9535_PCA9535C All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 6 — 7 November 2017 12 of 34
NXP Semiconductors
PCA9535; PCA9535C
16-bit I
2
C-bus and SMBus, low power I/O port with interrupt
Fig 9. Write to Configuration registers
1 0 0 A2 A1 A0 0 AS0
START condition R/W acknowledge
from slave
002aac221
A
SCL
SDA A P
987654321
command byte
data to register
DATA 0
slave address
00001100
STOP
condition
LSBMSB
acknowledge
from slave
acknowledge
from slave
data to register
DATA 1
LSBMSB
A

PCA9535PW,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Interface - I/O Expanders 16-BIT I2C FM TP GPIO INT
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union