PCA9538 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 8 — 8 November 2017 10 of 34
NXP Semiconductors
PCA9538
8-bit I
2
C-bus and SMBus low power I/O port with interrupt and reset
6.7 Bus transactions
Data is transmitted to the PCA9538 registers using the write mode as shown in Figure 7
and Figure 8
. Data is read from the PCA9538 registers using the read mode as shown in
Figure 9
and Figure 10. These devices do not implement an auto-increment function so
once a command byte has been sent, the register which was addressed will continue to
be accessed by reads until a new command byte has been sent.
Expanded diagram is shown in Figure 18.
Fig 7. Write to output port register
0 AS
slave address
START condition R/W acknowledge
from slave
002aae708
00000010
command byte
A
acknowledge
from slave
12345678SCL 9
SDA
DATA 1 A
write to port
data out from port
t
v(Q)
acknowledge
from slave
DATA 1 VALID
data to port
1100A1A01
P
STOP
condition
Fig 8. Write to configuration or polarity inversion registers
0 AS
slave address
START condition R/W acknowledge
from slave
002aae709
0000011/00
command byte
A
acknowledge
from slave
12345678SCL 9
SDA
DATA 1 A
data to register
acknowledge
from slave
data to register
1100A1A01
P
STOP
condition
PCA9538 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 8 — 8 November 2017 11 of 34
NXP Semiconductors
PCA9538
8-bit I
2
C-bus and SMBus low power I/O port with interrupt and reset
Fig 9. Read from register
This figure assumes the command byte has previously been programmed with 00h.
Transfer of data can be stopped at any moment by a STOP condition.
Expanded diagram is shown in Figure 17
.
Fig 10. Read input port register
1100A1A01AS1
slave address
START condition R/W acknowledge
from slave
002aae711
data from port
A
acknowledge
from master
SDA NA
no acknowledge
from master
read from
port
data into
port
data from port
DATA 1
DATA 4
INT
DATA 4
DATA 2
DATA 3
P
STOP
condition
t
v(INT)
t
rst(INT)
t
h(D)
t
su(D)
12345678SCL 9
DATA 1
PCA9538 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2017. All rights reserved.
Product data sheet Rev. 8 — 8 November 2017 12 of 34
NXP Semiconductors
PCA9538
8-bit I
2
C-bus and SMBus low power I/O port with interrupt and reset
7. Application design-in information
Device address is 1110 000x for this example.
IO0, IO2, IO3 configured as outputs.
IO1, IO4, IO5 configured as inputs.
IO6, IO7 are not used and need 100 k pull-up resistors to protect them from floating.
Fig 11. Typical application
PCA9538
IO0
IO1
SCL
SDA
V
DD
(5 V)
MASTER
CONTROLLER
SCL
SDA
INT
IO2
V
DD
V
DD
V
SS
INT
10 kΩ
SUB-SYSTEM 1
(e.g., temp sensor)
IO3
INT
SUB-SYSTEM 2
(e.g., counter)
RESET
controlled
switch
(e.g., CBT device)
A
B
enable
V
SS
002aae712
10 kΩ10 kΩ 2 kΩ
100 kΩ
(× 3)
RESET RESET
10 kΩ
IO4
IO5
IO6
IO7
A1
A0
SUB-SYSTEM 3
(e.g., alarm system)
ALARM
V
DD

PCA9538PW,118

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