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.

TCA9546A timeout error

Other Parts Discussed in Thread: TCA9546A, PCA9546A

Hi All.

We are using DM8148 custom board, we have a TCA9546A I2C switch connected on port 1 (counting from 0). The switch is connected to I2C1 SCA/SCL in the processor, and have the I2C control lines of 2 SFP cages connected to to SD0/SC0 and SD1/SC1. 
The setup is working good unless a quick insertion and connection to the other port is made, so basically i have normal web connection for example on port 1, if i then quickly take out the cable and plug to port 2, i get a repeating message of:

[  188.606699] omap_i2c omap_i2c.2: controller timed out

And no web connection anymore.

The SFP Multi-Source agreement (ftp://ftp.seagate.com/sff/INF-8074.PDF) states on page 31, that the maximum speed over the serial control lines should not exceed 100Khz. The TCA9546A switch states in the data sheet that it can work in standard mode of 100Khz. The DM8148 datasheet says it supports Standard mode of max 100khz on the i2c bus. I am correctly initializing the bus to 100khz in the board file using:

omap_register_i2c_bus(2, 100, ti814x_i2c1_boardinfo, ARRAY_SIZE(ti814x_i2c2_boardinfo));

One last thing. The driver that is being recognized for the tca9546A is PCA954x, which creates dummy adapters 5,6,7,8 through which i read the eeprom (and phy) of the connector in the SFP port.

Where should i start looking at? Is this driver related problem? or hardware/timings?

Kind Regards :)