[riot-notifications] [RIOT-OS/RIOT] cpu/stm32_common: add watchdog for stm32 (#11252)

Francisco notifications at github.com
Thu Sep 12 09:03:04 CEST 2019


I have been playing a little with these values and it depends highly on the board. With one f7 I have only 5% deviation and with another up to 30% deviation. Datasheet whise it seem deviation can go anywhere from "51% to 156%" of the value. So I changed margin of error to 50%. I also added a waring when compiling for `SMT32` so it is made explicit that LSI calibration is needed.

Tests is passing now on my `nucleo-f767zi` if a highly deviated LSI:

```
Entering directory '/home/francisco/workspace/RIOT/tests/periph_wdt'
PASSED target time: 100.0[ms], actual_time: 117.126[ms]
PASSED target time: 500.0[ms], actual_time: 579.362[ms]
PASSED target time: 1000.0[ms], actual_time: 1161.358[ms]
PASSED target time: 5000.0[ms], actual_time: 5817.32[ms]
TEST PASSED
```

Should 

-- 
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/11252#issuecomment-530694623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190912/b7f41282/attachment.htm>


More information about the notifications mailing list