STANDBY wakeup

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Mmmmmm
Level 3
Level 3
50 sign-ins 25 sign-ins 25 replies posted

How could i know that MCU Waked up from standby mode state , in application software ?

0 Likes
9 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

If wakeup, the program will run continuously after the reset()

Observe that the microcontroller returns from 
Standby mode similar as it would start from a 
reset and the application code is executed 
again

Please refer to the code and pdf.

0 Likes
Mmmmmm
Level 3
Level 3
50 sign-ins 25 sign-ins 25 replies posted

Screenshot 2022-12-19 060336.png

is "At the exit of standby " mean after wake up or during standby , and if that mean after wake up what  i must check to know this state ?

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

You could check the tables to know if the system is from a Standby or a Cold Power-On

0 Likes
Mmmmmm
Level 3
Level 3
50 sign-ins 25 sign-ins 25 replies posted

okay i understand the table but can't understand what the meaning of " At the exit of standby mode " is that after wakeup or during standby mode , or the question could be in another form how i know the the state of standby mode exit to compare the registers with the suitable expected .

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

I think the exit of standby, is like a reset.

0 Likes
Mmmmmm
Level 3
Level 3
50 sign-ins 25 sign-ins 25 replies posted

is that anyway to indicate the reset is cold power on reset or  return from standby mode ?

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

PMSWSTAT2 you can refer to

0 Likes
Mmmmmm
Level 3
Level 3
50 sign-ins 25 sign-ins 25 replies posted

Screenshot 2022-12-19 080505.pngScreenshot 2022-12-19 080205.png

is the flag cleared via PMSWSTATCLR before application ?

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

This flag is cleared in IfxPmsPm_startStandbySequenceInFlash, but no found in the ssw()

0 Likes