PCA9574 8-bit I2C-bus and SMBus, level translating, low voltage GPIO with reset and interrupt Rev. 4 -- 25 April 2012 Product data sheet 1. General description The PCA9574 is a CMOS device that provides 8 bits of General Purpose parallel Input/Output (GPIO) expansion in low voltage processor and handheld battery powered mobile applications and was developed to enhance the NXP family of I2C-bus I/O expanders. The improvements include lower supply current, lower operating voltage of 1.1 V to 3.6 V, dual and separate supply rails to allow voltage level translation anywhere between 1.1 V and 3.6 V, 400 kHz clock frequency, and smaller packaging. Any of the eight I/O ports can be configured as an input or output independent of each other and default on start-up to inputs. I/O expanders provide a simple solution when additional I/Os are needed while keeping interconnections to a minimum; for example in battery powered mobile applications and clamshell devices for interfacing to sensors, push buttons, keypad, etc. In addition to providing a flexible set of GPIOs, it simplifies interconnection of a processor running at one voltage level to I/O devices operating at a different (usually higher) voltage level. PCA9574 has built-in level shifting feature that makes these devices extremely flexible in mixed signal environments where communication between incompatible I/Os is required. The core of PCA9574 can operate at a voltage as low as 1.1 V while the I/O bank can operate in the range 1.1 V to 3.6 V. Bus-hold with programmable on-chip pull-up or pull-down feature for I/Os is also provided. The system master can enable the I/Os as either inputs or outputs by writing to the I/O configuration register bits. The data for each input or output is kept in the corresponding Input or Output register. The polarity of the read register can be inverted with the Polarity inversion register (active HIGH or active LOW operation). Either a bus-hold function or pull-up/pull-down feature can be selected by programming corresponding registers. The bus-hold provides a valid logic level when the I/O bus is not actively driven. When bus-hold feature is not selected, the I/O ports can be configured to have pull-up or pull-down by programming the pull-up/pull-down configuration register. An open-drain interrupt output pin (INT) allows monitoring of the input pins and is asserted each time a change occurs on an input port unless that port is masked (default = masked). A `GPIO All Call' command allows programming multiple PCA9574s at the same time even if they have different individual I2C-bus addresses. This allows optimal code programming when more than one device needs to be programmed with the same instruction or if all outputs need to be turned on or off at the same time. The internal Power-On Reset (POR) or hardware reset pin (RESET) initializes the eight I/Os as inputs, sets the registers to their default values and initializes the device state machine. The I/O bank is held in its default state when the logic supply (VDD) is off. One address select pin allows up to two PCA9574 devices to be connected with two different addresses on the same I2C-bus. PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO The PCA9574 is available in TSSOP16, HVQFN16 and XQFN16 packages and is specified over the -40 C to +85 C industrial temperature range. 2. Features and benefits 400 kHz I2C-bus serial interface Compliant with I2C-bus Standard-mode (100 kHz) Separate supply rails for core logic and I/O bank provides voltage level shifting 1.1 V to 3.6 V operation with level shifting feature Very low standby current: < 1 A 8 configurable I/O pins that default to inputs at power-up Outputs: Totem pole: 1 mA source and 3 mA sink Independently programmable 100 k pull-up or pull-down for each I/O pin Open-drain active LOW interrupt (INT) output pin allows monitoring of logic level change of pins programmed as inputs Inputs: Programmable bus hold provides valid logic level when inputs are not actively driven Programmable Interrupt Mask Control for input pins that do not require an interrupt when their states change or to prevent spurious interrupts default to mask at power-up Polarity inversion register allows inversion of the polarity of the I/O pins when read Active LOW reset (RESET) input pin resets device to power-up default state GPIO All Call address allows programming of more than one device at the same time with the same parameters 2 programmable slave addresses using 1 address pin -40 C to +85 C operation ESD protection exceeds 7000 V HBM per JESD22-A114 and 1000 V CDM per JESD22-C101 Latch-up testing is done to JEDEC Standard JESD78 which exceeds 100 mA Packages offered: TSSOP16, HVQFN16 and XQFN16 3. Applications PCA9574 Product data sheet Cell phones Media players Multi voltage environments Battery operated mobile gadgets Motherboards Servers RAID systems Industrial control Medical equipment PLCs All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 2 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO Gaming machines Instrumentation and test measurement 4. Ordering information Table 1. Ordering information Type number Package Name Description Version PCA9574PW TSSOP16 plastic thin shrink small outline package; 16 leads; body width 4.4 mm SOT403-1 PCA9574BS HVQFN16 plastic thermal enhanced very thin quad flat package; SOT758-1 no leads; 16 terminals; body 3 x 3 x 0.85 mm PCA9574HK XQFN16 plastic, extremely thin quad flat package; no leads; 16 terminals; body 1.80 x 2.60 x 0.50 mm SOT1161-1 4.1 Ordering options Table 2. Ordering options Type number Topside mark Temperature range PCA9574PW PCA9574 Tamb = -40 C to +85 C PCA9574BS P74 Tamb = -40 C to +85 C PCA9574HK 74 Tamb = -40 C to +85 C 5. Block diagram PCA9574 VDD(IO) P0 A0 P1 8-bit SCL SDA INPUT FILTER I2C-BUS/SMBus CONTROL write pulse VDD RESET P2 INPUT/ OUTPUT PORTS P3 P4 P5 P6 read pulse P7 POWER-ON RESET VDD VSS INT LP FILTER 002aad054 Remark: All I/Os are set to inputs at power-up and RESET. Fig 1. PCA9574 Product data sheet Block diagram of PCA9574 All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 3 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO data from shift register data from shift register output port register data configuration register D VDD(IO) Q1 Q FF write configuration pulse write pulse CK Q D Q FF P0 to P7 Q2 CK output port register input port register D ESD protection diode VSS Q input port register data FF read pulse CK INTERRUPT MASK VDD(IO) BUS-HOLD AND PULL-UP/PULL-DOWN CONTROL to INT 100 k polarity inversion register data from shift register D Q FF write polarity pulse polarity inversion register data CK 002aad066 Fig 2. Simplified schematic of the I/Os (P0 to P7) PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 4 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 6. Pinning information 6.1 Pinning 13 SDA 1 12 SCL P0 2 11 P7 14 SCL P1 3 10 P6 13 P7 P2 4 9 1 16 VDD A0 2 15 SDA RESET 3 P0 4 P1 5 P2 6 11 P5 P3 7 10 P4 VSS 8 P5 6 7 8 VSS VDD(IO) P4 VDD(IO) 5 9 P3 12 P6 002aad053 Transparent top view 002aad052 Pin configuration for HVQFN16 13 SDA terminal 1 index area 14 VDD Fig 4. 15 INT Pin configuration for TSSOP16 16 A0 Fig 3. 14 VDD RESET INT PCA9574PW 16 A0 terminal 1 index area 15 INT PCA9574BS RESET 1 12 SCL P0 2 11 P7 PCA9574HK P4 8 9 P5 VDD(IO) 7 P2 4 VSS 6 10 P6 P3 5 P1 3 002aag669 Transparent top view Fig 5. Pin configuration for XQFN16 PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 5 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 6.2 Pin description Table 3. Pin description Symbol Pin Type Description TSSOP16 HVQFN16 XQFN16 INT 1 15 15 O active LOW interrupt output; active LOW SMBus alert output A0 2 16 16 I address input RESET 3 1 1 I active LOW reset input P0 4 2 2 I/O input/output 0 P1 5 3 3 I/O input/output 1 P2 6 4 4 I/O input/output 2 P3 7 5 5 I/O input/output 3 8 6[1] 6 ground supply ground VSS VDD(IO) 9 7 7 power supply I/O bank supply voltage P4 10 8 8 I/O input/output 4 P5 11 9 9 I/O input/output 5 P6 12 10 10 I/O input/output 6 P7 13 11 11 I/O input/output 7 SCL 14 12 12 I serial clock line SDA 15 13 13 I/O serial data line VDD 16 14 14 power supply supply voltage [1] HVQFN16 package die supply ground is connected to both VSS pin and exposed center pad. VSS pin must be connected to supply ground for proper device operation. For enhanced thermal, electrical, and board level performance, the exposed pad needs to be soldered to the board using a corresponding thermal pad on the board and for proper heat conduction through the board, thermal vias need to be incorporated in the PCB in the thermal pad region. 7. Functional description 7.1 Device address Following a START condition the bus master must send the address of the slave it is accessing and the operation it wants to perform (read or write). The address of the PCA9574 is shown in Figure 6. Slave address pin A0 chooses 1 of 2 slave addresses: 40h or 42h. slave address 0 1 0 0 0 fixed 0 A0 R/W hardware selectable 002aad055 Fig 6. PCA9574 device address The last bit of the first byte defines the operation to be performed. When set to logic 1 a read is selected, while logic 0 selects a write operation. PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 6 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 7.2 Command register Following the successful acknowledgement of the slave address + R/W bit, the bus master will send a byte to the PCA9574, which will be stored in the Command register. AI X X X X D2 D1 D0 register address Auto-Increment flag 002aad056 Reset state = 00h Remark: The Command register does not apply to Software Reset I2C-bus address. Fig 7. Command register The lowest three bits are used as a pointer to determine which register will be accessed. Only a command register code with the three least significant bits equal to the eight allowable values as defined in Table 4 "Register summary" will be acknowledged. Reserved or undefined command codes will not be acknowledged. At power-up, this register defaults to 00h, with the AI bit set to `0', and the lowest 3 bits set to `0'. If the Auto-Increment flag is set (AI = 1), the three least significant bits of the Command register are automatically incremented after a read or write. This allows the user to program and/or read the eight command registers (listed in Table 4) sequentially. It will then roll over to register 00h after the last register is accessed and the selected registers will be overwritten or re-read. If the Auto-Increment flag is cleared (AI = 0), the three least significant bits are not incremented after data is read or written, only one register will be repeatedly read or written. 7.3 Register definitions Table 4. Register summary Register number D2 D1 D0 Name Type Function 00h 0 0 0 IN read only Input port register 01h 0 0 1 INVRT read/write Polarity inversion register 02h 0 1 0 BKEN read/write Bus-hold enable register 03h 0 1 1 PUPD read/write Pull-up/pull-down selector register 04h 1 0 0 CFG read/write Port configuration register 05h 1 0 1 OUT read/write Output port register 06h 1 1 0 MSK read/write Interrupt mask register 07h 1 1 1 INTS read only Interrupt status register 7.4 Writing to port registers Data is transmitted to the PCA9574 by sending the device address and setting the least significant bit to logic 0 (see Figure 6 for device address). The command byte is sent after the address and determines which register will receive the data following the command byte. Each 8-bit register may be updated independently of the other registers. PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 7 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 7.5 Reading the port registers In order to read data from the PCA9574, the bus master must first send the PCA9574 address with the least significant bit set to a logic 0 (see Figure 6 for device address). The command byte is sent after the address and determines which register will be accessed. After a restart, the device address is sent again but this time, the least significant bit is set to logic 1. Data from the register defined by the command byte will then be sent by the PCA9574. Data is clocked into the register on the falling edge of the acknowledge clock pulse. After the first byte is read, additional bytes may be read using the auto-increment feature. 7.5.1 Register 0 - Input port register This register is read-only. It reflects the incoming logic levels of the pins, regardless of whether the pin is defined as an input or an output by the Configuration register. Writes to this register will be acknowledged but will have no effect. The default `X' is determined by the externally applied logic level. Table 5. Register 0 - Input port register (address 00h) bit description Bit Symbol Access Value Description 7 I0.7 read only X determined by externally applied logic level 6 I0.6 read only X 5 I0.5 read only X 4 I0.4 read only X 3 I0.3 read only X 2 I0.2 read only X 1 I0.1 read only X 0 I0.0 read only X 7.5.2 Register 1 - Polarity inversion register This register allows the user to invert the polarity of the Input port register data. If a bit in this register is set (written with `1'), the corresponding Input port data is inverted. If a bit in this register is cleared (written with a `0'), the Input port data polarity is retained. Table 6. Register 1 - Polarity inversion register (address 01h) bit description Legend: * default value. PCA9574 Product data sheet Bit Symbol Access Value Description 7 N0.7 R/W 0* inverts polarity of Input port register data 6 N0.6 R/W 0* 0 = Input port register data retained (default value) 5 N0.5 R/W 0* 1 = Input port register data inverted 4 N0.4 R/W 0* 3 N0.3 R/W 0* 2 N0.2 R/W 0* 1 N0.1 R/W 0* 0 N0.0 R/W 0* All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 8 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 7.5.3 Register 2 - Bus-hold/pull-up/pull-down enable register Bit 0 of this register allows the user to enable/disable the bus-hold feature for the I/O pins. Setting the bit 0 to logic 1 enables bus-hold feature for the I/O bank. In this mode, the pull-up/pull-downs will be disabled. Setting the bit 0 to logic 0 disables bus-hold feature. Bit 1 of this register allows the user to enable/disable pull-up/pull-downs on the I/O pins. Setting the bit 1 to logic 1 enables selection of pull-up/pull-down using Register 3. Setting the bit 1 to logic 0 disables pull-up/pull-downs on the I/O pins and contents of Register 3 will have no effect on the I/O. Table 7. Register 2 - Bus-hold/pull-up/pull-down enable register (address 02h) bit description Legend: * default value. Bit Symbol Access Value Description 7 E0.7 6 E0.6 R/W X not used R/W X 5 E0.5 R/W X 4 E0.4 R/W X 3 E0.3 R/W X 2 E0.2 R/W X 1 E0.1 R/W 0* allows the user to enable/disable pull-up/pull-downs on the I/O pins 0 = disables pull-up/pull-downs on the I/O pins and contents of Register 3 will have no effect on the I/O (default value) 1 = enables selection of pull-up/pull-down using Register 3 0 E0.0 R/W 0* allows user to enable/disable the bus-hold feature for the I/O pins 0 = disables bus-hold feature (default value) 1 = enables bus-hold feature PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 9 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 7.5.4 Register 3 - Pull-up/pull-down selector register When bus-hold feature is not selected and bit 1 of Register 2 is set to logic 1, the I/O port can be configured to have pull-up or pull-down by programming the pull-up/pull-down register. Setting a bit to logic 1 will select a 100 k pull-up resistor for that I/O pin. Setting a bit to logic 0 will select a 100 k pull-down resistor for that I/O pin. If the bus-hold feature is enabled, writing to this register will have no effect on pull-up/pull-down selection. Table 8. Register 3 - Pull-up/pull-down selector register (address 03h) bit description Legend: * default value. Bit Symbol Access Value Description 7 P0.7 6 P0.6 R/W 1* R/W 1* P0.5 R/W 1* configures I/O port pin to have pull-up or pull-down when bus-hold feature not selected and bit 1 of Register 2 is logic 1 5 4 P0.4 R/W 1* 3 P0.3 R/W 1* 2 P0.2 R/W 1* 1 P0.1 R/W 1* 0 P0.0 R/W 1* 0 = selects a 100 k pull-down resistor for that I/O pin 1 = selects a 100 k pull-up resistor for that I/O pin (default value) 7.5.5 Register 4 - Configuration register This register configures the direction of the I/O pins. If a bit in this register is set (written with logic 1), the corresponding port pin is enabled as an input with high-impedance output driver. If a bit in this register is cleared (written with logic 0), the corresponding port pin is enabled as an output. At reset, the device's ports are inputs. Table 9. Register 4 - Configuration register (address 04h) bit description Legend: * default value. PCA9574 Product data sheet Bit Symbol Access Value Description 7 C0.7 R/W 1* configures the direction of the I/O pins 6 C0.6 R/W 1* 0 = corresponding port pin enabled as an output 5 C0.5 R/W 1* 4 C0.4 R/W 1* 1 = corresponding port pin configured as input (default value) 3 C0.3 R/W 1* 2 C0.2 R/W 1* 1 C0.1 R/W 1* 0 C0.0 R/W 1* All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 10 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 7.5.6 Register 5 - Output port register This register is an output-only port. It reflects the outgoing logic levels of the pins defined as outputs by Register 4. Bit values in this register have no effect on pins defined as inputs. In turn, reads from this register reflect the value that is in the flip-flop controlling the output selection, not the actual pin value. Table 10. Register 5 - Output port register (address 05h) bit description Legend: * default value. Bit Symbol Access Value Description 7 O0.7 R/W 0* 6 O0.6 R/W 0* reflects outgoing logic levels of pins defined as outputs by Register 4 5 O0.5 R/W 0* 4 O0.4 R/W 0* 3 O0.3 R/W 0* 2 O0.2 R/W 0* 1 O0.1 R/W 0* 0 O0.0 R/W 0* 7.5.7 Register 6 - Interrupt mask register All the bits of Interrupt mask register are set to logic 1 upon power-on or software reset, thus disabling interrupts. Interrupts may be enabled by setting corresponding mask bits to logic 0. Table 11. Register 6 - Interrupt mask register (address 06h) bit description Legend: * default value. PCA9574 Product data sheet Bit Symbol Access Value Description 7 M0.7 R/W 1* enable or disable interrupts 6 M0.6 R/W 1* 0 = enable interrupt 5 M0.5 R/W 1* 1 = disable interrupt (default value) 4 M0.4 R/W 1* 3 M0.3 R/W 1* 2 M0.2 R/W 1* 1 M0.1 R/W 1* 0 M0.0 R/W 1* All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 11 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 7.5.8 Register 7 - Interrupt status register This register is read-only. It is used to identify the source of interrupt. Remark: If the interrupts are masked, this register will return all zeros. Table 12. Register 7 - Interrupt status register (address 07h) bit description Legend: * default value. Bit Symbol Access Value Description 7 S0.7 read only 0* identifies source of interrupt 6 S0.6 read only 0* 5 S0.5 read only 0* 4 S0.4 read only 0* 3 S0.3 read only 0* 2 S0.2 read only 0* 1 S0.1 read only 0* 0 S0.0 read only 0* 7.6 Power-on reset When power is applied to VDD, an internal Power-On Reset (POR) holds the PCA9574 in a reset condition until VDD has reached VPOR. At that point, the reset condition is released and the PCA9574 registers and state machine will initialize to their default states. The power-on reset typically completes the reset and enables the part by the time the power supply is above VPOR. However, when it is required to reset the part by lowering the power supply, it is necessary to lower it below 0.2 V. 7.7 RESET input A reset can be accomplished by holding the RESET pin LOW for a minimum of tw(rst). The PCA9574 registers and I2C-bus state machine will be held in their default state until the RESET input is once again HIGH. 7.8 Software reset The Software Reset Call allows all the devices in the I2C-bus to be reset to the power-up state value through a specific formatted I2C-bus command. To be performed correctly, it implies that the I2C-bus is functional and that there is no device hanging the bus. The Software Reset sequence is defined as following: 1. A START command is sent by the I2C-bus master. 2. The reserved General Call I2C-bus address `0000 000' with the R/W bit set to 0 (write) is sent by the I2C-bus master. 3. The PCA9574 device(s) acknowledge(s) after seeing the General Call address `0000 0000' (00h) only. If the R/W bit is set to logic 1 (read), no acknowledge is returned to the I2C-bus master. 4. Once the General Call address has been sent and acknowledged, the master sends 1 byte. The value of the byte must be equal to 06h.The PCA9574 acknowledges this value only. If the byte is not equal to 06h, the PCA9574 does not acknowledge it. If more than 1 byte of data is sent, the PCA9574 does not acknowledge anymore. PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 12 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 5. Once the right byte has been sent and correctly acknowledged, the master sends a STOP command to end the Software Reset sequence: the PCA9574 then resets to the default value (power-up value) and is ready to be addressed again within the specified bus free time. If the master sends a Repeated START instead, no reset is performed. The I2C-bus master must interpret a non-acknowledge from the PCA9574 (at any time) as a `Software Reset Abort'. The PCA9574 does not initiate a software reset. 7.9 Interrupt output (INT) The open-drain active LOW interrupt is activated when one of the port pins changes state and the port pin is configured as an input and the interrupt on it is not masked. The interrupt is deactivated when the port pin input returns to its previous state or the Input Port register is read. It is highly recommended to program the MSK register, and the CFG registers during the initialization sequence after power-up, since any change to them during Normal mode operation may cause undesirable interrupt events to happen. Remark: Changing an I/O from an output to an input may cause a false interrupt to occur if the state of the pin does not match the contents of the Input port register. Only a read of the Input port register that contains the bit(s) image of the input(s) that generated the interrupt clears the interrupt condition. 7.10 Standby The PCA9574 goes into standby when the I2C-bus is idle. Standby supply current is lower than 1.0 A (typical). PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 13 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 8. Characteristics of the I2C-bus The I2C-bus is for 2-way, 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. 8.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 Figure 8). SDA SCL data line stable; data valid Fig 8. change of data allowed mba607 Bit transfer 8.1.1 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 Figure 9). SDA SCL S P START condition STOP condition mba608 Fig 9. Definition of START and STOP conditions 8.2 System configuration A device generating a message is a `transmitter'; a device receiving 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 Figure 10). PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 14 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO SDA SCL MASTER TRANSMITTER/ RECEIVER SLAVE RECEIVER SLAVE TRANSMITTER/ RECEIVER MASTER TRANSMITTER MASTER TRANSMITTER/ RECEIVER I2C-BUS MULTIPLEXER SLAVE 002aaa966 Fig 10. System configuration 8.3 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 acknowledge bit is a HIGH level put on the bus by the transmitter, whereas the master generates an extra acknowledge related clock pulse. 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 time and hold time must be taken into account. A master receiver must signal an end of data to the transmitter by not generating an acknowledge on the last byte that has been clocked out of the slave. In this event, the transmitter must leave the data line HIGH to enable the master to generate a STOP condition. data output by transmitter not acknowledge data output by receiver acknowledge SCL from master 1 2 S START condition 8 9 clock pulse for acknowledgement 002aaa987 Fig 11. Acknowledgement on the I2C-bus PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 15 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 9. Bus transactions Data is transmitted to the PCA9574 registers using `Write Byte' transfers (see Figure 12 and Figure 13). Data is read from the PCA9574 registers using `Read Byte' transfers (see Figure 14 and Figure 15). SCL 1 2 3 4 5 6 7 8 9 slave address SDA S 0 1 0 0 0 0 A0 0 START condition R/W A 0 0 0 0 0 1 STOP condition data to port command byte 0 1 acknowledge from slave A DATA 1 A P acknowledge from slave acknowledge from slave write to port tv(Q) data out from port DATA 1 VALID 002aad057 Fig 12. Write to Output port register SCL 1 2 3 4 5 6 7 8 9 slave address SDA S 0 1 0 0 START condition 0 0 A0 0 R/W A 0 0 0 acknowledge from slave 0 0 X STOP condition data to register command byte X X A acknowledge from slave DATA A P acknowledge from slave data to register 002aad058 Fig 13. Write to Polarity inversion, Bus-hold enable, Pull-up/pull-down selector, Configuration, Interrupt mask and Interrupt status registers PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 16 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO slave address SDA S 0 1 0 0 0 0 A0 0 START condition A R/W acknowledge from slave acknowledge from slave data from register slave address (cont.) S 0 1 0 0 0 0 A0 1 (repeated) START condition (cont.) A command byte A data from register R/W DATA (last byte) A DATA (first byte) acknowledge from master acknowledge from slave NA P STOP condition no acknowledge from master at this moment master-transmitter becomes master-receiver and slave-receiver becomes slave-transmitter 002aad059 Fig 14. Read from register DATA 2 data into port DATA 3 th(D) DATA 4 tsu(D) INT tv(INT) SCL 1 trst(INT) 2 3 4 5 6 7 8 9 slave address SDA S 0 1 0 0 START condition 0 data from port 0 A0 1 R/W DATA 1 A acknowledge from slave data from port A acknowledge from master DATA 4 no acknowledge from master 1 P STOP condition read from port 002aad060 This figure assumes the command byte has previously been programmed with 00h. Transfer of data can be stopped at any moment by a STOP condition. Fig 15. Read Input port register PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 17 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 10. Application design-in information VDD(IO) = 3.6 V VDD = 1.1 V to 3.6 V 1.6 k 1.6 k 1.1 k 2 k VDD VDD MASTER CONTROLLER SUBSYSTEM 4 (e.g., RF module) VDD(IO) CTRL PCA9574 SCL SCL P0 SUBSYSTEM 1 (e.g., temp. sensor) SDA SDA P1 INT INT INT P2 RESET P3 RESET RESET SUBSYSTEM 2 (e.g., counter) P4 VSS P5 A P6 A0 P7 controlled switch (e.g., CBT device) enable VSS B ALARM SUBSYSTEM 3 (e.g., alarm system) VDD(IO) 002aad061 Device address configured as 0100 0000b for this example. P0, P2, P3 configured as outputs. P1, P4, P5 configured as inputs. P6, P7 are not used and must be configured as outputs. Fig 16. Typical application 11. Limiting values Table 13. Limiting values In accordance with the Absolute Maximum Rating System (IEC 60134). PCA9574 Product data sheet Symbol Parameter VDD Conditions Min Max Unit supply voltage -0.5 +4.0 V VDD(IO) input/output supply voltage VSS - 0.5 VDD + 0.5 V II/O input/output current - 5 mA II input current - 20 mA IDD supply current - 90 mA ISS ground supply current - 90 mA Ptot total power dissipation - 75 mW Tstg storage temperature -65 +150 C Tamb ambient temperature -40 +85 C All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 18 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 12. Static characteristics Table 14. Static characteristics VDD = 1.1 V to 3.6 V; VDD(IO) = 1.1 V to 3.6 V; VSS = 0 V; Tamb = -40 C to +85 C; unless otherwise specified. Symbol Parameter Conditions Min Typ Max Unit Supplies VDD supply voltage 1.1 - 3.6 V VDD(IO) input/output supply voltage 1.1 - VDD + 0.5 V IDD supply current operating mode; VDD = 3.6 V; no load; fSCL = 100 kHz; I/O = inputs - 135 200 A IstbL LOW-level standby current Standby mode; VDD = 3.6 V; no load; VI = VSS; fSCL = 0 kHz; I/O = inputs - 0.25 1 A IstbH HIGH-level standby current Standby mode; VDD = 3.6 V; no load; VI = VDD; fSCL = 0 kHz; I/O = inputs - 0.25 1 A VPOR power-on reset voltage - 0.8 1.0 V no load; VI = VDD or VSS (rising VDD) Input SCL; input/output SDA VIL LOW-level input voltage -0.5 - +0.3VDD V VIH HIGH-level input voltage 0.7VDD - 3.6 V IOL LOW-level output current VOL = 0.2 V; VDD = 1.1 V 1 - - mA VOL = 0.4 V; VDD = 2.3 V 3 - - mA IL leakage current VI = VDD or VSS -1 - +1 A Ci input capacitance VI = VSS - 6 10 pF I/Os VIL LOW-level input voltage -0.5 - +0.3VDD(IO) V VIH HIGH-level input voltage 0.7VDD(IO) - 3.6 V IOH HIGH-level output current VOH = 0.9 V; VDD(IO) = 1.1 V 1 - - mA IOL LOW-level output current VOL = 0.2 V; VDD(IO) = 1.1 V 1 - - mA VOL = 0.5 V; VDD(IO) = 3.6 V 2 3 - mA VOH HIGH-level output voltage IOH = -1 mA; VDD(IO) = 1.1 V 0.8 - - V ILIH HIGH-level input leakage current VDD(IO) = 3.6 V; VI = VDD(IO) - - 1 A ILIL LOW-level input leakage current VDD(IO) = 3.6 V; VI = VSS - - -1 A Ci input capacitance - 3.7 5 pF Co output capacitance - 3.7 5 pF 3 - - mA Interrupt INT IOL LOW-level output current VOL = 0.4 V; VDD = 1.1 V Select input A0; RESET VIL LOW-level input voltage -0.5 - +0.3VDD V VIH HIGH-level input voltage 0.7VDD - 3.6 V ILI input leakage current -1 - +1 A PCA9574 Product data sheet VI = VDD or VSS All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 19 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 002aae765 3.0 002aae766 4.0 VOH (V) VOH (V) 3.0 2.0 2.0 1.0 1.0 0 -40 -20 0 20 40 60 80 100 Tamb (C) Fig 17. VOH at VDD = 3.3 V, VDD(IO) = 1.2 V, IOH = -1 mA PCA9574 Product data sheet 0 -40 -20 0 20 40 60 80 100 Tamb (C) Fig 18. VOH at VDD = 3.3 V, VDD(IO) = 3.3 V, IOH = -1 mA All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 20 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 13. Dynamic characteristics Table 15. Dynamic characteristics VDD = 1.1 V to 3.6 V; VDD(IO) = 1.1 V to 3.6 V; VSS = 0 V; Tamb = -40 C to +85 C; unless otherwise specified. Symbol Parameter fSCL SCL clock frequency tBUF Conditions Standard-mode I2C-bus Fast-mode I2C-bus Unit Min Max Min Max 0 100 0 400 bus free time between a STOP and START condition 4.7 - 1.3 - s tHD;STA hold time (repeated) START condition 4.0 - 0.6 - s tSU;STA set-up time for a repeated START condition 4.7 - 0.6 - s tSU;STO set-up time for STOP condition 4.0 - 0.6 - s 0.3 3.45 0.1 0.9 s 0 - 0 - ns 300 - 50 - ns ns [1] kHz tVD;ACK data valid acknowledge time tHD;DAT data hold time tVD;DAT data valid time tSU;DAT data set-up time 250 - 100 - tLOW LOW period of the SCL clock 4.7 - 1.3 - s tHIGH HIGH period of the SCL clock 4.0 - 0.6 - s tf fall time of both SDA and SCL signals - 300 20 + 0.1Cb[3] 300 ns [3] 300 ns [2] tr rise time of both SDA and SCL signals - 1000 tSP pulse width of spikes that must be suppressed by the input filter - 50 - 50 ns 20 + 0.1Cb Port timing tv(Q) data output valid time - 200 - 200 ns tsu(D) data input set-up time 150 - 150 - ns th(D) data input hold time 1 - 1 - s Interrupt timing tv(INT) valid time on pin INT - 4 - 4 s trst(INT) reset time on pin INT - 4 - 4 s tw(rst) reset pulse width 6 - 6 - ns trec(rst) reset recovery time 0 - 0 - ns trst(SDA) SDA reset time Figure 20 - 450 - 450 ns trst(GPIO) GPIO reset time Figure 20 - 450 - 450 ns Reset [1] tVD;ACK = time for acknowledgement signal from SCL LOW to SDA (out) LOW. [2] tVD;DAT = minimum time for SDA data out to be valid following SCL LOW. [3] Cb = total capacitance of one bus line in pF. PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 21 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 0.7 x VDD SDA 0.3 x VDD tr tBUF tf tHD;STA tSP tLOW 0.7 x VDD SCL 0.3 x VDD tHD;STA P tSU;STA tHD;DAT S tHIGH tSU;DAT tSU;STO Sr P 002aaa986 Fig 19. Definition of timing ACK or read cycle START SCL SDA 30 % trst RESET 50 % 50 % 50 % trec(rst) tw(rst) trst 50 % P0 to P7 output off 002aad062 Fig 20. Reset timing PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 22 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 14. Test information VDD PULSE GENERATOR VI VO RL 500 2VDD open VSS DUT RT CL 50 pF 500 (1) 002aad582 RL = load resistance. CL = load capacitance includes jig and probe capacitance. RT = termination resistance should be equal to the output impedance Zo of the pulse generators. (1) For SDA, no 500 pull-down. Fig 21. Test circuitry for switching times PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 23 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 15. Package outline TSSOP16: plastic thin shrink small outline package; 16 leads; body width 4.4 mm SOT403-1 E D A X c y HE v M A Z 9 16 Q (A 3) A2 A A1 pin 1 index Lp L 1 8 e detail X w M bp 0 2.5 5 mm scale DIMENSIONS (mm are the original dimensions) UNIT A max. A1 A2 A3 bp c D (1) E (2) e HE L Lp Q v w y Z (1) mm 1.1 0.15 0.05 0.95 0.80 0.25 0.30 0.19 0.2 0.1 5.1 4.9 4.5 4.3 0.65 6.6 6.2 1 0.75 0.50 0.4 0.3 0.2 0.13 0.1 0.40 0.06 8o o 0 Notes 1. Plastic or metal protrusions of 0.15 mm maximum per side are not included. 2. Plastic interlead protrusions of 0.25 mm maximum per side are not included. OUTLINE VERSION SOT403-1 REFERENCES IEC JEDEC JEITA EUROPEAN PROJECTION ISSUE DATE 99-12-27 03-02-18 MO-153 Fig 22. Package outline SOT403-1 (TSSOP16) PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 24 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO HVQFN16: plastic thermal enhanced very thin quad flat package; no leads; 16 terminals; body 3 x 3 x 0.85 mm A B D SOT758-1 terminal 1 index area A E A1 c detail X e1 C 1/2 e e 5 y y1 C v M C A B w M C b 8 L 4 9 e e2 Eh 1/2 e 12 1 16 terminal 1 index area 13 Dh X 0 2.5 5 mm scale DIMENSIONS (mm are the original dimensions) UNIT A(1) max. A1 b c D (1) Dh E (1) Eh e e1 e2 L v w y y1 mm 1 0.05 0.00 0.30 0.18 0.2 3.1 2.9 1.75 1.45 3.1 2.9 1.75 1.45 0.5 1.5 1.5 0.5 0.3 0.1 0.05 0.05 0.1 Note 1. Plastic or metal protrusions of 0.075 mm maximum per side are not included. REFERENCES OUTLINE VERSION IEC JEDEC JEITA SOT758-1 --- MO-220 --- EUROPEAN PROJECTION ISSUE DATE 02-03-25 02-10-21 Fig 23. Package outline SOT758-1 (HVQFN16) PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 25 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO XQFN16: plastic, extremely thin quad flat package; no leads; 16 terminals; body 1.80 x 2.60 x 0.50 mm SOT1161-1 X A B D terminal 1 index area A E A1 A3 detail X e1 e 5 8 C C A B C v w b y1 C y L 4 9 e e2 1 12 terminal 1 index area 16 L1 13 0 1 scale Dimensions Unit(1) mm max nom min 2 mm A A1 0.5 0.05 A3 b 0.25 0.127 0.20 0.15 0.00 D E 1.9 1.8 1.7 2.7 2.6 2.5 e e1 0.4 1.2 L e2 1.2 L1 0.45 0.55 0.40 0.50 0.35 0.45 v 0.1 w y y1 0.05 0.05 0.05 Note 1. Plastic or metal protrusions of 0.075 mm maximum per side are not included. References Outline version IEC JEDEC JEITA SOT1161-1 --- --- --- sot1161-1_po European projection Issue date 09-12-28 09-12-29 Fig 24. Package outline SOT1161-1 (XQFN16) PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 26 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 16. Handling information All input and output pins are protected against ElectroStatic Discharge (ESD) under normal handling. When handling ensure that the appropriate precautions are taken as described in JESD625-A or equivalent standards. 17. Soldering of SMD packages This text provides a very brief insight into a complex technology. A more in-depth account of soldering ICs can be found in Application Note AN10365 "Surface mount reflow soldering description". 17.1 Introduction to soldering Soldering is one of the most common methods through which packages are attached to Printed Circuit Boards (PCBs), to form electrical circuits. The soldered joint provides both the mechanical and the electrical connection. There is no single soldering method that is ideal for all IC packages. Wave soldering is often preferred when through-hole and Surface Mount Devices (SMDs) are mixed on one printed wiring board; however, it is not suitable for fine pitch SMDs. Reflow soldering is ideal for the small pitches and high densities that come with increased miniaturization. 17.2 Wave and reflow soldering Wave soldering is a joining technology in which the joints are made by solder coming from a standing wave of liquid solder. The wave soldering process is suitable for the following: * Through-hole components * Leaded or leadless SMDs, which are glued to the surface of the printed circuit board Not all SMDs can be wave soldered. Packages with solder balls, and some leadless packages which have solder lands underneath the body, cannot be wave soldered. Also, leaded SMDs with leads having a pitch smaller than ~0.6 mm cannot be wave soldered, due to an increased probability of bridging. The reflow soldering process involves applying solder paste to a board, followed by component placement and exposure to a temperature profile. Leaded packages, packages with solder balls, and leadless packages are all reflow solderable. Key characteristics in both wave and reflow soldering are: * * * * * * Board specifications, including the board finish, solder masks and vias Package footprints, including solder thieves and orientation The moisture sensitivity level of the packages Package placement Inspection and repair Lead-free soldering versus SnPb soldering 17.3 Wave soldering Key characteristics in wave soldering are: PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 27 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO * Process issues, such as application of adhesive and flux, clinching of leads, board transport, the solder wave parameters, and the time during which components are exposed to the wave * Solder bath specifications, including temperature and impurities 17.4 Reflow soldering Key characteristics in reflow soldering are: * Lead-free versus SnPb soldering; note that a lead-free reflow process usually leads to higher minimum peak temperatures (see Figure 25) than a SnPb process, thus reducing the process window * Solder paste printing issues including smearing, release, and adjusting the process window for a mix of large and small components on one board * Reflow temperature profile; this profile includes preheat, reflow (in which the board is heated to the peak temperature) and cooling down. It is imperative that the peak temperature is high enough for the solder to make reliable solder joints (a solder paste characteristic). In addition, the peak temperature must be low enough that the packages and/or boards are not damaged. The peak temperature of the package depends on package thickness and volume and is classified in accordance with Table 16 and 17 Table 16. SnPb eutectic process (from J-STD-020C) Package thickness (mm) Package reflow temperature (C) Volume (mm3) < 350 350 < 2.5 235 220 2.5 220 220 Table 17. Lead-free process (from J-STD-020C) Package thickness (mm) Package reflow temperature (C) Volume (mm3) < 350 350 to 2000 > 2000 < 1.6 260 260 260 1.6 to 2.5 260 250 245 > 2.5 250 245 245 Moisture sensitivity precautions, as indicated on the packing, must be respected at all times. Studies have shown that small packages reach higher temperatures during reflow soldering, see Figure 25. PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 28 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO maximum peak temperature = MSL limit, damage level temperature minimum peak temperature = minimum soldering temperature peak temperature time 001aac844 MSL: Moisture Sensitivity Level Fig 25. Temperature profiles for large and small components For further information on temperature profiles, refer to Application Note AN10365 "Surface mount reflow soldering description". 18. Abbreviations Table 18. PCA9574 Product data sheet Abbreviations Acronym Description CBT Cross Bar Technology CDM Charged-Device Model CMOS Complementary Metal-Oxide Semiconductor DUT Device Under Test ESD ElectroStatic Discharge GPIO General Purpose Input/Output HBM Human Body Model I/O Input/Output I2C-bus Inter-Integrated Circuit bus IC Integrated Circuit LED Light Emitting Diode LP Low Pass PCB Printed-Circuit Board PLC Programmable Logic Controller POR Power-On Reset RAID Redundant Array of Independent Discs SMBus System Management Bus All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 29 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 19. Revision history Table 19. Revision history Document ID Release date Data sheet status Change notice Supersedes PCA9574 v.4 20120425 Product data sheet - PCA9574 v.3 Modifications: * Added new package type XQFN16 (SOT1161-1) - Section 1 "General description", fifth paragraph: inserted "XQFN16" - Section 2 "Features and benefits", last bullet item: inserted "XQFN16" - Table 1 "Ordering information": added XQFN16 package - Table 2 "Ordering options": added type number PCA9574HK - Section 6.1 "Pinning": added (new) Figure 5 "Pin configuration for XQFN16" - Table 3 "Pin description": added new column "XQFN16" - Section 15 "Package outline": added (new) Figure 24 "Package outline SOT1161-1 (XQFN16)" * Figure 19 "Definition of timing" modified: added 0.7 x VDD and 0.3 x VDD reference lines PCA9574 v.3 20110622 Product data sheet - PCA9574 v.2 PCA9574 v.2 20090727 Product data sheet - PCA9574 v.1 PCA9574 v.1 20080515 Product data sheet - - PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 30 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 20. Legal information 20.1 Data sheet status Document status[1][2] Product status[3] Definition Objective [short] data sheet Development This document contains data from the objective specification for product development. Preliminary [short] data sheet Qualification This document contains data from the preliminary specification. Product [short] data sheet Production This document contains the product specification. [1] Please consult the most recently issued document before initiating or completing a design. [2] The term `short data sheet' is explained in section "Definitions". [3] The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status information is available on the Internet at URL http://www.nxp.com. 20.2 Definitions Draft -- The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. Short data sheet -- A short data sheet is an extract from a full data sheet with the same product type number(s) and title. A short data sheet is intended for quick reference only and should not be relied upon to contain detailed and full information. For detailed and full information see the relevant full data sheet, which is available on request via the local NXP Semiconductors sales office. In case of any inconsistency or conflict with the short data sheet, the full data sheet shall prevail. Product specification -- The information and data provided in a Product data sheet shall define the specification of the product as agreed between NXP Semiconductors and its customer, unless NXP Semiconductors and customer have explicitly agreed otherwise in writing. In no event however, shall an agreement be valid in which the NXP Semiconductors product is deemed to offer functions and qualities beyond those described in the Product data sheet. 20.3 Disclaimers Limited warranty and liability -- Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. NXP Semiconductors takes no responsibility for the content in this document if provided by an information source outside of NXP Semiconductors. In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors' aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors. Right to make changes -- NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. PCA9574 Product data sheet Suitability for use -- NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors and its suppliers accept no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer's own risk. Applications -- Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product design. It is customer's sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer's applications and products planned, as well as for the planned application and use of customer's third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer's applications or products, or the application or use by customer's third party customer(s). Customer is responsible for doing all necessary testing for the customer's applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer's third party customer(s). NXP does not accept any liability in this respect. Limiting values -- Stress above one or more limiting values (as defined in the Absolute Maximum Ratings System of IEC 60134) will cause permanent damage to the device. Limiting values are stress ratings only and (proper) operation of the device at these or any other conditions above those given in the Recommended operating conditions section (if present) or the Characteristics sections of this document is not warranted. Constant or repeated exposure to limiting values will permanently and irreversibly affect the quality and reliability of the device. Terms and conditions of commercial sale -- NXP Semiconductors products are sold subject to the general terms and conditions of commercial sale, as published at http://www.nxp.com/profile/terms, unless otherwise agreed in a valid written individual agreement. In case an individual agreement is concluded only the terms and conditions of the respective agreement shall apply. NXP Semiconductors hereby expressly objects to applying the customer's general terms and conditions with regard to the purchase of NXP Semiconductors products by customer. No offer to sell or license -- Nothing in this document may be interpreted or construed as an offer to sell products that is open for acceptance or the grant, conveyance or implication of any license under any copyrights, patents or other industrial or intellectual property rights. All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 31 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO Export control -- This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities. Non-automotive qualified products -- Unless this data sheet expressly states that this specific NXP Semiconductors product is automotive qualified, the product is not suitable for automotive use. It is neither qualified nor tested in accordance with automotive testing or application requirements. NXP Semiconductors accepts no liability for inclusion and/or use of non-automotive qualified products in automotive equipment or applications. In the event that customer uses the product for design-in and use in automotive applications to automotive specifications and standards, customer (a) shall use the product without NXP Semiconductors' warranty of the product for such automotive applications, use and specifications, and (b) whenever customer uses the product for automotive applications beyond NXP Semiconductors' specifications such use shall be solely at customer's own risk, and (c) customer fully indemnifies NXP Semiconductors for any liability, damages or failed product claims resulting from customer design and use of the product for automotive applications beyond NXP Semiconductors' standard warranty and NXP Semiconductors' product specifications. Translations -- A non-English (translated) version of a document is for reference only. The English version shall prevail in case of any discrepancy between the translated and English versions. 20.4 Trademarks Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners. I2C-bus -- logo is a trademark of NXP B.V. 21. Contact information For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com PCA9574 Product data sheet All information provided in this document is subject to legal disclaimers. Rev. 4 -- 25 April 2012 (c) NXP B.V. 2012. All rights reserved. 32 of 33 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low volage GPIO 22. Contents 1 2 3 4 4.1 5 6 6.1 6.2 7 7.1 7.2 7.3 7.4 7.5 7.5.1 7.5.2 7.5.3 7.5.4 7.5.5 7.5.6 7.5.7 7.5.8 7.6 7.7 7.8 7.9 7.10 8 8.1 8.1.1 8.2 8.3 9 10 11 12 13 14 15 16 17 17.1 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features and benefits . . . . . . . . . . . . . . . . . . . . 2 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Ordering information . . . . . . . . . . . . . . . . . . . . . 3 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 3 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Pinning information . . . . . . . . . . . . . . . . . . . . . . 5 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 6 Functional description . . . . . . . . . . . . . . . . . . . 6 Device address . . . . . . . . . . . . . . . . . . . . . . . . . 6 Command register . . . . . . . . . . . . . . . . . . . . . . 7 Register definitions . . . . . . . . . . . . . . . . . . . . . . 7 Writing to port registers. . . . . . . . . . . . . . . . . . . 7 Reading the port registers . . . . . . . . . . . . . . . . 8 Register 0 - Input port register . . . . . . . . . . . . . 8 Register 1 - Polarity inversion register . . . . . . . 8 Register 2 - Bus-hold/pull-up/pull-down enable register . . . . . . . . . . . . . . . . . . . . . . . . . 9 Register 3 - Pull-up/pull-down selector register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Register 4 - Configuration register . . . . . . . . . 10 Register 5 - Output port register . . . . . . . . . . . 11 Register 6 - Interrupt mask register . . . . . . . . 11 Register 7 - Interrupt status register . . . . . . . . 12 Power-on reset . . . . . . . . . . . . . . . . . . . . . . . . 12 RESET input . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Software reset. . . . . . . . . . . . . . . . . . . . . . . . . 12 Interrupt output (INT) . . . . . . . . . . . . . . . . . . . 13 Standby. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Characteristics of the I2C-bus . . . . . . . . . . . . 14 Bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 START and STOP conditions . . . . . . . . . . . . . 14 System configuration . . . . . . . . . . . . . . . . . . . 14 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 15 Bus transactions . . . . . . . . . . . . . . . . . . . . . . . 16 Application design-in information . . . . . . . . . 18 Limiting values. . . . . . . . . . . . . . . . . . . . . . . . . 18 Static characteristics. . . . . . . . . . . . . . . . . . . . 19 Dynamic characteristics . . . . . . . . . . . . . . . . . 21 Test information . . . . . . . . . . . . . . . . . . . . . . . . 23 Package outline . . . . . . . . . . . . . . . . . . . . . . . . 24 Handling information. . . . . . . . . . . . . . . . . . . . 27 Soldering of SMD packages . . . . . . . . . . . . . . 27 Introduction to soldering . . . . . . . . . . . . . . . . . 27 17.2 17.3 17.4 18 19 20 20.1 20.2 20.3 20.4 21 22 Wave and reflow soldering. . . . . . . . . . . . . . . Wave soldering . . . . . . . . . . . . . . . . . . . . . . . Reflow soldering . . . . . . . . . . . . . . . . . . . . . . Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . Legal information . . . . . . . . . . . . . . . . . . . . . . Data sheet status . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . Contact information . . . . . . . . . . . . . . . . . . . . Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 27 28 29 30 31 31 31 31 32 32 33 Please be aware that important notices concerning this document and the product(s) described herein, have been included in section `Legal information'. (c) NXP B.V. 2012. All rights reserved. For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com Date of release: 25 April 2012 Document identifier: PCA9574