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

AURIX™ Forum Discussions

TeeEff
Level 1
5 sign-ins First reply posted First question asked
Level 1

Hello, 

I would like to know how long we have to setup or deactivate a watchdog after the power ON on a TC265.

I didn't find this information on user manual.

If I consider the Timer value is initialized with 0xFFFC and clock diviser initialized to 16384, I found a period of 0.5 ms with is very low.

What is the correct value ?

0 Likes
3 Replies
dw
Moderator
Moderator 250 sign-ins 100 solutions authored First question asked
Moderator

Hi TeeEff,

There is a demo for WDT TC2xx. For 0xFFFC, there are only 4 clocks to expire, generally, this time slice is used for access ENDINIT protected register. For watchdog service function, there are generally larger time slice than that.

i.e. If the watchdog is set to 4s to service, then there are enough time to service it. And after the CPU reset, the watchdog is not enabled initially.

dw

0 Likes
TeeEff
Level 1
5 sign-ins First reply posted First question asked
Level 1

Thanks you dw.


@dw wrote:

 And after the CPU reset, the watchdog is not enabled initially.


I didn't have this point. I was thinking the watchdog of core 0 is enabled at reset as WDTCPU0CON1.DR = 0 and only watchdog of core 1 is disabled (WDTCPU1CON1.DR = 1).

I should have miss something.

 

Regards

0 Likes
dw
Moderator
Moderator 250 sign-ins 100 solutions authored First question asked
Moderator

Hi TeeEff,

If the watchdog of core 0 is enabled at reset, it should give enough time to disable it.

 

dw

0 Likes