Hi,
Currently we are experiencing the following issue with our system which has an AM3358 processor in conjunction with a TPS65910 (TPS65910AA1RSL) power management chip.
The system and processor powers up ok when we switch it on, but if we shutdown the system by setting bit 0 (DEV_OFF) of DEV_CTRL_REG (0x3F) to 1 using I2C communications, the system shuts down as expected, but we cannot then switch it back on again immediately. We are also using the TPS65910 as our system RTC, which is backed up by a superCap to maintain the RTC for a period of time between system battery changes.
Investigations have led us to conclude that it is when this superCap has charge that we are unable to switch on the system. Discharging the superCap manually allows us to recover and switch the system on. Also leaving the system off for a long period of time (naturally discharging the superCap) works as well.
Here are the contents of what I think are relevant registers 2 seconds prior to the shutdown command being sent to the TPS65910:
PMIC_INT_STS_REG register = 0x12
PMIC_INT_MSK_REG register = 0x2
PMIC_SLEEP_KEEP_RES_ON_REG register = 0x0
PMIC_DEVCTRL_REG register = 0x0
PMIC_THERM_REG register = 0xD
PMIC_VRTC_REG register = 0x1
PMIC_REF_REG register = 0xD
PMIC_RTC_INTERRUPTS_REG register = 0x0
I guess even though we are setting the DEV_OFF bit of the DEV_CTRL register, instead of the OFF state, do we actually go direct to the BACKUP state if we have backup voltage on the super cap which is connected to VBACKUP; the datasheet says the DEV_OFF bit is cleared when it enters the OFF state, if it did go direct to the BACKUP state would the DEV_OFF bit be cleared and hence not be the cause of power on prevention?
Also, I have tried changing my code to mask and clear off the interrupts in INT_STS_REG, and with the INT_STS_REG register reporting 0x00, we still get the issue where we cannot power on immediately after a DEV_OFF triggered shutdown.
Does anyone have any thoughts?
Thanks
John