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: after GPIO7 is enabled to "Port 1 Load App Config 3 Event" USB-Device is not recgoniced

Part Number: TPS65987DDK

Tool/software:

Dear Support,

I work on the EVM65987DDK with a 10G-Expansion-EVM attached to a 1GB USB3 to LAN Bridge.

GPIO7 is used to switch between two virtual devices to get different output power stages.

Without activating the GPIO Event the USB Device is recogniced an working well, after activating the GPIO Event the USB Device still working on a Android Tablet but not on Windows10/11.

Do I have a problem with recourses on the TPS65987DDK or have I to set some aditional settings.

Has anyone a idea what I can do to get this working on both devices

attached you can find my project-file

Test_2 Thinkpad Samsung HP GPIO_7.pjt

Thank you verry much

Martin Jäger

  • Hi Martin,

    Are you able to capture PD logs? (logs containing decoded CC line messages)

    It would be good to see the difference in negotiation between the working and non-working windows/11 case.

    Looking at you pjt, it seems like the only thing changing is the advertised PDOs, and upon entry and exit you are sending a SSrC command to renegotiate a port.

    Without activating the GPIO, is the PD controller negotiating a PD contract, or does it not negotiate anything and have an empty Transmit Source Register.

    When you assert the GPIO, is the USB connection broken? Does it work when you replug the port after asserting the GPIO? Does the Voltage change on VBUS?

    Thanks and Regards,

    Chris

  • Hi Chris

    many thanks for quick reply to my question, unfotunatly I have no PD/CC line decoder. 

    Is it possible to get the neccessary informations with the configuration tool in debugging mode?

    I think there is a missunderstanding in my explanation of the GPIO behaviour.

    In one configuration the GPIO7 is disabled and in the other configuration GPIO7 is set to "Port 1 Load App Config 3 Event".

    The configurations are flashed to the device one after the other. In both configurations Power Delivery steps to the Voltage which is negotiated 5/9/15 or 20V up to 3A. On pulling down GPIO 7 Power Delivery should only bo able to deliver 5V/3A to the attached device.

    But when I activate GPIO 7 the USB3 to LAN Bridge that is attached to the same USB connection, wouldn´t be rcogniced by the host PC, if it is a Windows PC or a MAC device. With a Android Tablet everything works fine.

    It is not a problem of setting the GPIO level from H to L, it is because GPIO 7 is disabled or set to Load App Config 3 Event.

    The PD Controller is negotiating a PD Contract wether the GPIO is enabled or disabled.

    Hope this is helping a little bit,

    Thank you and best regards

    Martin

  • Hi Martin,

    Yes, this clears up some confusion, I had assumed there was a single config and you were just toggling the bit and seeing weird behavior.

    In PDO1 of the Transmit Source Capabilities, there is a "USB capable bit". Can you make sure it is set for both? This advertises the ports USB capabilities. I don't see it set in either virtual config and think this is likely the issue.

    Other than that, USB-PD has limited responsibility of what actually happens on the USB data lines.

    Thanks and Regards,

    Chris

  • Dear Chris,

    please excuse my late reply,

    setting  "USB capable bit" was part of the solution, but I had to change some

    settings in the Port Configuration aditionaly.

    Many thanks, have a nice week

    Martin

  • Hi Martin,

    No worries, I'm glad you were able to figure it out.

    I'll close this thread now, but feel free to re-open if you have any related questions. For new questions, please submit a new E2E thread.

    Have a good week!

    Thanks and Regards,

    Chris