AnsweredAssumed Answered

Wrong clock frequency after IWDG reset [STM32F405]

Question asked by rodorigo.luigi on Apr 9, 2016
Latest reply on Apr 9, 2016 by Clive One
Hi all,
I'm experiencing a strange problem on STM32F405

When a IWDG reset happens, the uC restarts with a wrong clock frequency, I think it's running from HSI instead of HSE.  Same problem happens even if I call NVIC_SystemReset()

If I power the board or I reset the board using the reset pin everything is working fine.

Should I reconfigure something, or it should be a clock startup problem?
I'm using this 8MHz xtal (http://www.abracon.com/Resonators/abls.pdf) with 22pf load capacitance, and uC frequency should be 168MHz.

Any help is really appreciated.
Luigi

Outcomes