- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks you dw.
@Di_W 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi TeeEff,
If the watchdog of core 0 is enabled at reset, it should give enough time to disable it.
dw