[riot-notifications] [RIOT-OS/RIOT] cpu/nrf5x: implement wdt peripheral driver (#11556)

benpicco notifications at github.com
Wed Sep 11 16:26:45 CEST 2019


I tested with my [`tests/periph_wdt`](https://github.com/RIOT-OS/RIOT/blob/4d98bf39d143c13e7c717680d64689ca832ee73c/tests/periph_wdt/main.c) and basic watchdog operation is working well.

I had to disable the window mode test as the assert would fail. (Maybe we should introduce `FEATURES_PROVIDED += periph_wdt_window` too)

> On nrf, it's not possible to stop the watchdog once it's started so when setting up a timeout callback, the CPU is reset in all the case after 2 cycles of 32768kHz clock.

I thought this would still be enough to call `wdt_kick()`, but this doesn't seem to be the case. Even when putting `NRF_WDT->RR[0] = WDT_RR_RR_Reload;` directly into `isr_wdt()` tha board would reset.

So I wonder what the callback can be used for.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11556#issuecomment-530405429
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190911/8c06e12d/attachment.htm>


More information about the notifications mailing list