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.
I have built a USB PD charger with TPS65987D, but when I connect a PD compatible mobile battery, the charger does not charge the mobile battery.
Q1) Is this due to the fact that role swap is enabled?
Q2) How can I disable role swap and only charge the mobile battery from the charger with TPS65987D?
Hi,
It depends on what the reason could be for not charging. Are you using an EEPROM to program the configurations to the PD controller?
You can disable role swap in register 0x29. Please take a look at the TRM document to see more details of this register: https://www.ti.com/lit/ug/slvubh2b/slvubh2b.pdf
I would also recommend these videos if you are not familiar with these devices: https://training.ti.com/how-evaluate-and-configure-our-usb-type-c-pd-controllers
Thank you,
Hari