AnsweredAssumed Answered

Watch dog reset flag on STM32F051

Question asked by Philippe on Apr 8, 2016
Latest reply on Apr 11, 2016 by Philippe
Hello,

i'm using a STM32F051 and i want to know if the reset is a watch dog reset or not.
I read the flag IWDGRSTF in the CSR register (RCC peripheral) but this bit is always set when a reset occurs.
I tried with no watch dog activated and the result is the same.
What's wrong with it ?

Thanks
Philippe

Outcomes