cancel
Showing results for 
Search instead for 
Did you mean: 

iwdg

yang hong
Associate II
 
2 REPLIES 2
yang hong
Associate II

I am using NUCLEO32F429ZI. I try to use IWDG to find software time out. but I want to add led to indicate IWDG to happen. for example LED3 installed on the board. I notice IWDG doesn't have interrupt. is it possible to add some user defined code when IWDG is time out? it will trigger HardFault_Handler() when IWDG is time out? also if I use FREERTOS, do i need some specific setting for IWDG?

THANK YOU IN ADVANCE.

TDK
Guru

During startup, read the RCC_CSR flags to determine if the reset was caused by IWDG. If so, light up the LED. Clear the flags after you're done reading them.

IWDG doesn't cause a hard fault, it resets the chip.

If you feel a post has answered your question, please click "Accept as Solution".