Author Topic: Measuring clocks  (Read 1408 times)

0 Members and 1 Guest are viewing this topic.

Offline johndon2000Topic starter

  • Contributor
  • Posts: 28
  • Country: gb
Measuring clocks
« on: June 14, 2013, 07:52:22 am »

Is there a way of reliably checking clocks as I've had a few issues.

I've had intances where a XTAL seems to be faulty but the cct is working fine (eg a 33MHZ clock is actually only 31MHZ but the cct still works ok)... but then I've had instances where the clock seems ok (it is 33MHz and amplitude etc seems oK) but the circuit isn't working, so I've replaced the clock and the fault clears!

Is it just me that has this issue of not being able to reliably see if a XTAL is working?!
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4228
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: Measuring clocks
« Reply #1 on: June 14, 2013, 10:36:39 am »
Bear in mind that what you're seeing is the behaviour of an oscillator when the extra capacitance of a scope probe is added. I tend to avoid designing with simple crystals wherever possible, because they can be rather sensitive and unpredictable; an integrated crystal oscillator module is more expensive but virtually guaranteed to be reliable - and because the output is buffered, you can probe it with a scope without affecting its frequency.

Borderline cases like these where some crystals don't oscillate at all, or at the correct frequency, probably indicate that the crystal, the capacitors and the drive level from the logic inverter aren't properly matched. It's a design issue that should be checked by the engineer who specified the particular components, and in particular, someone needs to check that the specific parts called up by the engineer haven't been substituted for apparently equivalent ones by someone unqualified to make that decision.

Sometimes it can help to probe other signals that should be derived from the master clock, rather than trying to probe the crystal itself. If, for example, a microprocessor has a PLL in it which uses the crystal as its reference, the outputs of the PLL will give a strong clue as to whether or not the master clock is OK. If, say, there's a 33MHz input from a crystal and a 100 MHz output from the CPU going to the DRAM, then if that 100 MHz clock is OK then the reference crystal probably is too.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf