PCA9698 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 3 — 3 August 2010 28 of 48
NXP Semiconductors
PCA9698
40-bit Fm+ I
2
C-bus advanced I/O port with RESET, OE and INT
The programming becomes effective at the Acknowledge.
If more than 1 byte is written, previous data is overwritten.
Fig 18. Write to the output structure configuration, all bank control, or mode selection
002aab94
7
S A6 A5 A4 A3 A2 A1 A0 0 A
slave address
R/W
START condition
command register
AI = 'don't care'
A
acknowledge
from slave
DATA
A
acknowledge
from slave
acknowledge
from slave
P
STOP condition
SDA
X01010D1D0
00 for output structure configuration programming
01 for all bank control register programming
10 for mode selection register programming
If AI = 0, the same register is read during the whole sequence.
If AI = 1, the register value is incremented after each read. When the last register bank is read, it rolls over to the first byte of the
category (see category definition in Section 7.3 “
Command register).
The INT
signal is released only when the last register containing an input that changed has been read. For example, when
IO2_4 and IO4_7 change at the same time and an Input Port register read sequence is initiated, starting with IP0, INT
is
released after IP4 is read (and not after IP2 is read).
Fig 19. Read from Input Port, Output Port, I/O Configuration, Polarity Inversion, or Mask interrupt registers
002aab94
8
S A6 A5 A4 A3 A2 A1 A0 0 A
slave address
R/W
START condition
command register
AI = 1
A
acknowledge
from slave
A
no acknowledge
from master
acknowledge
from slave
P
STOP condition
SDA
1 0 D5 D4 D3 D2 D1 D0
Sr
repeated START
condition
A6 A5 A4 A3 A2 A1 A0
slave address
1 A
R/W
acknowledge
from slave
data from register
DATA
A
acknowledge
from master
first byte
register determined
by D4 D3 D2 D1 D0
data from register
DATA
second byte
data from register
DATA
last byte
D[5:0] = 00 1000 for Output Port register bank 0
D[5:0] = 01 0000 for Polarity Inversion register bank 0
D[5:0] = 01 1000 for Configuration register bank 0
D[5:0] = 00 0000 for Input Port register bank 0
D[5:0] = 10 0000 for Mask Interrupt register bank 0
PCA9698 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 3 — 3 August 2010 29 of 48
NXP Semiconductors
PCA9698
40-bit Fm+ I
2
C-bus advanced I/O port with RESET, OE and INT
If AI = 0 or 1, the same register is read during the all sequence.
Fig 20. Read from output structure configuration, all bank control or mode selection registers
002aab94
9
S A6 A5 A4 A3 A2 A1 A0 0 A
slave address
R/W
START condition
command register
AI = 'don't care'
A
acknowledge
from slave
A
no acknowledge
from master
acknowledge
from slave
P
STOP
condition
SDA
X01010D1D0
00 for output structure configuration register reading
01 for for all bank control register reading
10 for mode selection register reading
Sr
repeated START
condition
A6 A5 A4 A3 A2 A1 A0
slave address
1 A
R/W
acknowledge
from slave
data from register
DATA
last byte
At this moment master-transmitter
becomes master-receiver, and
slave-receiver becomes slave-transmitter.
Fig 21. SMBus Alert procedure
002aab95
0
A6 A5 A4 A3 A2 A1 A0 0
PCA9698 I
2
C-bus
slave address
R/W
A
no acknowledge
from master
P
STOP condition
S 0 0 0 1 1 0 0
SMBus Alert
response address
START condition
1 A
R/W
acknowledge from slave
that generated the alert
At this moment master-transmitter
becomes master-receiver and
slave receiver becomes slave-transmitter.
SMBALERT
SMBALERT signal is released
(assuming that only one device
generated the alert)
If more than 3 bytes are read, the slave device loops back to the first byte (manufacturer byte) and keeps sending data until the
master generates a ‘No Acknowledge’.
Fig 22. Device ID field reading
002aab951
A6 A5 A4 A3 A2 A1 A0
I
2
C-bus slave address
of the device to be identified
A
no acknowledge
from master
P
STOP condition
M
11
M
10
M9 M8 M7 M6 M5 M4
Sr
repeated START
condition
1 A
R/W
S 1 1 1 1 1 0 0
Device ID address
START condition
0 A
R/W
acknowledge from
one or several slaves
0 A
don't care
acknowledge from
slave to be identified
1 1 1 1 1 0 0
Device ID address
acknowledge from
slave to be identified
A M3 M2 M1 M0
acknowledge
from master
manufacturer name = 000000000000
P8 P7 P6 P5 A
acknowledge
from master
P4 P3 P2 P1 P0 R2 R1 R0
part identification = 000000000 revision = 000
PCA9698 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 3 — 3 August 2010 30 of 48
NXP Semiconductors
PCA9698
40-bit Fm+ I
2
C-bus advanced I/O port with RESET, OE and INT
Only slave devices with bit IOAC = 1 answer to the GPIO All Call transaction.
Output Port register programming becomes effective at the STOP command if OCH = 0, at each acknowledge if OCH = 1.
Configuration, Polarity Inversion, and Mask interrupt registers become effective at the acknowledge.
Less than 5 bytes can be programmed by using the same scheme.
‘D5 D4 D3 D2 D1 D0’ refers to the first register to be programmed.
If more than 5 bytes are written, previous data are overwritten (the sixth Configuration register will roll over to the first
addressed Configuration register, the sixth Polarity Inversion register will roll over to the first addressed Polarity Inversion
register, the sixth Mask interrupt register will roll over to the first addressed Mask interrupt register).
Fig 23. GPIO All Call write to the Output Port, I/O Configuration, Polarity Inversion, or Mask interrupt registers
002aab95
2
S 1 1 0 1 1 1 0 0 A
GPIO All Call address
R/W
START condition
command register
AI = 1
A
acknowledge
from slave(s)
DATA BANK 0
A
acknowledge
from slave(s)
DATA BANK 1
acknowledge
from slave
A
acknowledge
from slave(s)
DATA BANK 2
A
acknowledge
from slave(s)
DATA BANK 3
A
acknowledge
from slave(s)
DATA BANK 4
P
STOP
condition
A
SDA
1 0 D5 D4 D3 D2 D1 D0
00 1000 for Output Port register programming bank 0
01 0000 for Polarity Inversion register programming bank 0
01 1000 for Configuration register programming bank 0
acknowledge
from slave
10 0000 for Mask interrupt register programming bank 0
Only slave devices with bit 0 IOAC = 1 answer the GPIO All Call transaction.
The programming becomes effective at the acknowledge.
If more than 1 byte is written, previous data is overwritten.
Fig 24. GPIO All Call write to the Output structure configuration, All Bank Control, or Mode selection registers
002aab95
3
S 1 1 0 1 1 1 0 0 A
slave address
R/W
START condition
command register
AI = 'don't care'
A
acknowledge
from slave(s)
A
acknowledge
from slave(s)
acknowledge
from slave(s)
P
STOP
condition
SDA
X01010D1D0
00 for Output structure configuration register programming
01 for All Bank Control register programming
10 for Mode selection register programming
DATA

PCA9698BS,118

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