Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/13/08 06:54
Read: times


 
Msg Score: -1
 -1 Off-Topic
#150698 - Minimum ISR time
What is the minimum time needed to service a simple ISR and then return to the main program?

My 8052 has a 11.0592 MHz crystal. I wrote a program that increments a counter every time timer 1 overflows. I also have an ISR for timer 0 which fires every 50 msec. The timer0 ISR logs the number of times the timer 1 IRS counter was incremented in the 50 msec interval. I then tried different values for the timer 1 delay. I found that 40 usec was the smallest time I could use for timer 1 in order to reliably increment the ISR counter.

Is 40 usec typical? That seems awfully long to me.

Thanks!!

List of 12 messages in thread
TopicAuthorDate
Minimum ISR time            01/01/70 00:00      
   "bible" time?            01/01/70 00:00      
      details            01/01/70 00:00      
   re-expalin            01/01/70 00:00      
   Re: Minimum ISR time            01/01/70 00:00      
   what simple ISR?            01/01/70 00:00      
      You're right, it is bloody C            01/01/70 00:00      
         C and ISRs            01/01/70 00:00      
            Know thy tools            01/01/70 00:00      
               'using' can be counterproductive in SDCC            01/01/70 00:00      
         ISRs in C            01/01/70 00:00      
            Good point            01/01/70 00:00      

Back to Subject List