Hello,
we have designed a portable and battery powered measurement device. The end user has to attach a tablet via USB to control the measurement. We now want to add a USB C charging functionality (20V/2.5A) to our measurement device, so the user can charge his tablet. It should be possible to switch the charging process off any time, to maximize the operational time of our measurement device. We want to use the TPS65987D as USB PD controller and tried a few things with TPS65987EVM but somehow it is not working as expected.
First we remapped the barrel jack event to a jumper but the jumper position doesn't seem to have a effect at all. The eval board was either always charging or not charging at all, when we set the "only advertise when externally powered" setting in the 20V/2.5A PDO. Then we tried to execute the "swap to sink" command, but it seems that eval board immediately swapped back to source again. Unfortunately we have no protocol analyzer for the USB CC lines and the internal debugger of the eval board works very unreliable.
1. What's the preferred way to disable sourcing in our application? It is ok to use the barrel jack event for this and, if yes, how shall we configure the TPS65987D? It is important that the USB communication does not get interrupted during a swap.
2. To minimize looses I would like to use both internal power switches of the TPS65987D in parallel for sourcing. It is ok to not select any sink switch at all in the configuration?
I appreciate your help,
best regards