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

AURIX™ Forum Discussions

pistons7
Level 3
Level 3
5 likes given First solution authored 10 replies posted

Where does the program resume when waking up from Standby mode?

For example, in the following program, will it be restarted from func_TestA?

IfxScuWdt_clearSafetyEndinit(IfxScuWdt_getSafetyWatchdogPassword());
IfxScuWdt_clearCpuEndinit(IfxScuWdt_getCpuWatchdogPassword());
--------------- omit -----------------------
MODULE_SCU.PMCSR[0].B.REQSLP = REQUEST_STANDBY;
IfxScuWdt_setSafetyEndinit(IfxScuWdt_getSafetyWatchdogPassword());
IfxScuWdt_setCpuEndinit(IfxScuWdt_getCpuWatchdogPassword());

func_TestA();
func_TestA();

soft_Reset_func();

0 Likes
1 Solution
MoD
Employee
Employee
250 sign-ins 25 likes received 50 solutions authored

In case of waking up from standby the device will be start from reset address. In case of REQUEST_IDLE or REQUEST_SLEEP the CPU will be resume from the calling function.

View solution in original post

0 Likes
2 Replies
MoD
Employee
Employee
250 sign-ins 25 likes received 50 solutions authored

In case of waking up from standby the device will be start from reset address. In case of REQUEST_IDLE or REQUEST_SLEEP the CPU will be resume from the calling function.

0 Likes
pistons7
Level 3
Level 3
5 likes given First solution authored 10 replies posted

Thanks.

I appreciate you.

0 Likes