pca9701 NXP Semiconductors, pca9701 Datasheet - Page 5

no-image

pca9701

Manufacturer Part Number
pca9701
Description
Pca9701; Pca9702 18 V Tolerant Spi 16-bit/8-bit Gpi With
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pca9701D
Manufacturer:
NXP
Quantity:
1 200
Part Number:
pca9701HF
Manufacturer:
NXP
Quantity:
10 326
Part Number:
pca9701HF,118
Manufacturer:
Maxim
Quantity:
1 382
Part Number:
pca9701PW
Manufacturer:
NXP
Quantity:
4 900
NXP Semiconductors
7. Functional description
PCA9701_PCA9702_2
Product data sheet
7.1.1 CS - chip select
7.1.2 SCLK - serial clock input
7.1.3 SDIN - serial data input
7.1.4 SDOUT - serial data output
7.1 SPI bus operation
PCA9701 is a 16-bit General Purpose Input (GPI) with an open-drain interrupt output
designed to monitor switch status. By putting an external 100 k series resistor at the
input port, the device allows the input to tolerate momentary double 12 V battery, reverse
battery, or load dump conditions. The interrupt output is asserted when an input port
status changes. The open-drain interrupt output is enabled when INT_EN is HIGH and
disabled when INT_EN is LOW. The input port status is accessed via the 4-wire SPI
interface. The PCA9702 is the 8-bit version of the PCA9701.
Multiple PCA9701 or PCA9702 devices can be serially connected for monitoring a large
number of switches by connecting the SDOUT of one device to the SDIN of the next
device. SCLK and CS must be common among all devices and interrupt outputs may be
tied together. No external logic is necessary because all the devices’ interrupt outputs are
open-drain that function as ‘wired-AND’ and can simply be connected together to a single
pull-up resistor.
The PCA9701 or PCA9702 interfaces with the controller via the 4-wire SPI bus that is
comprised of the following signals: chip select (CS), serial clock (SCLK), serial data in
(SDIN), and serial data out (SDOUT). To access the device, the controller asserts CS
LOW, then sends SCLK and SDIN. When reading/writing is complete, the controller
de-asserts CS. See
The CS pin is the device chip select and is an active LOW input. The falling edge of CS
captures the input port status in the input status register. If the interrupt output is asserted,
the falling edge of CS will clear the interrupt. When CS is LOW, the SPI interface is active.
When CS is HIGH, the SPI interface is disabled.
SCLK is the serial clock input to the device. It should be LOW and remain LOW during the
falling and rising edge of CS. When CS is LOW, the first rising edge of SCLK parallel loads
the shift register from the input. The subsequent rising edges on SCLK serially shifts data
out from the shift register. The falling edge of SCLK samples the data on SDIN.
SDIN is the serial data input port. The data is sampled into the shift register on the falling
edge of SCLK. SDIN is only active when CS is LOW. This input has a 20 A pull-down
current source.
SDOUT is the serial data output signal. SDOUT is high-impedance when CS is HIGH and
switches to low-impedance after CS goes LOW. When CS is LOW, after the first rising
edge of SCLK the most significant bit in the shift register is presented on SDOUT.
Subsequent rising edges of SCLK shift the remaining data from the shift register onto
SDOUT.
Figure 6
Rev. 02 — 29 August 2007
for register access timing.
18 V tolerant SPI 16-bit/8-bit GPI with INT
PCA9701; PCA9702
© NXP B.V. 2007. All rights reserved.
5 of 24

Related parts for pca9701