This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

using nested interrupts in LPC2148

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

Parents
  • 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.

Reply
  • 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.

Children
  • 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..