PCA9574 8-bit I2C-bus and SMBus, level translating, low voltage GPIO with reset and interrupt Rev. 02 — 27 July 2009 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 8 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 8 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 voltage GPIO The PCA9574 is available in TSSOP16, HVQFN16 and HXQFN16U packages and is specified over the −40 °C to +85 °C industrial temperature range. 2. Features n n n n n n n n n n n n n n n 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: u Totem pole: 1 mA source and 3 mA sink u Independently programmable 100 kΩ pull-up or pull-down for each I/O pin u Open-drain active LOW interrupt (INT) output pin allows monitoring of logic level change of pins programmed as inputs Inputs: u Programmable bus hold provides valid logic level when inputs are not actively driven u 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 u 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, 500 V MM per JESD22-A115, 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 HXQFN16U 3. Applications n n n n n n n n n n Cell phones Media players Multi voltage environments Battery operated mobile gadgets Motherboards Servers RAID systems Industrial control Medical equipment PLCs PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 2 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage GPIO n Gaming machines n 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 × 3 × 0.85 mm PCA9574HR HXQFN16U plastic thermal enhanced extremely thin quad flat package; no leads; 16 terminals; UTLP based; body 2 × 2 × 0.5 mm SOT1046-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 PCA9574HR 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. Block diagram of PCA9574 PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 3 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 4 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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) 002aad053 Transparent top view Pin configuration for TSSOP16 Fig 4. Pin configuration for HVQFN16 RESET A0 INT VDD 15 14 13 PCA9574HR 16 terminal 1 index area 5 9 P3 12 P6 002aad052 12 SDA P7 P2 3 9 P6 P3 4 8 10 P5 2 7 P1 P4 SCL 6 11 VDD(IO) 1 5 P0 VSS Fig 3. 14 VDD RESET INT PCA9574PW 16 A0 terminal 1 index area 15 INT PCA9574BS 002aad876 Transparent top view Fig 5. Pin configuration for HXQFN16U PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 5 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage GPIO 6.2 Pin description Table 3. Pin description Symbol Pin Type Description TSSOP16 HVQFN16 HXQFN16U INT 1 15 14 O active LOW interrupt output; active LOW SMBus alert output A0 2 16 15 I address input RESET 3 1 16 I active LOW reset input P0 4 2 1 I/O input/output 0 P1 5 3 2 I/O input/output 1 P2 6 4 3 I/O input/output 2 P3 7 5 4 I/O input/output 3 8 6[1] 5[1] ground supply ground VSS VDD(IO) 9 7 6 power supply I/O bank supply voltage P4 10 8 7 I/O input/output 4 P5 11 9 8 I/O input/output 5 P6 12 10 9 I/O input/output 6 P7 13 11 10 I/O input/output 7 SCL 14 12 11 I serial clock line SDA 15 13 12 I/O serial data line VDD 16 14 13 power supply supply voltage [1] HVQFN16, HXQFN16U 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 6 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 3 bits are used as a pointer to determine which register will be accessed. Only a command register code with the 3 least significant bits equal to the 8 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 3 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 8 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 3 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 7 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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. 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* PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 8 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 R/W X not used 6 E0.6 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 9 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 R/W 1* 6 P0.6 R/W 1* 5 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 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. 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* PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 10 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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. 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* PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 11 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 12 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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). 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. mba607 Bit transfer PCA9574_2 Product data sheet change of data allowed © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 13 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage GPIO 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). SDA SCL MASTER TRANSMITTER/ RECEIVER SLAVE RECEIVER SLAVE TRANSMITTER/ RECEIVER MASTER TRANSMITTER MASTER TRANSMITTER/ RECEIVER I2C-BUS MULTIPLEXER SLAVE 002aaa966 Fig 10. System configuration PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 14 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage GPIO 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 S START condition 2 8 9 clock pulse for acknowledgement 002aaa987 Fig 11. Acknowledgement on the I2C-bus PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 15 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 command byte 0 A0 0 R/W A 0 0 0 acknowledge from slave 0 0 X STOP condition data to register 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 16 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage GPIO slave address SDA S 0 1 0 0 0 0 A0 0 START condition A acknowledge from slave R/W 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 data from register DATA (first byte) A R/W DATA (last byte) A 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 A DATA 1 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 17 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 P7 A0 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). 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 PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 18 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 VI = VDD or VSS PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 19 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 100 Tamb (°C) 80 Fig 17. VOH at VDD = 3.3 V, VDD(IO) = 1.2 V, IOH = −1 mA 0 −40 0 20 40 60 100 80 Tamb (°C) Fig 18. VOH at VDD = 3.3 V, VDD(IO) = 3.3 V, IOH = −1 mA PCA9574_2 Product data sheet −20 © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 20 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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. Parameter fSCL SCL clock frequency tBUF bus free time between a STOP and START condition 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 tVD;ACK data valid acknowledge time tHD;DAT data hold time Conditions Standard-mode I2C-bus Fast-mode I2C-bus Symbol [1] [2] Min Max Min Max 0 100 0 400 4.7 - 1.3 - Unit kHz µs tVD;DAT data valid time tSU;DAT data set-up time 250 - 100 - ns tLOW LOW period of the SCL clock 4.7 - 1.3 - µs tHIGH HIGH period of the SCL clock 4.0 - 0.6 - µs 20 + 0.1Cb [3] 300 ns 20 + 0.1Cb [3] 300 ns fall time of both SDA and SCL signals tf - 300 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 200 - 200 ns Port timing tv(Q) data output valid time - 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 21 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage GPIO SDA tr tBUF tf tHD;STA tSP tLOW SCL 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 22 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 23 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 8 o 0 o 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 24 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 mm A(1) max. A1 b 1 0.05 0.00 0.30 0.18 c D (1) Dh E (1) Eh 0.2 3.1 2.9 1.75 1.45 3.1 2.9 1.75 1.45 e e1 1.5 0.5 e2 L v w y y1 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 25 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage GPIO HXQFN16U: plastic thermal enhanced extremely thin quad flat package; no leads; 16 terminals; UTLP based; body 2 x 2 x 0.5 mm B D SOT1046-1 A terminal 1 index area A E A1 detail X e1 v w b C A B C M M C y1 C e L1 4 5 7 y 8 L 3 9 e e2 Eh 1 11 terminal 1 index area LC 16 15 13 12 Dh X LC 0 1 2 mm scale DIMENSIONS (mm are the original dimensions) UNIT A max A1 b D Dh E Eh e e1 e2 L L1 LC v w y y1 mm 0.5 0.05 0.00 0.25 0.15 2.1 1.9 1.1 0.9 2.1 1.9 1.1 0.9 0.4 0.8 0.8 0.3 0.2 0.1 0.0 0.3 0.2 0.1 0.05 0.05 0.1 REFERENCES OUTLINE VERSION IEC SOT1046-1 --- JEDEC JEITA --- EUROPEAN PROJECTION ISSUE DATE 07-11-14 07-12-01 Fig 24. Package outline SOT1046-1 (HXQFN16U) PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 26 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 27 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 28 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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. 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 MM Machine Model PCB Printed-Circuit Board PLC Programmable Logic Controller POR Power-On Reset RAID Redundant Array of Independent Discs SMBus System Management Bus PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 29 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage GPIO 19. Revision history Table 19. Revision history Document ID Release date Data sheet status Change notice Supersedes PCA9574_2 20090727 Product data sheet - PCA9574_1 Modifications: • • Added HXQFN16U package option (type number PCA9574HR; SOT1046-1) Section 2 “Features”: – 4th bullet item: deleted phrase “and 3.6 V tolerant” – 7th bullet item: 1st sub-bullet changed from “Programmable totem-pole or open-drain” to “Totem pole: 1 mA source and 3 mA sink” • • • • Section 7.2 “Command register”: added (new) 3rd and 4th paragraphs Figure 12 “Write to Output port register”: changed command byte bit 2 from “0” to “1” Figure 13 “Write to Polarity inversion, Bus-hold enable, Pull-up/pull-down selector, Configuration, Interrupt mask and Interrupt status registers”: changed command byte bits [2:0] from “0 1 1/0” to “X X X” Figure 14 “Read from register”: – changed symbol from “tv(INT_N)” to “tv(INT)” – changed symbol from “trst(INT_N)” to “trst(INT)” • • • • • Table 13 “Limiting values”: changed VDD(IO) Max value from “+4.0 V” to “VDD + 0.5 V” Table 14 “Static characteristics”: changed VDD(IO) Max value from “3.6 V” to “VDD + 0.5 V” Added (new) Figure 17 “VOH at VDD = 3.3 V, VDD(IO) = 1.2 V, IOH = -1 mA” Added (new) Figure 18 “VOH at VDD = 3.3 V, VDD(IO) = 3.3 V, IOH = -1 mA” Table 15 “Dynamic characteristics”, sub-section “Interrupt timing”: – changed symbol from “tv(INT_N)” to “tv(INT)” – changed symbol from “trst(INT_N)” to “trst(INT)” PCA9574_1 20080515 Product data sheet PCA9574_2 Product data sheet - - © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 30 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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. 20.3 Disclaimers General — 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. 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. Suitability for use — NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in medical, military, aircraft, space or life support 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 accepts 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. Limiting values — Stress above one or more limiting values (as defined in the Absolute Maximum Ratings System of IEC 60134) may cause permanent damage to the device. Limiting values are stress ratings only and operation of the device at these or any other conditions above those given in the Characteristics sections of this document is not implied. Exposure to limiting values for extended periods may affect device reliability. Terms and conditions of 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, including those pertaining to warranty, intellectual property rights infringement and limitation of liability, unless explicitly otherwise agreed to in writing by NXP Semiconductors. In case of any inconsistency or conflict between information in this document and such terms and conditions, the latter will prevail. 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. 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 national authorities. 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: [email protected] PCA9574_2 Product data sheet © NXP B.V. 2009. All rights reserved. Rev. 02 — 27 July 2009 31 of 32 PCA9574 NXP Semiconductors 8-bit I2C-bus and SMBus, level translating, low voltage 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 17.2 General description . . . . . . . . . . . . . . . . . . . . . . 1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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. . . . . . . . . . . . . 13 Bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 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 Wave and reflow soldering . . . . . . . . . . . . . . . 27 17.3 17.4 18 19 20 20.1 20.2 20.3 20.4 21 22 Wave soldering. . . . . . . . . . . . . . . . . . . . . . . . Reflow soldering. . . . . . . . . . . . . . . . . . . . . . . Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . Revision history . . . . . . . . . . . . . . . . . . . . . . . Legal information . . . . . . . . . . . . . . . . . . . . . . Data sheet status . . . . . . . . . . . . . . . . . . . . . . Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . Contact information . . . . . . . . . . . . . . . . . . . . Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 28 29 30 31 31 31 31 31 31 32 Please be aware that important notices concerning this document and the product(s) described herein, have been included in section ‘Legal information’. © NXP B.V. 2009. All rights reserved. For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] Date of release: 27 July 2009 Document identifier: PCA9574_2