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.

TPS65988: TPS65988 GPIO inputs not working

Part Number: TPS65988

Tool/software:

Hi team,

We have a custom board including the TPS65988DH. I want to use the "Barrel Jack Detect Event" to trigger power switchover if an external supply is present.

I have a control signal connected to GPIO14 that goes low if a barrel jack is present. I configured GPIO14 as input as followed:

When debugging in Application Costumization Tool the GPIO Status Register always show a Low Level for GPIO14 regardless of the actual level I measure at the input pin. Also with other input configurations and for other GPIOs the input mode is not working. GPIOs as output work as expected. Also if i send the "GPie" Command in the  "Commands" Tab in Debugging mode nothing changes.

Application Costumization Tool version is 6.1.4

What could be the issue?

Thanks.

  • Hi Thomas,

    The GPIO Status register only report the GPIOs configured as outputs. It does not update when a GPIO configured as an input changes. I would instead read the ExternallyPowered bit in register 0x29 to determine the current status of the Barrel_Jack_Event (detailed in Table 3-74 of the TRM).

    If the GPIO is already an input and enabled in your configuration, the GPie event wouldn't change the behavior of the GPIO in question.

    Regards,

    Conner Gillette