Philips PCF8575TS-F1 Datasheet

DATA SH EET
Product specification Supersedes data of 1999 Feb 25 File under Integrated Circuits, IC12
1999 Apr 07
INTEGRATED CIRCUITS
PCF8575
2
C-bus
1999 Apr 07 2
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I2C-bus
PCF8575
CONTENTS
1 FEATURES 2 GENERAL DESCRIPTION 3 ORDERING INFORMATION 4 BLOCK DIAGRAM 5 PINNING 6 CHARACTERISTICS OF THE I2C-BUS
6.1 Bit transfer
6.2 START and STOP conditions
6.3 System configuration
6.4 Acknowledge 7 FUNCTIONAL DESCRIPTION
7.1 Quasi-bidirectional I/Os
7.2 Addressing
7.3 Reading from a port (input mode)
7.4 Writing to the port (output mode)
7.5 Interrupt 8 LIMITING VALUES 9 HANDLING 10 CHARACTERISTICS 11 I2C-BUS TIMING CHARACTERISTICS 12 DEVICE PROTECTION 13 PACKAGE OUTLINE 14 SOLDERING
14.1 Introduction to soldering surface mount packages
14.2 Reflow soldering
14.3 Wave soldering
14.4 Manual soldering
14.5 Suitability of surface mount IC packages for wave and reflow soldering methods
15 DEFINITIONS 16 LIFE SUPPORT APPLICATIONS 17 PURCHASE OF PHILIPS I2C COMPONENTS
1999 Apr 07 3
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I2C-bus
PCF8575
1 FEATURES
Operating supply voltage 2.5 to 5.5 V
Low standby current consumption of 10 µA maximum
I2C-bus to parallel port expander
400 kbits/s FAST I2C-bus
Open-drain interrupt output
16-bit remote I/O port for the I2C-bus
Compatible with most microcontrollers
Latched outputs with high current drive capability for
directly driving LEDs
Address by 3 hardware address pins for use of up to
8 devices
SSOP24 package.
2 GENERAL DESCRIPTION
The PCF8575 is a silicon CMOS circuit. It provides general purpose remote I/O expansion for most microcontroller families via the two-line bidirectional bus (I
2
C-bus).
The device consists of a 16-bit quasi-bidirectional port and an I
2
C-bus interface. The PCF8575 has a low current consumption and includes latched outputs with high current drive capability for directly driving LEDs. It also possesses an interrupt line (INT) which can be connected to the interrupt logic of the microcontroller. By sending an interrupt signal on this line, the remote I/O can inform the microcontroller if there is incoming data on its ports without having to communicate via the I2C-bus. This means that the PCF8575 is an I2C-bus slave transmitter/receiver.
Every data transmission from the PCF8575 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.
3 ORDERING INFORMATION
TYPE
NUMBER
PACKAGE
NAME DESCRIPTION VERSION
PCF8575TS SSOP24 plastic shrink small outline package; 24 leads; body width 5.3 mm SOT340-1
1999 Apr 07 4
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I2C-bus
PCF8575
4 BLOCK DIAGRAM
Fig.1 Block diagram.
handbook, full pagewidth
MGL537
I2C-BUS
CONTROL
INPUT
FILTER
1
2 3
22 23
21
INTERRUPT
LOGIC
16 BITS
P00 to P07
4 to 11
P10 to P17
13 to 20
I/O
PORT
SHIFT
REGISTER
LP FILTER
WRITE pulse
READ pulse
POWER-ON
RESET
24 12
V
DD
V
SS
SDA
SCL
A2
A1
A0
INT
PCF8575
1999 Apr 07 5
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I2C-bus
PCF8575
5 PINNING
SYMBOL PIN DESCRIPTION
INT 1 interrupt output (active LOW) A1 2 address input 1 A2 3 address input 2 P00 4 quasi-bidirectional I/O 00 P01 5 quasi-bidirectional I/O 01 P02 6 quasi-bidirectional I/O 02 P03 7 quasi-bidirectional I/O 03 P04 8 quasi-bidirectional I/O 04 P05 9 quasi-bidirectional I/O 05 P06 10 quasi-bidirectional I/O 06 P07 11 quasi-bidirectional I/O 07 V
SS
12 supply ground P10 13 quasi-bidirectional I/O 10 P11 14 quasi-bidirectional I/O 11 P12 15 quasi-bidirectional I/O 12 P13 16 quasi-bidirectional I/O 13 P14 17 quasi-bidirectional I/O 14 P15 18 quasi-bidirectional I/O 15 P16 19 quasi-bidirectional I/O 16 P17 20 quasi-bidirectional I/O 17 A0 21 address input 0 SCL 22 serial clock line input SDA 23 serial data line input/output V
DD
24 supply voltage
Fig.2 Pin configuration.
handbook, halfpage
PCF8575
MGL538
1 2 3 4 5 6 7 8
9 10 11 12
INT
A1
A2 P00 P01 P02 P03 P04 P05 P06 P07
V
SS
V
DD
SDA SCL A0 P17 P16 P15 P14 P13 P12 P11 P10
24 23 22 21 20 19 18 17 16 15 14 13
1999 Apr 07 6
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I2C-bus
PCF8575
6 CHARACTERISTICS OF THE I2C-BUS
The I2C-bus is for bidirectional, 2-line communication between different ICs or modules. The two lines are a serial data line (SDA) and a serial clock line (SCL). Both lines must be connected to a positive supply via a pull-up resistor when connected to the output stages of a device. Data transfer may be initiated only when the bus is not busy.
6.1 Bit transfer
One data bit is transferred during each clock pulse. The data on the SDA line must remain stable during the HIGH period of the clock pulse as changes in the data line at this time will be interpreted as control signals (see Fig.3).
6.2 START and STOP conditions
Both data and clock lines remain HIGH when the bus is not busy. A HIGH-to-LOW transition of the data line, while the clock is HIGH is defined as the START condition (S).
A LOW-to-HIGH transition of the data line while the clock is HIGH is defined as the STOP condition P (see Fig.4).
6.3 System configuration
A device generating a message is a ‘transmitter’, a device receiving the message is the ‘receiver’. The device that controls the message is the ‘master’ and the devices which are controlled by the master are the ‘slaves’ (see Fig.5).
6.4 Acknowledge
The number of data bytes transferred between the START and the STOP conditions from transmitter to receiver is not limited. Each byte of eight bits is followed by one acknowledge bit. The transmitter must release the SDA line before the receiver can send an acknowledge bit.
A slave receiver which is addressed must generate an acknowledge after the reception of each byte. Also a master must generate an acknowledge after the reception of each byte that has been clocked out of the slave transmitter. The device that acknowledges has to pull down the SDA line during the acknowledge clock pulse, so that the SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse, set-up and hold times must be taken into account.
A master receiver must signal an end of data to the transmitter by not generating an acknowledge after the last byte that has been clocked out of the slave. This is done by the master receiver by holding the SDA line HIGH. In this event the transmitter must release the data line to enable the master to generate a STOP condition.
Fig.3 Bit transfer.
handbook, full pagewidth
MBC621
data line
stable;
data valid
change of data allowed
SDA
SCL
1999 Apr 07 7
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I2C-bus
PCF8575
Fig.4 Definition of START and STOP conditions.
handbook, full pagewidth
MBC622
SDA
SCL
P
STOP condition
SDA
SCL
S
START condition
Fig.5 System configuration.
MBA605
MASTER
TRANSMITTER /
RECEIVER
SLAVE
RECEIVER
SLAVE
TRANSMITTER /
RECEIVER
MASTER
TRANSMITTER
MASTER
TRANSMITTER /
RECEIVER
SDA SCL
Fig.6 Acknowledgment on the I2C-bus.
handbook, full pagewidth
MGL539
S
START
condition
9821
clock pulse for
acknowledgement
not acknowledge
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
SCL FROM
MASTER
acknowledge
1999 Apr 07 8
Philips Semiconductors Product specification
Remote 16-bit I/O expander for I2C-bus
PCF8575
7 FUNCTIONAL DESCRIPTION
7.1 Quasi-bidirectional I/Os
The PCF8575’s 16 ports (see Fig.7) 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 Fig.10). Output data is transmitted to the ports in the WRITE mode (see Fig.9).
This quasi-bidirectional I/O can be used as an input or output without the use of a control signal for data direction. At power-on the I/Os are HIGH. In this mode only a current source (I
OH
) to VDD is active. An additional strong pull-up to
VDD (I
OHt
) 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 input. Any change in setting of the I/Os as either inputs or outputs can be done with the write mode. Warning: If a HIGH is applied to an I/O which has been written earlier to LOW, a large current (IOL) will flow to VSS. (see Characteristics note 3).
7.2 Addressing
Figures 8, 9 and 10 show the address and timing diagrams. Before any data is transmitted or received the master must send the address of the receiver via the SDA line. The first byte transmitted after the START condition carries the address of the slave device and the read/write bit. The address of the slave device must not be changed between the START and the STOP conditions. The PCF8575 acts as a slave receiver or a slave transmitter.
Fig.7 Simplified schematic diagram of each I/O.
book, full pagewidth
MGL540
DQ
C
I
C
I
S
FF
D
I
OH
I
OL
I
OHt
Q
S
FF
100
µA
to interrupt logic
V
SS
V
DD
P00 to P07 P10 to 17
write pulse
data from shift register
power-on reset
read pulse
data to shift register
Fig.8 Byte containing the slave address and the R/W bits.
MGL541
handbook, halfpage
S 0 1 0 0 A2 A1 A0 R/W A
slave address
Loading...
+ 16 hidden pages