Pages: [1]   Go Down
Author Topic: Initializing the watch dog timer on Arduino Due  (Read 677 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I am new to using the Arduino Due board. I would like to know how to configure the watchdog timer on this board for my project. Any help would be appreciated.

Thank you
Logged

Earth
Offline Offline
Sr. Member
****
Karma: 14
Posts: 333
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You don't. The arduino core developers set the watchdog timer off in the core before your sketch starts running. this is bad for you because you can only configure the wdt one time. thereafter any changes are ignored.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But I have to make use of this wdt in case the MCU hangs. My board has multiple sensors connected to the MCU. In case something happens where the MCU fails, shouldn't I have the wdt initialized?
Logged

Pages: [1]   Go Up
Jump to: