imx53 wakeup source

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,309件の閲覧回数
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 解決策
2,152件の閲覧回数
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 返答(返信)
2,153件の閲覧回数
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,152件の閲覧回数
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 件の賞賛
返信