Clocks

Requirements

Layout

  • Crystal are as close as possible to the device
  • Crystal trace width is at least 12 mils
  • There is a ground ring around crystals

Design

Compute Crystal capacitors


The following formula may be used to calculate a parallel resonant crystal's external load capacitors:
C_L = (C_X1 * C_X2) / (C_X1 + C_X2) + C_stray
where:
C_L = the crystal load capacitance
C_stray = the stray capacitance in the oscillator circuit, which will normally be in the 2pF to 5pF range.

Assuming that C_X1 = C_X2 then the equation becomes:
C_X1 = 2*( C_L - C_stray )

It is difficult to know exactly what the stray capacitance is, but if you find the oscillation frequency is too high, the load capacitor values can be increased. If the frequency is too low, the load capacitors can be decreased.
The device data sheet may also define a maximum crystal series resistance R_s.

  • Bookmark at
  • Bookmark "Clocks" at del.icio.us
  • Bookmark "Clocks" at Digg
  • Bookmark "Clocks" at blogmarks
  • Bookmark "Clocks" at Google
  • Bookmark "Clocks" at Facebook
  • Bookmark "Clocks" at Twitter