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)

跳至解决方案
653 次查看
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 解答
621 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Foxconn,

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

danielmartynek_0-1671708135071.png

 

BR, Daniel

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
622 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Foxconn,

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

danielmartynek_0-1671708135071.png

 

BR, Daniel

 

 

0 项奖励
回复
596 次查看
Foxconn
Contributor II

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

0 项奖励
回复