About restarting the program with Wake-up

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

cross mob
pistons7
Level 4
Level 4
50 questions asked 10 likes given 100 sign-ins

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
50 likes received 500 replies posted 100 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
50 likes received 500 replies posted 100 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 4
Level 4
50 questions asked 10 likes given 100 sign-ins

Thanks.

I appreciate you.

0 Likes