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: Charging issue.

Part Number: TPS65987D


Dear TI community,

I am working on a USB PD solution, where my device is configured as a Power delivery source 5V/3A, 9V/3A, 15V/2A.

The application works with most of the PD sinks that I tested so far.

But there is one where the negotiation fails, and the charging switches on/off... I have also tested it with a TPS65987EVM, and in debug mode I noticed, that the Role presented PD status (0x40) always switches between Sink/Source, so clearly the two devices can not agree on the roles. The device always tries to select the highest power depending on what my source is set to (9V or 15V or even 20V)

Have anyone noticed similar behavior? I think the device has not fulfilling the PD requirements, but with a Dell laptop charger it works at 20V.

Thanks in advance!

Kind regards,

Peter

  • Hi Peter,

    I'd be happy to help.

    Based on your description, the fastest means to a solution would be to capture the USB-PD logs of the negotiation. If you could provide those it would be helpful. Additionally, if you could provide your project file you are using to configure the PD controller, that would be useful.

    However, I have a few clarifying questions that might get us to a solution equally quickly:

    1. Do you want your device to be source only, or do you want it to be able to be a DRP?
    2. What do you have your device currently set to, source only, or DRP?
    3. Could you clarify each step taken and the resulting behavior at each step? I'm not quite clear on the observed behavior you're seeing.

    Kind regards,

    Conner Gillette

  • Hi Conner,

    Thanks for the answer. Unfortunately I can not capture PD logs at the moment. But a device for that is already ordered. 
    In my application I need a source only from the power point of view. And upstream only from the data.

    I have attached my test.pjt file. The device is configured as DRP, but I have also tested with a source only, and had a similar behavior.

    I also attached a video captured in debug mode of the eval board. Hope that can give you and idea about the behavior.

    0083.test.pjt

    Kind regards,

    Peter

  • Thank you for the additional detail. Can you try changing the "Port Configuration" field in the "Port Configuration" register (0x28) from DRP to DFP? This should only control the Type-C state machine, and not the data role. I believe this will likely fix your issue.

    If it doesn't, let me know how the behavior changes, and if it improves or worsens.

    Kind regards,

    Conner Gillette