[riot-notifications] ***UNCHECKED*** Re: [RIOT-OS/RIOT] sam0: Implement watchdog driver (#11520)
notifications at github.com
Fri Sep 13 11:39:22 CEST 2019
Rebased, now that #11252 is merged.
I dropped my own `tests/periph_wdt` in favor of the one from @fjmolinas
However, the test will always fail:
PASSED target time: 100.0[ms], actual_time: 127.561[ms]
PASSED target time: 500.0[ms], actual_time: 502.736[ms]
PASSED target time: 1000.0[ms], actual_time: 999.896[ms]
FAILED target time: 5000.0[ms], actual_time: 7984.307[ms]
The result is the same on samr21-xpro and same54-xpro.
This is because the Watchdog only has 4 bits for window and period respectively.
Only powers of 2 can be configured, so for 5000ms the next power of two (8192/1024Hz = 7938.48 ms) is selected.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications