Hello!
In my configuration I use imx53 CPU with Linux kernel 2.6.35 (from freescale). It has two wake up sources from the low-power state - RTC and gpio pin (as interrupt).
Is it possible to determine after the wakeup, what was the source (the reason) of the wakeup event?
I looked through imx53 reference manual, but failed to find this information.
Solved! Go to Solution.
Hi Alexander,
I have been delving into that and I wonder if you have checked the TZIC module?
My suggestion is to check the TZIC_PNDn register and see if the corresponding flags are set.
Best Regards,
Alejandro
Hi Alexander,
I have been delving into that and I wonder if you have checked the TZIC module?
My suggestion is to check the TZIC_PNDn register and see if the corresponding flags are set.
Best Regards,
Alejandro
Yes, thanks.
I've checked it - saving the contents of PND0..4 just after exiting suspend state does it. The register has the bit set of the interrupt, that led to resume.