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.

TCA9545A: question about switch channel

Part Number: TCA9545A

Hi, 

There are two questions for TCA9545A 

1. how can i make sure switching channel has been done? 

2. do you have the example code for operate TCA9545A? 

Thanks for your help.

  • Hello user021864 ,

    "how can i make sure switching channel has been done?"
    -After writing to the device the channels you want to enable/disable, you need to release the I2C bus (stop condition) and then you can do a device read to see if the control register has the values you wrote into it.

    You can also do this by pulling the main channel low (either SDA or SCL) and checking the secondary channels (with a DMM or o-scope), if the secondary channels pull low then it has correctly enabled the channels. Disabled channels should remain high.

    "do you have the example code for operate TCA9545A? "
    -Unfortunately we do not have example code for our devices.

    Thanks,
    -Bobby