Page 1 of 1

TD SCHEDULER doesn't work as expected

Posted: Fri Jun 16, 2017 3:36 pm
by dandavid3000
Hi,

I have a piece of code in the attached file to test with Watchdog. In this example, I set up the period for watchdog every 64. I set up TD_SCHEDULER function to feed the watchdog every 50s. However, The TD_SCHEDULER doesn't call my WATCHDOG_FEED every 50 seconds (That's why the device reboots) . If I modify 50 -> 49, then it works?

Can anyone explain why I have this issue ?

It doesn't work neither when I set up WATCHDOG(128), and the interval for TD_SCHEDULER is 100. :(

Thank you,
Dan