Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello everyone,
I'm using pinchange interrupts on the MBED lpc1768 for the first time and something is going seriously wrong. I would like to get an interrupt on the rising edge of an input signal, and so far the code works fine. But sometimes I get some random interrupt between two pulses of the input signal. In the picture the readout of the scope is shown. The yellow signal is the input signal on the interrupt pin and the Blue signal is the toggling signal (toggled each interrupt). I really can't see a reason why the interrupt should be triggered at te point it is triggered now. The rise time of the yellow signal is 250ns and it comes from a voltagecomparator with hysteresis so I thought it would be 'nice' enough.
Thank you in advance for your help! Kind regards Geert