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.

TPS6598X-CONFIG: TPS65992DADRJKR Device Mode is unavailable when used as USB OTG control signal

Part Number: TPS6598X-CONFIG


We use the IC's PIN37 GPIO6 as the signal of "USB_VBUS_DET" signal and PIN36 GPIO7 as the signal of"USB_OTG_ID" .

1、Host Mode

  • GPIO7 will pull low when the storage device is inserted.

  • GPIO6 will remain low

2、Device Mode 

  • GPIO7 will pull high When the Type-C - Type-A Cable is inserted.

  • GPIO6 should be pulled high after GPIO7 pull high.

3、At present, the Host mode can be used normally.

In Device mode, GPIO7 can normally pull high after cable is connected, but GPIO6 cannot pull high after GPIO7 is pulled high.GPIO6 is always low regardless of Host Mode or Device Mode.

How to debug GPIO6 and GPIO7? Thank you very much!

  • Hi,

    Can you specify the power role when in Host mode and device mode?

    Regards

  • In Host Mode, the IC provides a 5V VUSB. Meanwhile,GPIO6(USB_VBUS_DET) and GPIO7(USB_OTG_ID) are all low.We can use this function normally.

    In Device Mode,the Tyee-C—Type-A Cable will provide an external 5V power.At this moment,GPIO7 is pulled up to 1.8V.However, GPIO6 cannot be pulled up to 3.3V after GPIO7.

    So many choices are there that I don't know which one to choose.Can you give me some advice? Thank you!

  • Hi,

    Based on your GPIO setting GPIO6 not going high in device mode is normal because TPS65992 is a sink at this point and the contract established with the external 5V is a sink contract (from TPS65992's point of view).

    I would recommend setting up another GPIO for this because there are no events that can be triggered when source/sink contract is established. You can use sinkpdo1contract_port1 for the other GPIO.

    Regards

  • Hi,Tommy

    Firstly,I did't find the choice of "sinkpdo1contract_port1",Can you tell me which choice should i choose for GPIO6 and GPIO7.

    Secondly,What do you mean of "the other GPIO"?Would you mind point out the numbet of GPIO which i should use?

    Besides,Event 29 seems to meet our requirement.However, in Device Mode,GPIO6 stil can't pull high.

    Best regards!

  • Hi,

    My apologies, what I was trying say was you can use AttachedAsSink event as the GPIO event. This will go high when a source is connected to the PD controller.

    Other GPIO means any other GPIO that is available on the PD controller. This does not need to be a specific one.

    Event 29 can also work as long as you can guarantee that the PD controller is UFP when the external source is connected.

    Regards