We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all,
I am using lpc2138 working with EXT3 interrupt. hardware interrupt works fine for first time when I reset the board. But thereafter it does not detect any interrupt on EXT3. Plz suggest any re-initialization I have to do to detect hardware interrupt next time onwords.
Thank you in advance.
Are you acknowledging the ext3 interrupt and the vic? You need these two assigns to get any more interrupts from the same source.
Searching for EINT3 in the user manual should give you all information needed to reset the EINT3 interrupt source.
Thanks for showing interest.
I am doing this in my ISR
EXTINT = 0x08; //clear EINT3 flag VICVectAddr = 0; /* Update VIC priorities */
Then also 2nd time onwords it is not working.
Do you have edge-trigged or level-trigged interrupts?
If level-trigged, then it will not be possible to reset the interrupt until the interrupt signal is back to idle.
I am using edge trigger.