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.

TPS65982: GPIO event

Guru 29720 points
Part Number: TPS65982
Other Parts Discussed in Thread: TUSB1046A-DCI, TPS65986EVM

Hi Team,

TPS65982 is mounted on following EVM and would like to ask the following.
http://www.tij.co.jp/jp/lit/ug/sllu255/sllu255.pdf

The user's guide shows AMSEL is assigned at GPIO0 that is connected to CTL0 of TUSB1046A-DCI, however I believe GPIO0 of TPS65982 doesn't assign AMSEL event actually.



I believe USB3_H event should be assigned regarding the following application note.
http://www.tij.co.jp/jp/lit/an/slva838/slva838.pdf

Is my understanding correct?

Best Regards,
Yaita

  • Hi Yaita-san,

    The TPS65982 has GPIO events for AMSEL, Polarity, and HPD that are referenced in the TUSB1046 EVM user's guide. I would suggest configuring the GPIOs to best match that schematic. You can use the TPS6598x application customization GUI to adjust the GPIO events to best fit your application.

    Thank you,
    Eric
  • Hi Eric-san,

    TUSB1046 EVM shows GPIO0 (=AMSEL) is direct connected to CTL0.
    However I think CTL0 and AMSEL isn't match as the following.
    For example, CTL0 should be set "Low" in 4 Lane DP, however AMSEL is set "1" in 4 Lane DP.


    - TUSB1046 datasheet



    - GPIO Events of TPS6598x


    http://www.tij.co.jp/jp/lit/an/slva838/slva838.pdf

    How should we set GPIO0 event when GPIO0 is direct connected to CTL0?

    Best Regards,
    Yaita

  • Hi Yaita-san,

    I understand your question better now. From the looks of it, CTL1 should be set to DisplayPort Event, CTL0 should be set to USB3 Event, and FLIP should be set to Cable Orientation. Also make sure that the HPD pin is connected properly, I did not see it on your list.

    If this answers your question, PLEASE select This resolved my issue

    Thank you,
    Eric

  • Hi Eric-san,

    >From the looks of it, CTL1 should be set to DisplayPort Event, CTL0 should be set to USB3 Event, and FLIP should be set to Cable Orientation.
    Yes! I have thought as you referred above.

    I assigned GPIO0 to USB3 Event with my TPS65986EVM however GPIO0 showed "Low (0V)" when connecting USB3.1 Hub(BSH4U105C1BK) although enabling pull-up resisor as the following referred.
    I also confirmed USB3 Connection showed "disconnected" in Utility Tool in this case.



    On the other hand, GPIO0 showed "High" when connecting another USB3.1 Hub (U3HC-DC03BBK).
    I also confirmed USB3 Connection showed "connected" in Utility Tool in this case.

    The result shows different between USB3.1 Hub(BSH4U105C1BK) and USB3.1 Hub (U3HC-DC03BBK).
    What do you think about the difference?

    I believe USB3.1 Hub(BSH4U105C1BK) has a problem however want to have your comments.

    Best Regards,
    Yaita

  • Hi Yaita-san,

    It looks like the U3HC-DC03BBK hub is a USB PD hub while the BSH4U105C1BK is just a USB Type-C Hub that does not support PD. If the CC advertisement of the BSH4U105C1BK is correct, we should still toggle the USB3 event GPIO. However, since it is not enabling the USB3 event GPIO, my guess is that it does not have the correct CC advertisement.

    If this answers your question, PLEASE select This resolved my issue

    Thank you,
    Eric

  • Hi Eric-san,

    Thank you for your comment.

    Regarding "USB3 Event", is it possible to detect USB3 even if USB3.x device which doesn't support PD is connected?  



    I would like to confirm if PD is required or not in this case.
    I don't know how to detect USB3, so would like to confirm it.

    Best Regards,
    Yaita

  • Hi Yaita-san,

    We do detect non-PD USB3 devices as well. You can check to see if the connection is enumerating as a USB3 connection by reading back the Data Status register. In there you will find a field that indicates USB3 connection.

    Thank you,
    Eric
  • Hi Eric-san,

    Thank you for your reply.

    In case connecting BSH4U105C1BK (USB Type-C Hub that does not support PD) with TPS65986EVM, it shows USB3Connection is "disconnected" as the following.



    Do you know how TPS65986 does detect USB3Connection?

    If BSH4U105C1BK does not have the correct CC advertisement we should contact vendor of BSH4U105C1BK however I can't explain what is the issue that resides in BSH4U105C1BK.
    The background of the question is my customer is designed his system with TPS65986 and TUSB1046A-DCI.

    Best Regards,
    Yaita

  • Hi Yaita-san,

    We would look at the CC pull-up and determine if it is a USB3 or USB2 device. Typically for USB Type-C only, we would always enable USB2 and USB3 connection until we see that they are not supported from the connected device. I would suggest checking the System Configuration (0x28) register to see if you have USB2 and USB3 support both enabled.

    If this answers your question, PLEASE select This resolved my issue

    Thank you,

    Eric

  • Hi Eric-san,

    I confirmed System Config (0x28) as the following.
    "Receptacle Type" shows "UsbReceptacle_STD_FULL_TypeC_Receptacle" and "USB3Rate" shows "SSSignallingSupport_USB3p2_Gen1_Gen2", so I believe USB2 and USB3 are set to supported.

    However "USB3Connection" and "USB2Connection" of Data Status (0x5f) shows both "disconnected" when connecting BSH4U105C1BK.
    Please let me know if there is another register I should check.






    Best Regards,
    Yaita

  • Hi Yaita-san,

    I would suggest checking with the manufacturer of BSH4U105C1BK as it seems that device is reporting USB2 and USB3 are not supported.

    Thank you,
    Eric