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

oneday
Level 2
Level 2
First like received 10 sign-ins First solution authored

When using the code example to test SCU_WDT(in debug mode ), there are some question as follows:

oneday_0-1669605939257.png

when execute code line 61:   IfxScuWdt_serviceCpuWatchdog(IfxScuWdt_getCpuWatchdogPassword()); /* Service the CPU0WDT */,then use the "printf"  to print the REG "SCU_WDTCPU0SR" , the value of "SCU_WDTCPU0SR" shows as follows:

oneday_1-1669606181700.png

I think the WDTCPU0 is not really enabled,because the SCU_WDTCPU0SR.B.TIM = 0xFFFC and this value has never changed.

so,  how to  really enable  the  WDTCPU0 in debug mode?  

Looking forward to your reply.

 

 

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

Generally, FFFCh is counted up to FFFFh and then timeout, that means only 4 clocks to be expired, in this short window,  the user could do some operations.

View solution in original post

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

Generally, FFFCh is counted up to FFFFh and then timeout, that means only 4 clocks to be expired, in this short window,  the user could do some operations.

0 Likes