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

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

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

Jump to solution
649 Views
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 Kudos
Reply
1 Solution
617 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Foxconn,

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

danielmartynek_0-1671708135071.png

 

BR, Daniel

 

 

View solution in original post

0 Kudos
Reply
2 Replies
618 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Foxconn,

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

danielmartynek_0-1671708135071.png

 

BR, Daniel

 

 

0 Kudos
Reply
592 Views
Foxconn
Contributor II

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

0 Kudos
Reply