AnsweredAssumed Answered

[KEAZN64] Watchdog ISR is not working

Question asked by Mohammed Aboelnasr on Sep 18, 2017
Latest reply on Sep 20, 2017 by Mark Butcher

I am working on controller KEAZN64 (Cortex M0).

 

I am trying to implement a staff inside the ISR of the watchdog interrupt before reset.

However, when i write this sample of code;

 

_INTERRUPT void WDG_IRQHandler (void)
{
PORTA_SET_PIN(_BIT1);
}

 

and do a breakpoint at line including "PORTA" or wait for PORTA to detect the edge '1'.

Both ways show that ISR is not called after watchdog overflows.

 

Could someone help me to implement the ISR in a good manner please ?

Outcomes