參數(shù)資料
型號(hào): PCA8575
廠商: NXP Semiconductors N.V.
英文描述: Remote 16-bit I/O expander for I2C-bus with interrupt
中文描述: 遠(yuǎn)程16位I / O擴(kuò)展I2C總線的中斷
文件頁數(shù): 7/30頁
文件大?。?/td> 168K
代理商: PCA8575
PCA8575_1
NXP B.V. 2006. All rights reserved.
Objective data sheet
Rev. 01 — 30 November 2006
7 of 30
NXP Semiconductors
PCA8575
Remote 16-bit I/O expander for I
2
C-bus with interrupt
8.
I/O programming
8.1 Quasi-bidirectional I/O architecture
The PCA8575’s 16 ports (see
Figure 2
) are entirely independent and can be used either
as input or output ports. Input data is transferred from the ports to the microcontroller in
the Read mode (see
Figure 12
). Output data is transmitted to the ports in the Write mode
(see
Figure 11
).
Every data transmission from the PCA8575 must consist of an even number of bytes, the
first byte will be referred to as P07 to P00, and the second byte as P17 to P10. The third
will be referred to as P07 to P00, and so on.
This quasi-bidirectional I/O can be used as an input or output without the use of a control
signal for data directions. At power-on the I/Os are HIGH. In this mode only a current
source (I
OH
) to V
DD
is active. An additional strong pull-up to V
DD
(I
trt(pu)
) allows fast rising
edges into heavily loaded outputs. These devices turn on when an output is written HIGH,
and are switched off by the negative edge of SCL. The I/Os should be HIGH before being
used as inputs. After power-on, as all the I/Os are set HIGH, all of them can be used as
inputs. Any change in setting of the I/Os as either inputs or outputs can be done with the
write mode.
Remark:
If a HIGH is applied to an I/O which has been written earlier to LOW, a large
current (I
OL
) will flow to V
SS
.
8.2 Writing to the port (Output mode)
To write, the master (microcontroller) first addresses the slave device. By setting the last
bit of the byte containing the slave address to logic 0 the Write mode is entered. The
PCA8575 acknowledges and the master sends the first data byte for P07 to P00. After the
first data byte is acknowledged by the PCA8575, the second data byte P17 to P10 is sent
by the master. Once again, the PCA8575 acknowledges the receipt of the data. Each 8-bit
data is presented on the port lines after it has been acknowledged by the PCA8575.
The number of data bytes that can be sent successively is not limited. After every two
bytes, the previous data is overwritten.
The first data byte in every pair refers to Port 0 (P07 to P00), whereas the second data
byte in every pair refers to Port 1 (P17 to P10). See
Figure 10
.
Fig 10. Correlation between bits and ports
A
002aab634
06
05
04
03
02
01
00
first byte
07
P06 P05 P04 P03 P02 P01 P00
P07
A
16
15
14
13
12
11
10
second byte
17
P16 P15 P14 P13 P12 P11 P10
P17
相關(guān)PDF資料
PDF描述
PCA8575DK Remote 16-bit I/O expander for I2C-bus with interrupt
PCA873FCGHPAS LAN Transceiver
PCA873CGHPAS LAN Transceiver
PCA911 Analog-to-Digital Converter, 6-Bit
PCA911ACGMP1S Analog-to-Digital Converter, 6-Bit
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PCA8575BQ 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Remote 16-bit I/O expander for I2C-bus with interrupt
PCA8575BQ,118 功能描述:接口-I/O擴(kuò)展器 16-BIT I2C FM QB RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
PCA8575BQ-T 功能描述:接口-I/O擴(kuò)展器 16-BIT I2C FM QB GPIO INT PU RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
PCA8575BS 制造商:PHILIPS 制造商全稱:NXP Semiconductors 功能描述:Remote 16-bit I/O expander for I2C-bus with interrupt
PCA8575BS,118 功能描述:接口-I/O擴(kuò)展器 16-BIT I2C FM QB RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel