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.

TCA9534: Implementation of I2C Driver

Part Number: TCA9534

Hello Team,

Could you please answer the question from my customer?
Please find the question below.

1: There is only one I2C source code of Ti, this one describes reading, writing an I2C EEPROM.
But I have the TI Port expander chip TCA9534 in use and I need for this a good code template, preferably without interrupt service routines.

2: The existing documentation is very narrow, in the "technical reference manual", there is not even common example as with other interfaces, for example sending / receiving are not included. So I need help on how I can realize an I2C-read with "repeated start" on different bus participants. This is the most elegant way to confirm the expander chip works.

3: My current implementation works only if disable the bus and reactivate it to read and write accesses to the TCA9534. This is possible with the help of the command "I2cRegs.I2CMDR.bit.IRS = 1/0". Is this allowed? Is there a better way?

4: Everything mentioned above should work in a multmaster system with multiple CPUs and multiple TCA9534s.

Thank you very much in advance.

Best,

Needhu