PCA9535E, PCA9535EC
www.onsemi.com
7
Device Address
Before the bus master can access a slave device, it must
send the address of the slave it is accessing and the operation
it wants to perform (read or write) following a START
condition. The slave address of the PCA9535E and
PCA9535EC is shown in Figure 5. Address pins AD2, AD1,
and AD0 choose 1 of 64 slave addresses. To conserve power,
no internal pull−up resistors are provided on AD2, AD1, and
AD0.
A logic 1 on the last bit of the first byte selects a read
operation while a logic 0 selects a write operation.
Figure 5. PCA9535E and PCA9535EC Device Address
R/WA6 A5 A4 A3 A2 A1 A0
programmable
slave address
Table 6. PCA9535E AND PCA9535EC ADDRESS MAP
Address Input Slave Address
AD2 AD1 AD0 A6 A5 A4 A3 A2 A1 A0 HEX
GND SCL GND 0 0 1 0 0 0 0 20h
GND SCL VDD 0 0 1 0 0 0 1 22h
GND SDA GND 0 0 1 0 0 1 0 24h
GND SDA VDD 0 0 1 0 0 1 1 26h
VDD SCL GND 0 0 1 0 1 0 0 28h
VDD SCL VDD 0 0 1 0 1 0 1 2Ah
VDD SDA GND 0 0 1 0 1 1 0 2Ch
VDD SDA VDD 0 0 1 0 1 1 1 2Eh
GND SCL SCL 0 0 1 1 0 0 0 30h
GND SCL SDA 0 0 1 1 0 0 1 32h
GND SDA SCL 0 0 1 1 0 1 0 34h
GND SDA SDA 0 0 1 1 0 1 1 36h
VDD SCL SCL 0 0 1 1 1 0 0 38h
VDD SCL SDA 0 0 1 1 1 0 1 3Ah
VDD SDA SCL 0 0 1 1 1 1 0 3Ch
VDD SDA SDA 0 0 1 1 1 1 1 3Eh
GND GND GND 0 1 0 0 0 0 0 40h
GND GND VDD 0 1 0 0 0 0 1 42h
GND VDD GND 0 1 0 0 0 1 0 44h
GND VDD VDD 0 1 0 0 0 1 1 46h
VDD GND GND 0 1 0 0 1 0 0 48h
VDD GND VDD 0 1 0 0 1 0 1 4Ah
VDD VDD GND 0 1 0 0 1 1 0 4Ch
VDD VDD VDD 0 1 0 0 1 1 1 4Eh
GND GND SCL 0 1 0 1 0 0 0 50h
GND GND SDA 0 1 0 1 0 0 1 52h
GND VDD SCL 0 1 0 1 0 1 0 54h
GND VDD SDA 0 1 0 1 0 1 1 56h
VDD GND SCL 0 1 0 1 1 0 0 58h
VDD GND SDA 0 1 0 1 1 0 1 5Ah
VDD VDD SCL 0 1 0 1 1 1 0 5Ch
PCA9535E, PCA9535EC
www.onsemi.com
8
Table 6. PCA9535E AND PCA9535EC ADDRESS MAP
Slave AddressAddress Input
HEXA0A1A2A3A4A5A6AD0AD1AD2
VDD VDD SDA 0 1 0 1 1 1 1 5Eh
SCL SCL GND 1 0 1 0 0 0 0 A0h
SCL SCL VDD 1 0 1 0 0 0 1 A2h
SCL SDA GND 1 0 1 0 0 1 0 A4h
SCL SDA VDD 1 0 1 0 0 1 1 A6h
SDA SCL GND 1 0 1 0 1 0 0 A8h
SDA SCL VDD 1 0 1 0 1 0 1 AAh
SDA SDA GND 1 0 1 0 1 1 0 ACh
SDA SDA VDD 1 0 1 0 1 1 1 AEh
SCL SCL SCL 1 0 1 1 0 0 0 B0h
SCL SCL SDA 1 0 1 1 0 0 1 B2h
SCL SDA SCL 1 0 1 1 0 1 0 B4h
SCL SDA SDA 1 0 1 1 0 1 1 B6h
SDA SCL SCL 1 0 1 1 1 0 0 B8h
SDA SCL SDA 1 0 1 1 1 0 1 BAh
SDA SDA SCL 1 0 1 1 1 1 0 BCh
SDA SDA SDA 1 0 1 1 1 1 1 BEh
SCL GND GND 1 1 0 0 0 0 0 C0h
SCL GND VDD 1 1 0 0 0 0 1 C2h
SCL VDD GND 1 1 0 0 0 1 0 C4h
SCL VDD VDD 1 1 0 0 0 1 1 C6h
SDA GND GND 1 1 0 0 1 0 0 C8h
SDA GND VDD 1 1 0 0 1 0 1 CAh
SDA VDD GND 1 1 0 0 1 1 0 CCh
SDA VDD VDD 1 1 0 0 1 1 1 CEh
SCL GND SCL 1 1 1 0 0 0 0 E0h
SCL GND SDA 1 1 1 0 0 0 1 E2h
SCL VDD SCL 1 1 1 0 0 1 0 E4h
SCL VDD SDA 1 1 1 0 0 1 1 E6h
SDA GND SCL 1 1 1 0 1 0 0 E8h
SDA GND SDA 1 1 1 0 1 0 1 EAh
SDA VDD SCL 1 1 1 0 1 1 0 ECh
SDA VDD SDA 1 1 1 0 1 1 1 EEh
PCA9535E, PCA9535EC
www.onsemi.com
9
REGISTERS
Command Byte
During a write transmission, the address byte is followed
by the command byte. The command byte determines which
of the following registers will be written or read.
Table 7. COMMAND BYTE
COMMAND REGISTER
0 Input Port 0
1 Input Port 1
2 Output Port 0
3 Output Port 1
4 Polarity Inversion Port 0
5 Polarity Inversion Port 1
6 Configuration Port 0
7 Configuration Port 1
Registers 0 and 1: Input Port Registers
These registers are input−only. They reflect the incoming
logic levels of the pins, regardless of whether the pin is
defined as an input or an output by Registers 6 or 7. Writes
to these registers have no effect.
The externally−applied logic level determines the default
value ‘X’.
Table 8. INPUT PORT 0 REGISTER
Bit 7 6 5 4 3 2 1 0
Symbol I0.7 I0.6 I0.5 I0.4 I0.3 I0.2 I0.1 I0.0
Default X X X X X X X X
Table 9. INPUT PORT 1 REGISTER
Bit 7 6 5 4 3 2 1 0
Symbol I1.7 I1.6 I1.5 I1.4 I1.3 I1.2 I1.1 I1.0
Default X X X X X X X X
Registers 2 and 3: Output Port Registers
These registers are output−only. They reflect the outgoing
logic levels of the pins defined as outputs by Registers 6 and
7. Bit values in these registers have no effect on pins defined
as inputs. In turn, reads from these registers reflect the values
that are in the flip−flops controlling the output selection, not
the actual pin values.
Table 10. OUTPUT PORT 0 REGISTER
Bit 7 6 5 4 3 2 1 0
Symbol O0.7 O0.6 O0.5 O0.4 O0.3 O0.2 O0.1 O0.0
Default 1 1 1 1 1 1 1 1
Table 11. OUTPUT PORT 1 REGISTER
Bit 7 6 5 4 3 2 1 0
Symbol O1.7 O1.6 O1.5 O1.4 O1.3 O1.2 O1.1 O1.0
Default 1 1 1 1 1 1 1 1

PCA9535ECMTTXG

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Interface - I/O Expanders 16-BIT I/O EXPANDER
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union