cancel
Showing results for 
Search instead for 
Did you mean: 

WWDG_IRQHandler not waked up

Cvadi.1
Associate II

hi, why WWDG_IRQHandler is not waking up, it configured even though not waking up.

please guide me and show me asample program for WWDG.

thanks

8 REPLIES 8

Is WWDG clock running in the state you want to wake up from?

Read out and check the related registers in WWDG and NVIC.

JW

Cvadi.1
Associate II

hi, thanks for your reply,

WWDG is enabled, it counts , i do refresh it using timer7, with command "HAL_WWDG_Refresh(&hwwdg);"; using this command it function fine;

but,

if i use the same command("HAL_WWDG_Refresh(&hwwdg);") in "void WWDG_IRQHandler(void)" function, the WWDG counter is not refreshed, and void WWDG_IRQHandler(void) function is not at all waked up at any time then it gets resets the micro controller.

thanks

Is WWDG_IRQHandler() inserted properly into the vector table? (Check in disasm).

Is it enabled? (check in NVIC registers).

Btw. refreshing WWDG in its interrupt defeats it purpose.

JW

Cvadi.1
Associate II

hi, i am new to STM32CubeIDE and CubeMX, i used Cube MX for generating code configuration, if possible could please you come in team viewer.

thanks

I don't provide consulting.

I don't use Cube/CubeMX.

JW

Cvadi.1
Associate II

are you a member? or an employee of STM?

No I'm not ST employee.

Note, that this is primarily a user-driven forum with only casual ST presence.

JW

Cvadi.1
Associate II

ok thanks JW,

thanks for your reply.

one more question,

i am using STM32CubeIDE, STM32CubeMX;

while receiving data in UART2, the data is stored in a defined array with fixed memory location(ex: myData[10]), in any case if 11 number of data is received , then the array is circulated to store the data, i need to stop circulating the data, could please guide me how to stop circulating the data ?

thanks