SCPS129K August   2005  – March 2021 PCA9535

PRODUCTION DATA  

  1. Features
  2. Description
  3. Revision History
  4. Description Continued
  5. Pin Configuration and Functions
  6. Specifications
    1. 6.1 Absolute Maximum Ratings
    2. 6.2 ESD Ratings
    3. 6.3 Recommended Operating Conditions
    4. 6.4 Thermal Resistance Characteristics
    5. 6.5 Electrical Characteristics
    6. 6.6 I2C Interface Timing Requirements
    7. 6.7 Switching Characteristics
    8. 6.8 Typical Characteristics
  7. Parameter Measurement Information
    1.     16
  8. Detailed Description
    1. 8.1 Functional Block Diagram
    2. 8.2 Device Functional Modes
      1. 8.2.1 Power-On Reset
      2. 8.2.2 I/O Port
      3. 8.2.3 Interrupt ( INT) Output
        1. 8.2.3.1 Interrupt Errata
          1.        24
          2.        25
          3.        26
    3. 8.3 Programming
      1. 8.3.1 I2C Interface
      2. 8.3.2 Register Map
        1. 8.3.2.1 Device Address
        2. 8.3.2.2 Control Register And Command Byte
        3. 8.3.2.3 Register Descriptions
        4. 8.3.2.4 Bus Transactions
          1. 8.3.2.4.1 Writes
          2. 8.3.2.4.2 Reads
  9. Application Information Disclaimer
    1. 9.1 Application Information
    2. 9.2 Typical Application
      1. 9.2.1 Design Requirements
        1. 9.2.1.1 Minimizing ICC When I/O Is Used To Control Led
  10. 10Power Supply Recommendations
    1. 10.1 Power-On Reset Requirements
  11. 11Device and Documentation Support
    1. 11.1 Receiving Notification of Documentation Updates
    2. 11.2 Support Resources
    3. 11.3 Trademarks
    4. 11.4 Electrostatic Discharge Caution
    5. 11.5 Glossary
  12. 12Mechanical, Packaging, and Orderable Information

Package Options

Mechanical Data (Package|Pins)
Thermal pad, mechanical data (Package|Pins)
Orderable Information

Control Register And Command Byte

Following the successful acknowledgment of the address byte, the bus master sends a command byte that is stored in the control register in the PCA9535. Three bits of this data byte state the operation (read or write) and the internal register (Input, Output, Polarity Inversion, or Configuration) that will be affected. This register can be written or read through the I2C bus. The command byte is sent only during a write transmission.

Once a command byte has been sent, the register that was addressed continues to be accessed by reads until a new command byte has been sent.

GUID-56B9BC93-9708-4EA0-9A5C-5C788E7354AD-low.gifFigure 8-7 Control Register Bits
Table 8-3 Control Register
CONTROL REGISTER BITSCOMMAND
BYTE (HEX)
REGISTERPROTOCOLPOWER-UP
DEFAULT
B2B1B0
0000x00Input Port 0Read bytexxxx xxxx
0010x01Input Port 1Read bytexxxx xxxx
0100x02Output Port 0Read/write byte1111 1111
0110x03Output Port 1Read/write byte1111 1111
1000x04Polarity Inversion Port 0Read/write byte0000 0000
1010x05Polarity Inversion Port 1Read/write byte0000 0000
1100x06Configuration Port 0Read/write byte1111 1111
1110x07Configuration Port 1Read/write byte1111 1111