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: my own board reboot when turn off

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

Hi,

I'm checking my own board.

There is a TPS65217C with AM3358.

However, my own board always reboot after turn off.

I did reboot using linux command (sudo poweroff)

Here is my log.

Please let me know what to check else.

I cannot understand why PWR_EN signal rised up after turn off.

*set OFF bit on STATUS REGISTER

debian@arm:~$ dmesg | grep tps
[    2.617495] tps65217' power off setting is 1
[    2.659184] tps 65217 status check : 80
[    2.663165] tps65217 0-0024: TPS65217 ID 0xe version 1.2

* signal of the lines on TPS65217C

  • Is PWR_EN pulled up to SYS voltage?

    Try shorting BAT_SENSE to BAT1 and BAT2 pins, then pull all three pins to GND with a 10kOhm resistor.

    Let me know if this works.

  • "Is PWR_EN pulled up to SYS voltage?"

    I didn't understand above your mention.Do I need to do pull up pwr_en to sys volage?

    So, I attached the part of PMIC on my schematics

    "Try shorting BAT_SENSE to BAT1 and BAT2 pins, then pull all three pins to GND with a 10kOhm resistor."

    Not work on my board.

    I need to use battery default and charger too.

    The below is my schematic



  • I attached addtionaly log.

    At the reboot timing, VRTC enabled first

    Please refer the below log

  • You said:

    Hanjun Kim said:
    I need to use battery default and charger too.

    You need to use battery but you do not have a battery installed. You have a large capacitor installed.

    When you try to reboot and it fails, try pressing the Push-Button (CN1 in your schematic) connected to PB_IN and let me know if the system recovers.

  • After further review of your schematic, I see you are using BAT as the main input to the system. Instead of a battery, you connected SYS_5V net directly to BAT inputs.

    This circuit should work fine, but you might need a push-button press to re-boot as expected.

    Also, when you wire circuit this way (BAT = SYS_5V), AC and USB un-used, the recommendation is to short AC and USB directly to GND.

    Please remove C109 and C110 in your schematic and replace with short to GND. This should also improve re-boot performance.

  • I removed C109 and C110 on my board and replace with short to GND.
    However it still reboot after turn off.
    I want to turn off the power. Not rebooting.
  • Please check PWR_EN signal.

    Also make sure OFF_BIT == 1b in TPS65217 Register Map. You can check my "sniffing" I2C communication before PWR_EN goes low.

    Refer to Figure 24. Global State Diagram, on page 39 of the TPS65217 datasheet to make sure you are entering OFF state correctly and no events occur that make system leave OFF state back to ACTIVE state.