Check oscillator/Xtal accuracy - how to?


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    If you don't happen to have a frequency counter.
    You can put a 32768hz watch crystal or DS32KHZ compensated oscillator on TIMER1 and use it as the time base to measure your system frequency.

    I trust it more than frequency counters, which in the Mhz ranges can be off by several Khz, depending on the quality of the counter.

    An example of the technique can be found in Microchip's AN244.
    Although it's geared towards calibrating the internal oscillator, the concept is the same for externals.

    http://www.microchip.com/stellent/id...pnote=en012071
    DT

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default

    Thank you Darrel.

    I should have started searching there... Lots of infos to find in the application notes ;-)
    Roger

Similar Threads

  1. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  2. PIC16F877A - Timer0 won't interrupt
    By WishMaster^ in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 25th April 2007, 08:25
  3. Code check -- button not working
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd March 2006, 22:43
  4. Block Check on Serial Comms.
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th June 2005, 09:27
  5. Even Parity Check, How?
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 24th January 2005, 09:21

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts