![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
hi,
I have a doubt on interrupts of ARM7 core. When there are two interrupts simultaneously occuring, then how the interrupts are serviced? thanks |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
I'm a bit familiar with some of the Phillips chips. This is from page 13 of the preliminary data sheet for the LPC2138 Quote:
There is a lot more info which follows, but you should get familiar with the data sheet for your controller. |
|||
|
|
|
|
|
(permalink) |
|
In very general terms, even with no assumption about priorities, the decision about which one to service is irrelevant. Whichever one goes first the other one must wait until the first one is complete, then take its turn. In some processors it is possible to allow nested interrupts. This should be avoided until you are really comfortable with the hardware and the system you are trying this on, and have a good reason for wanting to do it.
Under the assumption that interrupt processing time plus interrupt latency time is very much less than the interrupt arrival rate, then processing never falls behind. This is probably the most important reason why interrupt routines should be short and fast. It is almost always a mistake to perform lengthy and non-deterministic amounts of processing in an interrupt routine.
__________________
We never have time to do it right; but we always have time to do it over. Last edited by Papabravo; 14th June 2008 at 07:13 PM. |
|
|
|
|
|
|
(permalink) |
|
Thanks for the info provided
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| PIC Interrupts | UTMonkey | Micro Controllers | 5 | 17th December 2007 07:55 PM |
| Please help me with my Interrupts | Wilko | Micro Controllers | 7 | 18th November 2007 06:23 AM |
| Interrupts.... | asp1987 | Micro Controllers | 4 | 1st October 2007 11:33 AM |
| Development tools for ARM7 | Halo | Micro Controllers | 2 | 12th April 2007 08:49 PM |
| Interrupts or not interrupts ? That is the question ! | ZERS | Micro Controllers | 9 | 1st March 2005 07:25 PM |