Hi,
We have custom board based on AM3356 and PMIC being used is TPS65217C. I am trying to get the wakeup source details from M3 after waking up from "RTC Only" sleep mode by calling 'wkup_m3_wake_src' (wkup_m3.c file) function which reads IPC_REG6 register. It always returns MPU_WAKE. I observed it returns properly when system resuming from Deep Sleep 0 state. Our case RTC Only mode.
I am unable to know whether the platform woke up because alarm even or ext event. Right now I do not have any provision to know if ext wake up like push button event happened. Is there any way to know this in SW (A8 or M3)?
Thanks,
Srinivas