ISR termination for LPC2148 (Interrupts)

Status
Not open for further replies.

shruv

Member level 2
Joined
Jun 13, 2013
Messages
47
Helped
1
Reputation
2
Reaction score
1
Trophy points
8
Visit site
Activity points
270
How to exit from an ISR written for lpc2148? The ISR is not terminating and coming back to the main function.
 

State the specific compiler in use and post your code, using either CODE or SYNTAX tags, so that it can be examined and proper advice can be offered.

However, one of the common issues is the interrupt flag which is triggering the interrupt is not cleared and acknowledge ISR completion before exiting the ISR.



The following tutorial should offer some guidance if using the KEIL compiler:

LPC2148 Interrupt Tutorial


BigDog
 
Reactions: shruv

    shruv

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…