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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/12/05 12:17
Modified:
  08/12/05 12:26

Read: times


 
#99256 - calculate
Responding to: ???'s previous message
I am using a crystal of 14.7456Mhz at 12 clock curently
How do you expect that to work?
an "empty" isr (RETI, nothing else) will make worst case execution 10 instruction cycles (if you have no MUL or DIV instructions 9 instruction cycles) and at your clock and running 12 clocks even an "empty" ISR will occasionally fail. Since an "empty" ISR is not of any use, your case will be worse.

WHY did you do this without even calculating the execution time????

When changing to 6 clocks, you better make sure your ISR is less than 6 Icycles long.

Erik

List of 11 messages in thread
TopicAuthorDate
Interrupt Latency            01/01/70 00:00      
   Clock speed ?            01/01/70 00:00      
   many factors            01/01/70 00:00      
      Just curious...            01/01/70 00:00      
         not that I know of, my recollection evid            01/01/70 00:00      
   Interrupt Latency            01/01/70 00:00      
      calculate            01/01/70 00:00      
      Could you poll instead?            01/01/70 00:00      
         He's got one, but is running it in 12 cl            01/01/70 00:00      
      Another way maybe            01/01/70 00:00      
      Depends upon the ISR & crystal            01/01/70 00:00      

Back to Subject List