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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/23/10 17:41
Read: times


 
#179582 - Back to basics?
Responding to: ???'s previous message
Thanks Erik and Andy.

Guessed as much. Looks like some maths has to be done.

@32.768Khz each clock period is roughly 30.5 us.

So once every 2^15 number of bits I will clock 1 sec approx.

Once this basic unit is reached, then I just have to intilaize counters to roll over at 60, 60, 24 etc to display HH:MM:SS.

In short I just have a 2^47 bit up-count timer which I need to read and display as required. Who said life is easy ?!

Raghu

List of 10 messages in thread
TopicAuthorDate
RTC of the C8051F410 of Silabs            01/01/70 00:00      
   this should help            01/01/70 00:00      
      UNIX time            01/01/70 00:00      
         Back to basics?            01/01/70 00:00      
            What is approx about 32.768kHz being 2^15 ticks/s?            01/01/70 00:00      
               Lots of code available            01/01/70 00:00      
               Thats huge indeed !            01/01/70 00:00      
                  32.768kHz            01/01/70 00:00      
                     Normally best solution without radio receiver            01/01/70 00:00      
                        which tolerance would you prefer, and why?? :)            01/01/70 00:00      

Back to Subject List