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.
hello, I want to use nested interrupts in LPC2148. I am doing program in which I have to use nested interrupts of only serial. when any interrupt comes, controller clears interrupt enable bit to mask the other interrupt coming. How to avoid this ?? I want to use serial interrupt in the ISR of serial. Is it possible?? plz help
First - it's Tamir, not "Sir"...
Yes, what you plan to do is possible but you do not need nested interrupts for it. You need to understand how to work with your chip's UART - interrupt driven (preferably) or not, and appropriate hardware. Read the user manual, learn the available samples and get started.
thanks Tamir,
use of nested interrupts was really headache. in that case stack was used and that was making my work slow. so I have scratched that idea. I just wanted to do that to change ISR location. now I am doing it directly without using nested interrupts.
on this thing I understand that instead of going in tedious way one should study more. there is always bypass..