Hello users!
i have seen that wdt library (watchdog) support only SAM processor of Arduino Due board.
Is it possible the porting of this library for SAMD processor of Arduino Zero board?
Any suggest is welcome!
Thank you for reply
Luca
Hello users!
i have seen that wdt library (watchdog) support only SAM processor of Arduino Due board.
Is it possible the porting of this library for SAMD processor of Arduino Zero board?
Any suggest is welcome!
Thank you for reply
Luca
I am interested in the topic and will need it for my project. Due and Zero are similar but there may be some adaptions needed. I will look into this farther into my project.
I try to read the part of samd21 manual for the WDT function (pag.211 chapter.17):
http://www.atmel.com/Images/Atmel-42181-SAM-D21_Datasheet.pdf
but independently of the settings that i use as here:
WDT->CONFIG.bit.PER = WDT_CONFIG_PER_7_Val;
WDT->CONFIG.bit.WINDOW = WDT_CONFIG_WINDOW_7_Val;
when i enable the watchdog with follow code, the system instantly reset.
WDT->CTRL.reg = WDT_CTRL_WEN; //enable watchdog
:o any idea?