imx53 wakeup source

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx53 wakeup source

跳至解决方案
1,158 次查看
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.

标签 (2)
0 项奖励
回复
1 解答
1,001 次查看
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 项奖励
回复
2 回复数
1,002 次查看
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 项奖励
回复
1,001 次查看
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 项奖励
回复