Skip to main content
Senior
March 25, 2020
Solved

Controller reset every 500 ms periodically

  • March 25, 2020
  • 3 replies
  • 870 views

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.
Best answer by MHaji.1

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
March 25, 2020

>>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
March 25, 2020

>  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
April 5, 2020

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

Thanks for replying... problem is solved.