1999 Apr 07 10
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I
2
C-bus
PCF8575
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
d
book, full pagewidth
MGL543
S 0 1 0 0 A2 A1 A0 1 A P07 P06 P05 P04
P07 to P00 P17 to P10P07 to P00 P17 to P10 P07 to P00 P17 to P10
P03 P02 P01 P00 P17 P10
R/W acknowledge
from slave
A A P07 P00 A P17 P10 1P
SDA
SCL
READ FROM PORT
t
h
DATA INTO PORT
INT
acknowledge
from receiver
acknowledge
from receiver
acknowledge
from receiver
non acknowledge
from receiver
t
su
t
ir
t
ir
t
iv
Fig.10 READ mode (input).
A LOW-to-HIGH transition of SDA, while SCL is HIGH is defined as the STOP condition (P). Transfer of data can be stopped at any moment by a STOP condition. When this occurs, data present
at the latest acknowledge phase is valid (output mode). Input data is lost.
1999 Apr 07 11
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I
2
C-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 t
iv
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
1999 Apr 07 12
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I
2
C-bus
PCF8575
Fig.12 Application of multiple PCF8575s with interrupt.
handbook, full pagewidth
MGL544
MICROCOMPUTER
INT
INT INT
PCF8575
(1)
PCF8575
(2)
V
DD
INT
PCF8575
(8)

PCF8575TS/1,118

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

Products related to this Datasheet