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.

TPS65951 PWRON_8S

Is there any way to control the PWRON_8S behavior?

 

If USB is plugged in, it resets the system after 8 second hold. If USB is not plugged in, it shuts down the system after 8 second.

 

I am wondering if it's possible to do the followings.

 

1) Shutdown the system and keep it down even with USB plugged in (to keep the battery charging with the system powered down)

2) Resets the system even without USB.

3) Disable PWRON feature altogether so the OS can use the PWR button.

 

Thanks

Ryan

  • Hi Lim,

    PWRON 8sec control cannot be changed. The bit that controls this feature is read only - STOPON_PWRON. 

    If USB is connected then I think the ID pin gets connected to GND. So, when the device is switched OFF by pressing PWRON for 8secs the ID comparator detects ID pin to GND. This is a ID detection event that would turn ON the device.

    1. If ID is not connected to GND then yes, you can achieve this. 

    2. Without US the device will be OFF as there is no start-up event

    3. Are you referring to 8sec press? If yes, then as said above, this isnt possible.

  • Thanks for the answer Gandhar.

    Regarding your answer to #1, currently, the ID is not connected to GND. But I am still seeing the system reset after 8 second.

    Isn't the VBUS edge the start-up event that tells PMIC to power up?

     

    Also is there any way for SW running on OMAP to tell PMIC to power down the system? I am looking for a SW way to power off the system.

     

    Ryan

  • Hi Ryan,

    As discussed on the conf call you can find the details for USB interrupt in the PWR_ISR1 register. There are two sources for this interrupt - VBUS and ID. 

    For power off you can use DEVOFF and for resetting warm reset will be a good option. We can discuss details of this later.