cancel
Showing results for 
Search instead for 
Did you mean: 

Controller reset every 500 ms periodically

MHaji.1
Senior

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,

1 ACCEPTED SOLUTION

Accepted Solutions
MHaji.1
Senior

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

Thanks for replying... problem is solved.

View solution in original post

3 REPLIES 3

>>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
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

>  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.1
Senior

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

Thanks for replying... problem is solved.