Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

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

AURIX™ Forum Discussions

Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

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

0 Likes
9 Replies
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given

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
First like given 10 sign-ins 10 questions asked

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
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given

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
First like given 10 sign-ins 10 questions asked

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
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given

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

0 Likes
Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

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

0 Likes
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given

PMSWSTAT2 you can refer to

0 Likes
Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

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

is the flag cleared via PMSWSTATCLR before application ?

0 Likes
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given

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

0 Likes