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 16 of 48
NXP Semiconductors
PCA9698
40-bit Fm+ I
2
C-bus advanced I/O port with RESET, OE and INT
7.5 Device ID - PCA9698 ID field
The Device ID field is a 3 byte read-only (24 bits) word giving the following information:
12 bits with the manufacturer name, unique per manufacturer (e.g., NXP)
9 bits with the part identification, assigned by manufacturer (e.g., PCA9698)
3 bits with the die revision, assigned by manufacturer (e.g., RevX)
The Device ID is read-only, hard-wired in the device and can be accessed as follows:
1. START command
2. The master sends the Reserved Device ID I
2
C-bus address followed by the R/W bit
set to ‘0’ (write): ‘1111 1000’.
3. The master sends the I
2
C-bus slave address of the slave device it needs to identify.
The LSB is a ‘Don’t care’ value. Only one device must acknowledge this byte (the one
that has the I
2
C-bus slave address).
4. The master sends a Re-START command.
Remark: A STOP command followed by a START command will reset the slave state
machine and the Device ID Read cannot be performed. Also, a STOP command or a
Re-START command followed by an access to another slave device will reset the
slave state machine and the Device ID Read cannot be performed.
5. The master sends the Reserved Device ID I
2
C-bus address followed by the R/W bit
set to ‘1’ (read): ‘1111 1001’.
6. The Device ID Read can be done, starting with the 12 manufacturer bits (first byte +
4 MSBs of the second byte), followed by the 9 part identification bits (4 LSBs of the
second byte + 5 MSBs of the third byte), and then the 3 die revision bits (3 LSBs of
the third byte).
7. The master ends the reading sequence by NACKing the last byte, thus resetting the
slave device state machine and allowing the master to send the STOP command.
Remark: The reading of the Device ID can be stopped anytime by sending a NACK
command.
If the master continues to ACK the bytes after the third byte, the PCA9698 rolls back
to the first byte and keeps sending the Device ID sequence until a NACK has been
detected.
For the PCA9698, the Device ID is as shown in Figure 10
.
Fig 10. PCA9698 ID field
0
002aab94
2
0 0
00 0 0 0 0 0 0
00 0 0 0 0 0 0
revision
0
0 0 0 0
part identification
manufacturer
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 17 of 48
NXP Semiconductors
PCA9698
40-bit Fm+ I
2
C-bus advanced I/O port with RESET, OE and INT
7.6 GPIO All Call
A ‘GPIO All Call’ command allows the programming of multiple advanced GPIOs with
different I
2
C-bus addresses at the same time. This allows to optimize code programming
when the master needs to send the same instruction to several devices. To respond to
such a command and sequence, the PCA9698 needs to have its IOAC bit (register 2Ah,
bit 3) set to 1. Devices that have this bit set to 0 do not participate in any ‘GPIO All Call’
sequence.
The ‘GPIO All Call’ command can be performed only for a write operation and cannot be
used in conjunction with a read operation.
Master initiates a command sequence with the START command, the ‘GPIO All Call’
command associated with a Write command: Start 1101 110 + Write
All the devices that are programmed to respond to this command will acknowledge
The master then sends the data and all the devices that are programmed to respond
acknowledge the byte(s)
The master ends the sequence by sending a STOP or Repeated START command.
If the master initiates a ‘GPIO All Call’ sequence with a Read command, none of the slave
devices acknowledge.
7.7 Output state change on ACK or STOP
State change of the I/Os programmed as outputs can be done either:
during the ACK phase every time an Output Port register is modified. The output state
is then updated one-by-one (at a bank level): OCH bit = 1 (register 2Ah, bit 1)
at a STOP command allowing all the outputs to change at the exact same moment:
OCH bit = 0 (register 2Ah, bit 1).
Change of the outputs at the STOP command allows synchronizing of all the programmed
banks in a single device, and also allows synchronizing outputs of more than one
PCA9698.
Example 1: Only one PCA9698 is used on the I
2
C-bus and all the outputs need to change
at the same time.
OCH bit (Mode Selection Register, bit 1) must be equal to ‘0’.
The master accesses the device and programs the Output Port register(s) that has
(have) to be changed (up to 5 ports).
When done, the master must generate a STOP command.
At the STOP command, the PCA9698 will update the Output Port register(s) that has
(have) been programmed and change the output states all at the same time.
Example 2: More than one PCA9698 is used on the I
2
C-bus and all the outputs need to
change at the same time.
OCH bit (Mode Selection Register, bit 1) must be equal to ‘0’ in all the devices.
The master device must access the devices one-by-one.
Access to each device must be separated by a Re-START command.
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 18 of 48
NXP Semiconductors
PCA9698
40-bit Fm+ I
2
C-bus advanced I/O port with RESET, OE and INT
When all the devices have been accessed, the master must generate a STOP
command.
At the STOP command, all the PCA9698s that have been accessed will update their
Output Port registers that have been programmed and change the output states all at
the same time.
Remark: After programming a PCA9698, its state machine will be in a
‘wait-for-STOP-condition’ until a STOP condition is received to update the Output Port
registers. Since this state machine will be in a ‘wait-state’, the part will not respond to its
own address until this state machine gets out to the idle condition, which means that the
device can be programmed only once and is not addressable again until a STOP
condition has been received.
Remark: The PCA9698 has one level of buffers to store 5 bytes of data, and the actual
Output Port registers will get updated on the STOP condition. If the master sends more
than 5 bytes of data (with AI = 1), the data in the buffer will get overwritten.
7.8 Power-on reset
When power is applied to V
DD
, an internal Power-On Reset (POR) holds the PCA9698 in
a reset condition until V
DD
has reached V
POR
. At that point, the reset condition is released
and the PCA9698 registers and I
2
C-bus/SMBus state machine will initialize to their default
states. Thereafter, V
DD
must be lowered below 0.2 V to reset the device.
7.9 RESET input
A reset can be accomplished by holding the RESET pin LOW for a minimum of t
w(rst)
. The
PCA9698 registers and I
2
C-bus state machine will be held in their default state until the
RESET
input is once again HIGH.
7.10 Interrupt output (INT)
The open-drain active LOW interrupt is activated when one of the port pins changes state
and the port pin is configured as an input and the interrupt on it is not masked. The
interrupt is deactivated when the port pin input returns to its previous state or the Input
Port register is read.
It is highly recommended to program the MSK register, and the IOC registers during the
initialization sequence after power-up, since any change to them during Normal mode
operation may cause undesirable interrupt events to happen.
Remark: Changing an I/O from an output to an input may cause a false interrupt to occur
if the state of the pin does not match the contents of the Input Port register.
Only a Read of the Input Port register that contains the bit(s) image of the input(s) that
generated the interrupt clears the interrupt condition.
If more than one input register changed state before a read of the Input Port register is
initiated, the interrupt is cleared when all the input registers containing all the inputs that
changed are read.
Example: If IO0_5, IO2_3, and IO3_7 change state at the same time, the interrupt is
cleared only when INREG0, INREG2, and INREG3 are read.

PCA9698DGG/S911,51

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC I/O EXPANDER I2C 40B 56TSSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union