 | Discussion Forum |  |
|
|
using nested interrupts in LPC2148Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author sandy k Posted 19-Mar-2010 10:07 GMT Toolset ARM |  using nested interrupts in LPC2148 sandy k 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 | | Read-Only Author Tamir Michael Posted 19-Mar-2010 10:24 GMT Toolset ARM |  RE: using nested interrupts in LPC2148 Tamir Michael why do you want to do this? have you considered the consequences in terms of stack usage going haywire...? | | Read-Only Author Tamir Michael Posted 19-Mar-2010 10:24 GMT Toolset ARM |  RE: using nested interrupts in LPC2148 Tamir Michael I meant to say: possibly going haywire. | | Read-Only Author sandy k Posted 19-Mar-2010 10:40 GMT Toolset ARM |  RE: using nested interrupts in LPC2148 sandy k Sir, here I am doing connecting multiple LPC2148s by serial mode. here one is master and others are slave.master will decide the slave to talk with. first it will send wake up to all slave (ie I am using 0x00). on receiving this all slaves will wake up because the next data coming from master is slave addrs. on receiving this addrs all slave will check it with their own and only one slave will found match. further communication will be between this slave and master. so after receiving 0x00 from master all slave will take addrs from master and for this I need nested UART0 interrupt is it possible?? | | Read-Only Author Tamir Michael Posted 19-Mar-2010 11:02 GMT Toolset ARM |  RE: using nested interrupts in LPC2148 Tamir Michael 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. | | Read-Only Author sandy k Posted 21-Mar-2010 07:45 GMT Toolset ARM |  RE: using nested interrupts in LPC2148 sandy k 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.. | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|