stm32-rs / stm32g0xx-hal

Peripheral access API for STM32G0 series microcontrollers
Apache License 2.0
73 stars 51 forks source link

IWDG prescaler calculation #141

Closed NegVorsa closed 1 year ago

NegVorsa commented 1 year ago

I have issue with independent watchdog...I can't set it to 16secs I tracked the start function and observed the frequency value used is 16khz and not 32khz as in the manual maybe the calculation of cycles use the half but I don't get it !? I will investigate more...