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.

TPS65987DDJ: How to set GPIO1 to be H When the negotiated power from adapter is greater than 15W?

Part Number: TPS65987DDJ

How to set GPIO1 to be H When the negotiated power from adapter  is greater than 15W? And set  GPIO1 to be L When the negotiated power from adapter  is less than 15W or no adapter? By using the Application Customization Tool. The I/O config of the Application Customization Tool  does not seem to be able to fulfill our functional requirements. 

Please help us solve this problem。

  • Hello ZhiYi,

    We do not have a GPIO event that does exactly what you are looking for, but I think the proposition below will get you close to what you are looking for.

    Instead of basing it purely on Watts, you could base the GPIO event on the voltage the negotiated between the two devices and use the "Sink Greater Than Threshold Voltage" and set the threshold voltage to 5V. If lets say a charger is connected, a 9V contract is negotiated, and this GPIO goes high. This should work for your application, as the source charger should be able to charge more than 15W when 9V or greater is negotiated. The only downside with this setup is that the GPIO would not go high if a charger supplying 5V/3A is connected. This is the only thing I can think of that meets your requirements.