cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I get an Early Warning Interrupt from the WWDG?

JKott
Associate

I am trying to use the WWDG EWI on the STM32F051. I can force the WWDG reset, but never seem to get the Early Warning Interrupt. I am setting EWIMode to WWDG_EWI_ENABLE when calling HAL_WWDG_Init(). I am trying to verify the interrupt by stopping the calls to HAL_WWDG_Refresh(). I see that the WWDG reset has happened but have no evidence of the EWI.

I have a HAL_WWDG_EarlyWakeupCallback() function in my code. I enable the IRQ and set the priority.

So what am I missing?

1 REPLY 1

Compiling as C++ and ISR name gets mangled?

Check if the ISR has the same name as in the vector table (in startup file), and in the disassembled output check if the ISR's address was properly inserted into the vector table.

JW