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.

TPS25750: Enable output through GPIO

Part Number: TPS25750
Other Parts Discussed in Thread: TPS65988

Hi

I'm currently evaluating some PD controllers for our USB-C port. The data will be provided by a USB 2.0 Hi Speed Hub which should also enable VBUS through a GPIO.
My question is, is it possible to configure one GPIO as an enable input? The only configuration I've found was the Fault_Condition_Active_Low_Event.

Best regards,

Sebi

  • Hi Sebi, 

    The data will be provided by a USB 2.0 Hi Speed Hub which should also enable VBUS

    I assume the USB2.0 Hub is on the same system as the PD controller (TPS25750). When you say enable VBUS, is there a device connected to the Type-C PD port? By default, our PD controllers will enable VBUS if a sink device is connected. There is no need to manually enable VBUS through GPIO. 

    My question is, is it possible to configure one GPIO as an enable input?

    All the available GPIO events can be found in the Technical Reference Manual starting on page 37. Input GPIO events are labeled 'Input' under the I/O column. I'm not entirely sure what kind of 'enable input' you're looking for, can you provide further clarification on what is required? 

    The only configuration I've found was the Fault_Condition_Active_Low_Event.

    This is an output active low GPIO event when overcurrent occurs on the Type-C port. In this system, is the PD trying to notify the USB 2.0 HUB or in some other orientation/flow? 

    Thanks and Regards,

    Raymond Lin

  • Raymond
    Thank you for your response.

    I assume the USB2.0 Hub is on the same system as the PD controller (TPS25750). When you say enable VBUS, is there a device connected to the Type-C PD port? By default, our PD controllers will enable VBUS if a sink device is connected. There is no need to manually enable VBUS through GPIO. 

    Yes it's on the same system. The Hub has an fault input (overcurrent for example) and a power enable output, which is set when the Hub is ready to communicate with a device. It also disables the power switch of the USB port when an overcurrent event happens and turns it on again after 1s.


    All the available GPIO events can be found in the Technical Reference Manual starting on page 37. Input GPIO events are labeled 'Input' under the I/O column. I'm not entirely sure what kind of 'enable input' you're looking for, can you provide further clarification on what is required? 

    I've made a small block diagram to show our current idea:


    We one GPIO of the PD will be used to switch the power advertisment between 900mA and 3A @5V. The other two are the signals from the hub. The power enable shall control the switch in the sense, that it only shall be enabled when the enable signal from the Hub is high and a sink is attached.

    This is an output active low GPIO event when overcurrent occurs on the Type-C port. In this system, is the PD trying to notify the USB 2.0 HUB or in some other orientation/flow? 

    Sorry, I meant the Fault_Input_Event. Could this be used as an enable signal?

    Best regards,
    Sebi

  • Hi Sebi, 

    Yes it's on the same system. The Hub has an fault input (overcurrent for example) and a power enable output, which is set when the Hub is ready to communicate with a device. It also disables the power switch of the USB port when an overcurrent event happens and turns it on again after 1s.

    The PD controller (TPS25750) will handle all the power side of the USB Type-C port. In the event of an overcurrent TPS25750 will automatically disable the power path by opening the switch, this does not require an external control from the HUB to set. 

    We one GPIO of the PD will be used to switch the power advertisment between 900mA and 3A @5V. The other two are the signals from the hub. The power enable shall control the switch in the sense, that it only shall be enabled when the enable signal from the Hub is high and a sink is attached.

    TPS25750 will automatically advertise the Type-C current of 3A upon a connection of a sink device. As mentioned in the previous statement above, the PD control automatically controls the switch (internal to the PD control) based on its state. The PD controller doesn't require external control to enable/disable the power path or start sourcing. 

    Sorry, I meant the Fault_Input_Event. Could this be used as an enable signal?

    When the Fault_Input_Event is triggered (set low), the PD controller enters the Type-C Error Recovery State. Doing so will reset the PD controller and restart the PD negotiation. If there's a device connected, TPS25750 will notify the connected device it's entering a recovery state. 

    Thanks and Regards,

    Raymond Lin

  • Hi Raymond

    The PD controller (TPS25750) will handle all the power side of the USB Type-C port. In the event of an overcurrent TPS25750 will automatically disable the power path by opening the switch, this does not require an external control from the HUB to set. 

    Ok if an Overcurrent Event happens, will it re-enable the power path after a certain time or is a I2C command necessary?

    TPS25750 will automatically advertise the Type-C current of 3A upon a connection of a sink device. As mentioned in the previous statement above, the PD control automatically controls the switch (internal to the PD control) based on its state. The PD controller doesn't require external control to enable/disable the power path or start sourcing. 

    Ok but the TPS25750 can use a GPIO to switch between both advertisments?

    I'm also currently looking into the TP65988 (as we have dual USB-C). It seems to me, that it's quite similar to the TPS25750 and a GPIO can be used to limit the current to 5V @900mA. Is there any major difference from the point of view of functionality?

    Best regards,

    Sebi

  • HI Sebastian, 

    Ok if an Overcurrent Event happens, will it re-enable the power path after a certain time or is a I2C command necessary?

    When an Overcurrent Event occurs, the PD controller will re-enable the power path after a certain time. 

    Ok but the TPS25750 can use a GPIO to switch between both advertisments?

    If you're referring to just Type-C Current (no PD) then you'll need to adjust the Type-C Current Advertisement in Port Control Register (0x29). For PD connections, TPS25750 will automatically advertise and negotiate with the connected sink device. 

    I'm also currently looking into the TP65988 (as we have dual USB-C). It seems to me, that it's quite similar to the TPS25750 and a GPIO can be used to limit the current to 5V @900mA. Is there any major difference from the point of view of functionality?

    TPS65988 is a dual-port solution with more features and capabilities such as Alternate Modes, DisplayPort, Thunderbolt, etc. TPS65988 comes with two high-voltage power path per port that can be configured for either source, sink, or DRP. There are also several more GPIO events to use, refer to the Technical Reference Manual for more details. 

    All other PD features (such as CC detection, power negotiation, etc.) are all handled by the PD controller in the same fashion as TPS25750. For more information, we have several resources here: https://www.ti.com/product/TPS65988 

    Thanks and Regards,

    Raymond Lin

  • Hi Raymond

    Ok thank you for your support. We decided to go with the TPS65988 and order the evalboard for first tests.

    Is it possible to get a schematic of the evalboard with higher resolution? The schematics in the user guide is blurred at some points.

    Best regards,

    Sebi

  • Hi Sebastien,

    Raymond is out of office today. 

    I have attached a higher resolution schematic file.

    Please disregard the TPS65988 part number, the part number is slightly different but the EVM is the same.

    TPS65988DH_EVM_RevA_Schematic.PDF

    Best,

    Alex

  • Hi Alex

    Great, thank you for the schematics. This will help us when creating our design.
    Also thank you, Raymond, for your support.

    All the best,
    Sebi

  • Hi Sebastian, 

    No problem, I'll go ahead and close this thread. For additional support, please open a new thread for better tracking! 

    Thanks and Regards,

    Raymond Lin