AnsweredAssumed Answered

How to disable external interrupt detection during "Halt" in debug mode?

Question asked by mauri1106 on Nov 22, 2012
Latest reply on Nov 30, 2012 by mauri1106

Hello guys,

I'm working with BF518F.

In my application I use an external interrupt to recognise changes on a port pin used as GP Input. (PG13 on rising edge, Mask "B").

All works fine while the program run normally, but in debug mode, during "Halt", if a rising edge appears on the input, when I run again, the ISR are immediately called: it seems that the rising edge is always recognised, even if the processor is stopped.

Can someone explain this behaviour and suggest me how to workaround?

Thanks in advance

Maurizio

Outcomes