PDA

View Full Version : Timing issue with MiniPod


jamestastic
02-10-06, 08:55 AM
I have seen the other threads in this forum about timing, and still can't solve a problem I've had.

I need to count seconds, and have tried both the EVERY 50000 CYCLES SCHEDULE-RUNS method as well as monitoring TCFTICKS variable, and neither method keeps time to any decent accuracy. It seems to run a few seconds slow every several minutes (sorry for the lack of numbers, if desired I can put them up later.)

Could it be that my MCU isn't exactly running at 5MHz? How can I find the exact operating frequency programmatically?

nmitech
02-13-06, 10:53 AM
Please see this thread, it is also related to your program timming issue.

http://www.newmicros.com/discussion/showthread.php?t=499&highlight=timing