Skip to main content
Associate II
September 22, 2025
Solved

WWDG interrupt keeps firing

  • September 22, 2025
  • 3 replies
  • 762 views

Hi, 

After configured the GPIO pins via STM32CudeMX and generated the code, when I run the firmware, the "WWDG_IRQHhandler()" problem keep appearing from no way and hinder me from the rest of the development. Please see the attached screen shoot picture. Even after I commented out the customize codes the problem didn't go away. Same problem seen on the P-NUCLEO-DONGLE too. I configured the MCU to support "USB HID + Zigbee".   

Any help?  

Phang_0-1758536892175.png

 

Best answer by TDK

You can view them in the SCR tab when debugging:

TDK_0-1758890934162.png

 

Take the VECTACTIVE number, subtract 16 and compare it to the IRQn_Type so see what the active interrupt is.

3 replies

TDK
Super User
September 22, 2025

This is probably the default IRQ handler, which means you've enabled an interrupt that you haven't implemented in the code. Perhaps it's misspelled.

 

Look at VECTACTIVE bits in SCB to find out which interrupt it's actually in.

"If you feel a post has answered your question, please click ""Accept as Solution""."
PhangAuthor
Associate II
September 25, 2025

Hi,

Based on your earlier reply, I can't find SCB register in the datasheet. What is the full name of SCB?

Can share with me the doc you have? By the way, when I reviewed the .ioc file via the CudeMX, 

the WWDG wasn't select and used at all actually. Same code loaded into P-Nucleo-Dongle demo board also give me the same result. 

 

Phang_0-1758787424737.png

Phang_1-1758787805015.png

 

PhangAuthor
Associate II
September 23, 2025

I see, OK I will check that. I will post here again if still facing the problem. Thanks.

TDK
TDKBest answer
Super User
September 26, 2025

You can view them in the SCR tab when debugging:

TDK_0-1758890934162.png

 

Take the VECTACTIVE number, subtract 16 and compare it to the IRQn_Type so see what the active interrupt is.

"If you feel a post has answered your question, please click ""Accept as Solution""."
PhangAuthor
Associate II
September 29, 2025

Hi TDK, 

Thanks for the details guide. Below is the VECTACTIVE value from my board 0x3C (60).

After minus 16, I got 44 which is "IPCC_C1_RX_IRQn = 44" is it correct?

Then this "IPCC_C1_RX_IRQn" used by the function "void HW_IPCC_Init( void )". 

From the CubeMX, when I select Zigbee, it requires IPCC enabled, so I'm lost now any suggestion what should I do next?  

Phang_0-1759117508318.png