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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/28/09 21:10
Read: times


 
#161797 - the absolute duration of one timer tick...
Responding to: ???'s previous message
... is dependent on your system clock.

It would be 1 us (hence 50000 timer ticks would cause an overfow after) only on the "classical" 12-clocker 8051 with a 12MHz crystal. You have a single-clocker, and we don't know its clock frequency. You might want to give here a link to the document you mention.

Besides, it's the reload registers' (R2CAPH/L) value you are interested in, not the timers' (TH2/TL2). Read the Timer2 tutorial perhaps. http://www.8052.com/tut8052.phtml#TIMER2

JW

List of 12 messages in thread
TopicAuthorDate
ADUC845 Timer2 Control Basics            01/01/70 00:00      
   Well well...            01/01/70 00:00      
   I'm guessing you already know..            01/01/70 00:00      
      Doesn't clarify why that value            01/01/70 00:00      
         the absolute duration of one timer tick...            01/01/70 00:00      
            not important, but what is            01/01/70 00:00      
            The timer tutorial was not helpful            01/01/70 00:00      
   It's the math that doesn't seem to work            01/01/70 00:00      
      321 Interrupts            01/01/70 00:00      
         Experimental path probably best            01/01/70 00:00      
      BTW - XLS Modeling            01/01/70 00:00      
         Timer counters connected to PLL            01/01/70 00:00      

Back to Subject List