Skip to main content
Senior
Mar 25, 2020 7:41 PM UTC
Solved

Controller reset every 500 ms periodically

I am working on stm32f429 and micro controller reset every 500 ms, iwdg is not active but, it seems, it is activated by hardware or something which force cpu reset.

How can i get rid of this?

Please help,

BR,

This topic has been closed for replies.
MHaji.1Best answer
Senior
Apr 5, 2020 12:07 PM UTC

Apparently hardware watchdog in all M4 controllers are activated by default in optional byte ...

Thanks for replying... problem is solved.

3 replies

Tesla DeLorean
Guru
Mar 25, 2020 7:51 PM UTC

>>How can i get rid of this?

Diagnose the underlying problem?

Scope the NRST pin, the VCAP and VDDA supply pins.

Check for external sources connected or sharing the NRST

Does the problem occur with a simple LED Blinky program?

Is this something that started occurring recently, with specific new code or function?

ST-LINK? DISCO/NUCLEO board? Your own?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TDK
Mar 25, 2020 10:14 PM UTC

>  it is activated by hardware or something

Why do you think this? Did you look at IWDG registers? If so, they don't set themselves. Something in your code is, so find it.

"If you feel a post has answered your question, please click ""Accept as Solution""."
MHaji.1AuthorBest answer
Senior
Apr 5, 2020 12:07 PM UTC

Apparently hardware watchdog in all M4 controllers are activated by default in optional byte ...

Thanks for replying... problem is solved.