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.

TMS320F2800157: I2C MUX

Part Number: TMS320F2800157


Tool/software:

Hi Team,

I am having 4 discrete I2C bus with data and clock for each bus. Can it be possible to connect all 8 physical lines (data & clk for each bus) to 8 GPIO pins and use internal mux like "inputXbar" to change the bus at runtime when needed?

Thanks.

Regards,

Kaustuv

  • Hi Kaustuv,

    If the 4 I2C are targets, this should work. I am assuming you are using an inputXbar as opposed to using I2C hardware itself to switch targets because all of the I2C on the device(s) are programmed the same address, correct? Ensure you are not switching targets during runtime as this will cause I2C communication errors.

    Best Regards,

    Aishwarya

  • Hi Aishwarya,

    Assuming there are four different busses and each bus can have multiple targets. Lets say Main I2C Bus for storage devices, Another for some other devices, some redundant busses etc... As there are no more than 2 I2C instances I2CA and I2CB so Can all these busses can be switched in runtime using some internal mux? 

    Best Regards,

    Kaustuv

  • Kaustuv,

    I2C can be reconfigured while it is in reset, so yes what you are saying sounds possible. An input xbar or GPIOs can be used to switch it sounds like. What is the application and goal here for switching between buses?

    Best Regards,

    Aishwarya