|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Interrupts per second
Actually, it depends entirely on how long it takes to execute your Interupt Handler code. If you keep triggering interupts before the last one finished, you end up interupting the interupt. Do this too many times and you blow the stack and the thing crashes.
So, the REAL question is: How much time has IFI given us to service an interupt without blowing up their code? Chow for now, Steve |
|
#2
|
|||
|
|||
|
Re: Interrupts per second
I figured that, since the interrupt simply calls a function which increments a variable, I shouldn't have any trouble with that...
|
|
#3
|
||||
|
||||
|
Re: Interrupts per second
Most processors block further interrupts on a pin once the first one has been received
so unless you re-enable interrupts inside the interrupt routine, it will not be able to interrupt the interrupts - usually you enable them in the last instruction before you return, or in some processors, the return-from-interupt instruction itself re-enables them |
|
#4
|
||||
|
||||
|
Re: Interrupts per second
True, except you are dealing with two layers of interupts here. The high priority interupt can interupt your low priority interupt. And since we don't know exactly what IFI is doing with their code...
I'm learning a LOT about what doesn't work with this machine. |
|
#5
|
|||
|
|||
|
Re: Interrupts per second
Quote:
|
|
#6
|
||||
|
||||
|
Re: Interrupts per second
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| INT2 and INT3 interrupts not working | Mercutio | Programming | 4 | 01-02-2004 13:27 |
| EDU Demo Code: Encoder Interfacing Using Interrupts | Kevin Watson | Programming | 4 | 08-01-2004 23:14 |
| Interrupts Questions | mightywombat | Programming | 0 | 03-01-2004 14:50 |
| Problem with interrupts on the PIC | Mike Betts | Programming | 7 | 16-12-2003 21:26 |
| Interrupts on the EDU-RC? | Andrew | Programming | 3 | 13-11-2003 23:16 |