參數(shù)資料
型號: 935262233118
廠商: NXP SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 16 I/O, PIA-GENERAL PURPOSE, PDSO24
封裝: 5.30 MM, PLASTIC, SSOP-24
文件頁數(shù): 3/26頁
文件大?。?/td> 140K
代理商: 935262233118
1999 Apr 07
11
Philips Semiconductors
Product specication
Remote 16-bit I/O expander for I2C-bus
PCF8575
7.3
Reading from a port (input mode)
All ports programmed as input should be set to logic 1.
To read, the master (microcontroller) first addresses the
slave device after it receives the interrupt. By setting the
last bit of the byte containing the slave address to logic 1
the read mode is entered. The data bytes that follow on the
SDA are the values on the ports.
If the data on the input port changes faster than the master
can read, this data may be lost.
7.4
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 PCF8575 acknowledges and the master sends the
first data byte for P07 to P00. After the first data byte is
acknowledged by the PCF8575, the second data byte
P17 to P10 is sent by the master. Once again the
PCF8575 acknowledges the receipt of the data after which
this 16-bit data is presented on the port lines.
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 Fig.11.
7.5
Interrupt
The PCF8575 provides an open-drain interrupt (INT)
which can be fed to a corresponding input of the
microcontroller (see Figs 9, 10 and 12). This gives these
chips a kind of a master function which can initiate an
action elsewhere in the system.
An interrupt is generated by any rising or falling edge of the
port inputs. After time tiv the signal INT is valid.
The interrupt disappears when data on the port is changed
to the original setting or data is read from or written to the
device which has generated the interrupt.
In the write mode the interrupt may become deactivated
(HIGH) on the rising edge of the write to port pulse. On the
falling edge of the write to port pulse the interrupt is
definitely deactivated (HIGH).
The interrupt is reset in the read mode on the rising edge
of the read from port pulse.
During the resetting of the interrupt itself any changes on
the I/Os may not generate an interrupt. After the interrupt
is reset any change in I/Os will be detected and transmitted
as an INT.
Fig.11 Correlation between bits and ports.
handbook, full pagewidth
MGL545
07
06
05
04
03
02
01
00
P07 P06 P05 P04 P03 P02 P01 P00
A
First Byte
17
16
15
14
13
12
11
10
P17 P16 P15 P14 P13 P12 P11 P10
A
Second Byte
相關(guān)PDF資料
PDF描述
935262403118 0 TIMER(S), REAL TIME CLOCK, PDSO8
935261475512 8 CHANNEL(S), 500K bps, SERIAL COMM CONTROLLER, PQCC84
9LPRS365BKLF SPECIALTY MICROPROCESSOR CIRCUIT, PQCC64
91W-G28AC-6-CG9 SINGLE COLOR DISPLAY CLUSTER, GREEN, 7.1 mm
91W-G5AC-6-CW0 SINGLE COLOR DISPLAY CLUSTER, GREEN, 7.1 mm
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
935264217557 制造商:NXP Semiconductors 功能描述:SUB ONLY IC
935267356112 制造商:NXP Semiconductors 功能描述:IC TEA1507PN
935268081112 制造商:NXP Semiconductors 功能描述:SUB ONLY IC
935268721125 制造商:NXP Semiconductors 功能描述:Buffer/Line Driver 1-CH Non-Inverting 3-ST CMOS 5-Pin TSSOP T/R
935269304128 制造商:ST-Ericsson 功能描述:IC AUDIO CODEC W/TCH SCRN 48LQFP