S32K3 - Why do I get the wakeup registers always 0 (from standby mode to wakeup)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K3 - Why do I get the wakeup registers always 0 (from standby mode to wakeup)

ソリューションへジャンプ
893件の閲覧回数
Foxconn
Contributor II

Hello, I have a problem and need help. Can you give me some guidance or answer?

In the main function, I would first check for the reason for the power up.

when I wakeup from standby mode. I hope to get the

MC_RGM (base address: 4028_C000h) , RDSS (offset) register occurs to 1.

But... I always get 0 from FES_RES / DES_RES.  How to get the correct register and value?

 

Foxconn_0-1671527392823.png

 

0 件の賞賛
返信
1 解決策
861件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Foxconn,

If RDSS = 0x0, read MC_ME[PREV_MODE].

danielmartynek_0-1671708135071.png

 

BR, Daniel

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
862件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Foxconn,

If RDSS = 0x0, read MC_ME[PREV_MODE].

danielmartynek_0-1671708135071.png

 

BR, Daniel

 

 

0 件の賞賛
返信
836件の閲覧回数
Foxconn
Contributor II

Thanks a lot for your solution. It works fine.
Also, calling a function by power reason can fix it too.

0 件の賞賛
返信