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: TPS65987: GPIO change sink PDO issue

Part Number: TPS65987D
Other Parts Discussed in Thread: TIDA-050014

Hi all,

 My customer want to change sink PDO setting through GPIO 5 and GPIO6 (implement virtual device setting when GPIO is high). We try to set up as TIDA-050014 but didn't success. Would you please helping to take a look about our setting in PJT and give us suggestion to modify it? Thanks.

test4.pjt

Best regards,

Gary Teng

  • Hi all,

     Any comment about our questions?

    Regards,

    Gary

  • Hi Gary,

    Yes I will take a look at your project configurations and give you feedback sometime later this week.

    In the meantime, do you have any PD logs that you could provide? Also, how are you testing this, which device are you attaching to your device or if you have a block diagram you can upload that?

    Thank you,

    Hari

  • Hi Hari,

     It's a PD sink application. Customer want to change sink PDO at S0 / S4 mode. If we can use one GPIO to change sink PDO mode that will be fine.

    GPIO high (or GPIO5 is high): Sink PDO is 12V3A

    GPIO low (or GPIO6 is high): Sink PDO is 20V3A

     What's the definition about setting of virtual device and value of enter/exit?

    Regards,

    Gary

  • Hi Gary,

    Yes this should be possible. However, I noticed that you are using a different version of the Config Tool that is not the most suitable for your device/application. Could you please download and install the Config Tool GUI from this page: 

    This version will be the correct one you should be using for any TPS65987DDH device applications. Once you download and install this tool, you should be able to create a new project where you can select to use the Power Duo Sink board configurations. This will load in the appropriate configurations which you will be able to adjust to your application. The Virtual Device correlates to the GPIO high/low, so depending on the GPIO value, either Virtual Device 1 or Virtual Device 2 configurations will be loaded. In these Virtual Devices, you can change how you would like the PD controller's Sink Capabilities configured depending on the GPIO status.

    Thank you,

    Hari