nRF5: Does not work wdt_disable();
-
/** \ingroup avr_watchdog Disable the watchdog timer. On nRF5 the timer cannot disabled. The period is set to 36h of CPU run time. The WDT is stopped in sleep mode. */ #define wdt_disable() \ NRF_WDT->CONFIG = NRF_WDT->CONFIG = (WDT_CONFIG_HALT_Pause << WDT_CONFIG_HALT_Pos) | ( WDT_CONFIG_SLEEP_Pause << WDT_CONFIG_SLEEP_Pos); \ NRF_WDT->CRV = 4294967295For some reason it does not work wdt_disable(); before sleep. The module makes a reboot during sleep
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login