This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF51822 feeding watchdog with softdevice

Where would be a good place to feed a watchdog when using a softdevice? My first guess was in main loop:

for (;;) { NRF_WDT->RR[RR_number] = 0x6E524635; power_manage(); }

But this doesn't seem to smart, as I'm not sure how often it will be called. For now I'm working with iBeacon example, but I would like to know in general where would be the best place to feed a watchdog.

Parents Reply Children
No Data
Related