Hello,
I am trying to use multiple slaves on I2C0. 7-bit Address of one slave is 0x6C and other 2 is 0x64 and 0x65.
The slave with address 6C is working fine but when I try to interface 0x64 and 0x65 I am unable to make these slaves work. These two slaves are led driver (TLC59116) with 0x64 and 0x65 address, so I can not turn on the LEDs using I2C.
How can I use I2C to handle multiple I2C slaves. Please guide me on This topic.
BR,
Baseer
Hello @baseerahmadpiracha,
Have you measured the I2C bus with an oscilloscope?
The address is in the 7 MSB of the byte, you sould see 0xCA for a write.
Does the driver acknowledge the address?
BR, Daniel
Hello @danielmartynek,
I have tried both 0xCA for (0x65) and 0xC8 for (0x64) but it does not accept this address when I am using 7 bit addressing so mostly when we use 7 bit addressing read and write bit is neglected during initializing, correct me if I am wrong.
I have not yet used oscilloscope but the other slave is working fine on same pins.
I have tried every possible combination but unfortunately unsuccessful yet. Please guide if you can. Thanks.
BR,
Baseer
Hi Baseer,
The TLC59116 datasheet specifies the I2C timing in sections:
7.6 Timing Requirements
8 Parameter Measurement Information
Oscilloscope measurements are required here.
Regards,
Daniel