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.

TPS65987D: PD VBUS enable from hub?

Part Number: TPS65987D

I'm attempting to use the TPS65987D in conjunction with a USB hub and want to use the VBUS enable and overcurrent detection features of the hub when sourcing power.

"Port 0 Fault_Condition_Active_Low_ Event" looks like the appropriate overcurrent event. Is it tied to the source PDO maximum current value (reg0x32 bits 64:73)?

There doesn't seem to be an explicit VBUS enable equivalent but perhaps one of the other GPIO inputs would effectively disconnect power?

  • Hi Merlyn,

    Thanks for reaching out to E2E, let me reach out to a team member who is an expert on this and i'll try to get back to you by tomorrow.

    Thanks and Regards,

    Chris Lim

  • Hi Merlyn,

    "Port 0 Fault_Condition_Active_Low_ Event" looks like the appropriate overcurrent event. Is it tied to the source PDO maximum current value (reg0x32 bits 64:73)?

    That is true if you are using PDO 1. If you switch to a different PDO, it will use the register that contains the Maximum Current value corresponding to that PDO. (ie. PDO 2 : [96:105] )

    There doesn't seem to be an explicit VBUS enable equivalent but perhaps one of the other GPIO inputs would effectively disconnect power?

    Unfortunately, there is not a GPIO event that would provide this capability.

    If you are able to write I2C to the TPS65987D, you can use the 4CC commands, "DISC" and "Gaid" to disconnect and reboot the pd Controller respectively. This would allow you to send a command to disconnect the VBUS and PP_HV pins. The TPS65987DDH and TPS65988DH Host Interface Technical Reference Manual provides a bit more information about the 4CC commands.

    Thanks and Regards,

    Chris

  • I just noticed that the GPIO Events documentation uses the event name "Port 0 Fault_Condition_Active_Low_ Event" but the GUI doesn't have that listed. Is the event "Port 0 Power Source ILimit Input Event" listed in the GUI the equivalent?

    Also, in lieu of a GPIO event that will disconnect power, could I add a virtual config that has no source/sink PDOs? For example, use a GPIO as "Port 0 Load App Config 1 Event" on low transition to load a virtual config that has no sources/sinks? Or I could set "Gaid" to be issued from App Config Group Settings so as long as that GPIO is low it will keep it in a reboot loop?

  • Hi Merlyn,

    I think the GPIO event equivalent in the GUI is the "Port 0 FaultZ Output Event".

    Let me look more into the virtual config information and I'll get back to you.

    Thanks and Regards,

    Chris

  • Hi Merlyn,

    GPIO Event 55, Fault_Input_Event_Port1 ("Port 0 Fault Input Event" in GUI) will put the device in an error recovery mode as long as the pin is pulled low. During Error Recovery, the power path should be disconnected.

    Could you try using this event and see if it meets your use case? This would be an alternative to App Config settings.

    Thanks and Regards,

    Chris