I am trying to use the IRQ and ExtInt services on a Q2686 to monitor when an interrupt (20ms high to low pulse) occurs on INT1 . I do have the Real-Time feature enabled but I am experiencing problems: I have taken two approaches, each with it’s own problems:
1: I didn’t subscribe to the IRQ and ExtInt services, but rather subcribe to the unsolicited response of “+WIND: 12,1”. This works well, but every once in a while the CPU resets (Power up reset, not an Exception error). Can anyone tell me why and how do I solve this problem.
Approach 2: I subscribe to the IRQ and ExtInt services. I have followed the code in the sample application and the ADL user guide. The problem is every time I get an interrupt pulse the CPU resets with an Exception error. Any ideas?