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.

TPS65987DDK: Is it possible to disable "recovery" function of TPS65987DDK

Part Number: TPS65987DDK
Other Parts Discussed in Thread: TPS65987

Tool/software:

Hello,

Let me confirm about below.

* I know this device have kind of "recovery time" setting.
For example, if device detect over current, then device will disable internal power path. However, after spending "recovery time" setting, internal power path will be re-enabled.
However, when over current is detected, if customer would like to disable internal power path permanently, is there any setting to disable this "recovery" function ?

Best Regards,

  • Hi Machida-san,

    Are they using the device as source or sink?

    What options do they have to control the PD controller, I2C, GPIO?

    Thanks and Regards,

    Chris

  • Hello,

    >Are they using the device as source or sink?
    We use as fixed source.

    >What options do they have to control the PD controller, I2C, GPIO?
    Currently, only GPIO.

    Best Regards,

  • Hi Machida-san,

    With GPIO only, there is no way for the PD controller to auto disable the power path when an overcurrent happens.

    You would need an EC/MCU to control the PD controller and disable it after an OCP event. By itself, the PD controller will automatically do error recovery and try to renegotiate a contract after an OCP. If the PD controller disabled sourcing after an OCP event, there would be no good way for it to automatically recover and know when it could source again.

    Thanks and Regards,

    Chris

  • Hello,

    Thank you for your reply.
    I understood that we can not disable this function unless we control this device via i2c.
    If we connect i2c port to MCU, how can I disable this function ?

    Best Regards,

  • Hi Machida-san,

    There is no easy way to disable this function. The MCU would need to monitor the PD and when an OCP trips, needs to disable the PD controller through I2C.

    They would need to set up the I2C interface so that they are receiving interrupts related to overcurrent. When they receive the I2C IRQ, they would read the TPS65987 to see what interrupt was triggered and confirm it was an OCP, then can either send a 'DISC' 4CC command to disconnect the port, or directly write to the port configuration register (0x28) and disable the port by setting the Type-C State machine to disabled.

    To reconnect, they would need to send a 4CC "SSrC" command to renegotiate the port, or set the Type-C state machine back to it's normal value.

    Thanks and Regards,

    Chris