Other Parts Discussed in Thread: ISO1540
Hi All,
I am trying to talk to the TCA9543A I2C switch but having problems switching channels.
I have my micro up and running and the SCL line is running at 100kHz. I can put a scope onto SDA and SCL lines going into the TCA9543A and SDA and SCL signals are going in, but no data or clock come out of this chip on either channel 0 or channel 1.
The chip is configured so A0 and A1 are pulled to ground. The Reset pin is pulled high. Below is a snap shot of the commands i am sending the TCA9543A but nothing seems to make it switch. Can somebody confirm i and sending the correct commands, or offer advice on what mistakes i am making.
I am guessing with the below commands sent to the TCA9543A i should get SCL output on channel 0?
StartI2C(); // Send START condition IdleI2C(); // Wait for the end of the START condition WriteI2C(0x70 & 0xFE); // TCA9543A Slave address AckI2C(); // Wait for ACK WriteI2C(0x01); // Control register B0 AckI2C(); // Wait for ACK StopI2C(); // Hang up, send STOP condition
Look forward to your input.
Thanks,
Rocketman46