imx53 wakeup source

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx53 wakeup source

Jump to solution
767 Views
alexandervarnin
Contributor I

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.

Labels (2)
0 Kudos
1 Solution
610 Views
alejandrolozan1
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
2 Replies
611 Views
alejandrolozan1
NXP Employee
NXP Employee

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

0 Kudos
610 Views
alexandervarnin
Contributor I

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.

0 Kudos