element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Michael Wylie's Blog Losing Time ...
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: michaelwylie
  • Date Created: 6 Aug 2014 11:29 PM Date Created
  • Views 910 views
  • Likes 0 likes
  • Comments 6 comments
Related
Recommended

Losing Time ...

michaelwylie
michaelwylie
6 Aug 2014

I have been given some advice in the past with regard to purchasing components.

 

                Be wary of cheaper components. They are likely counterfeit, repurposed (second-hand), or out of specification.

 

It’s almost laughable how much cheaper some components are overseas. Up until this point, I hadn’t experienced any problems with cheaper components sourced from a country that will remain unnamed.

 

Up until this point…

 

So I'm working on a unit and I noticed the clock losing a few seconds every day. I wondered about the quality of the 32.768 kHz crystal I was using. I never had a frequency counter, and the resolution offered by my work oscilloscope wasn’t enough to give me a decent result. I applied for a RoadTest for the TBS 1202B-EDU a few months ago because I noticed it had a 6 digit frequency counter. I wasn’t successful in that application, but I was successful for the Ben Heck scope giveaway of the exact same oscilloscope. I completely forgot about the frequency counter until I saw the functionality on the scope when I booted it up. I decided to make a few measurements.

 

Here are the frequency measurements of the 32.768 kHz and 48.00 MHz crystals on a Silicon Labs starter kit:

 

image

 

image

 

So, let’s calculate the accuracy of the 32.768 kHz crystal:

(32,768 – 32,767.7)/32,768 = 9 ppm

And the 48.00 MHz crystal:

(48,000,000 – 47,996,900)/48,000,000 = 64 ppm

 

The specification on the NX5032GA-48.000M (48 MHz crystal) is 50 ppm, but that’s at 25 degrees Celsius, and it’s very rarely 25 degrees Celsius in Southern California. Because of the temperature tolerance, it’s understandable the frequency may be slightly incorrect. The 48 MHz clock is used for clocking the core of the microcontroller and for timing purposes the 32.768 kHz crystal is provided. Notice the accuracy of the 32.768 kHz crystal is much better than the 48 MHz one. The specification for the MS3V-T1R (32.768 kHz crystal) is tighter at 20 ppm.

 

Now, here is the measurement of my crystal:

 

image

 

32.772kHz! Let's calculate the accuracy:

(32,772.0 – 32,768)/32,768 = 122 ppm

 

122 ppm! Five times worse than the stated specification of the previous clock chip and almost 14 times worse through measurement. How many seconds in one day is that?

 

122 ppm * 60 * 60 * 24 = 10 seconds.

 

This clock loses 10 seconds a day!

 

Now, here comes the obligatory quote from the specifications of the scope. The scope can have a maximum error of 51 ppm.

  • Sign in to reply
  • michaelwylie
    michaelwylie over 10 years ago in reply to michaelkellett

    I went back and used a buffer, the result was slightly worse at 32.7725 kHz.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelkellett
    michaelkellett over 10 years ago in reply to michaelwylie

    You might get away with looking at a processor pin which is toggling at a rate derived from the crystal.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 10 years ago in reply to michaelkellett

    Oh, you're right, I never thought about the probe capacitance loading the circuit! The on board capacitors are 33 pF and my probes are <12 pF. If I had a datasheet I could tell you what the proper values should be, but the crystal has no part number and came with no datasheet (sketchy, right?). I'm going to need a buffer circuit.

     

    Thanks Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelkellett
    michaelkellett over 10 years ago in reply to michaelwylie

    How did you measure the frequency of the crystal (ie how did you connect the scope to the circuit and how did you buffer the signal so the scope didn't load it). Was the crystal  loaded correctly according to its data sheet ?

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelwylie
    michaelwylie over 10 years ago in reply to fvan

    Thanks. Next time I'll go for a Japanese made crystal.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube