Hello,
I'm trying to interface two sensors on channel 2 and 3 of pca9545. I've grounded a0 and a1. According to sensor datasheet, i should follow this:
a) 0x14 for write
b) 0x4c command
c) Repeated start and 0x15 for starting read operation.
PCA9545A says :
a) send 11100000 for write.
b) After ack, write 0x08 to register; choosing only channel3.
c) repeated start with 11100001, should allow me to read through channel3.
am I right?
After doing (c) PCA9545 will give its register contents or channel3 data stream or what?
Now, what is the sequence of commands , i should follow to read from sensor connected on channel3? I tried a lot different sequences but i am not able to talk through this i2c switch.
Any idea?
Thank you all.