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.

TPS65988EVM: Sink & Source simultaneously

Part Number: TPS65988EVM


Hello, 

I'm new to PD and I'm trying to make our application work with this EVM. 

Requirements:

  • One port sinks 20V to power the system
  • One port sources 5-20V 
  • The two ports are interchangeable

Some dynamic allocation, battery charger etc. is probably required later, but I'm trying to make the simple version work first.  

I can't get this to work on the EVM. The EVM can negotiate the proper contract from the supply. The EVM can also source 5-20V as negotiated by another USB PD device but only when powered via the barrel connector, not when powered from the other USB port.

Could you please advise how to configure this? 

  • Hi Tommi,

    Do you have a way to power the PD controller? It cannot source power from receiving VBUS from the other port in dead battery mode. It must be powered via VIN_3V3 to be able to source on the other port.

    Thank you,

    Hari

  • Hi Hari,

    Thank you, this solved the issue. 

    I have another question: What's the proper way to clear the dead battery condition and resume normal operation where the ports can source 5-20V? It looks like clearing the dead battery flag and issuing PD Hard Reset will accomplish this, but is there a more sophisticated way?

  • Hi Tommi,

    Please take a look at the GPIO event Barrel Jack Event in the TRM, you could also try using this event to do the same. In short though yes, you will need to clear the dead battery flag and then in short, disconnect/reconnect on the port.

    Thank you,

    Hari