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