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.

TPS65217: TPS65217 PB_IN does not shutdown system - reboot only

Part Number: TPS65217
Other Parts Discussed in Thread: AM3354,

Hello,

The issue is very simple. We have a system built with tps6217c and am3354.

We expect to shutdown the system by pressing PB_IN for > 8sec. this restarts the system, instead of shutting it down. Our system is powered by a single cell Li-ion 3.7V/4.2V battery

We checked VUSB and AC_IN lines and those remain flat.

We reviewed the interconnect between AM3354 and TPS65217 and everything was done according to the app note "Powering the AM335x with the TPS65217x"

We are using tps65217C

Could you please give us some hints as on how we could rootcause the issue.

Many thanks

Yann

  • It also looks like that with USB plugged in and without battery, deasserting PB_IN will shut down the system.
    In short:
    - when USB is plugged in and no VBAT deasserting PB_IN for > 8sec will shutdown the system
    - when battery is present and USB disconnected, deasserting PB_IN for > 8sec will reboot the system

    Many thanks for your support
  • Yann,

    You can see on Page 39 of the datasheet (Figure 24. Global State Diagram) that for PB_IN > 8s press the PMIC enters the RESET loop.

    If nRESET is held after the 8s PB_IN timer ends (or nRESET is held low at any time), the PMIC will stay in the Reset loop until nRESET is High again.

    There is only 1 correct way to shut the system down (enter OFF state), according to the same PMIC Global State Diagram:
    Set OFF bit = 1 and pull PWR_EN pin low (PMIC_POWR_EN is the name on the processor side). This is a command in the Linux kernel, and the I2C writes for the PMIC are handled by the Linux drivers for the TPS65217.
  • Yann Patrick said:
    - when USB is plugged in and no VBAT deasserting PB_IN for > 8sec will shutdown the system

    If you have a Battery in your system, it is not helpful to test it without the battery.

    PB_IN > 8s should always cause a system Reset (reboot) when all of the power supplies are connected properly.

    If it is causing a Shutdown, this is a coincidence due to the fact that there should be a battery in the system, but you have removed it.