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.

Linux/TUSB320HI: I2C SDA, CLK USING AS GPIO

Part Number: TUSB320HI

Tool/software: Linux

We would want to disable I2C adapter  at runtime, Actually we wanted to use SDA pin and CLK pin as GPIO, because some times in our device user may not use i2c and instead of that we will let them to configure as GPIO. But when I try to export this pins(SDA, CLK), PCI0, PCI1 from processor, it is always busy. So how can we configure this and I did not get enough things in document. Could you please anyone help me to solve this?

  • Hi Gopi,

    Is not possible to use SDA and SCL pins as GPIO. Basically, when the device is configured in GPIO mode, both pins are configured as output to communicate Type-C current mode according to the state machine of the TUSB320HI.

    Best Regards,
    Luis Omar Moran
    High Speed Interface
    SWAT Team