This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Failure reading PCA9534 inputs

Other Parts Discussed in Thread: PCA9534A

While evaluating the PCA9534A, I am able to configure its pins as outputs and output the desired logic level, but when configuring as ports as inputs, I always read 0 logic level from the inputs.

See attached Logic analyzer snapshots of the following sequences:

1. Set ports as input --> set polarity to non-inverting --> read input ports. This sequence is designated as session1.

2. Set ports as input --> set polarity to inverting --> read input ports. This sequence is designated as session2.

While recording the above sequences, several pins are held at logic 1.

 

What am I doing wrong?

PCA9534A.zip
  • Hi Nir,

    The I2C sequence that you are sending/receiving seems to be correct.  

    Have you tried the following sequence:

    Set ports as outputs -> Write a sequence containing some ones and some zeroes -> Read input register

    Do you read back the correct values in this sequence?

    Have you tried more than one sample (maybe you have a damaged unit)?

    Are you sure you have the PCA9534A (and not some other pin compatible device)?

    In your setup, how do you hold the pins at logic 1?  Can you share a schematic or diagram of the setup (supply voltage, logic 1 level, etc)?