
Crystal Oscillator Topics
3
on-chip, no additional external components are required for
operation, pro vided a crystal with matched Cload is used.
A Patch for Crystals with an U nmatched Cload
As shown in
Figure 5
, Cypress recommends the addition of
an ex tern al capac it or, Cex t, on or c lose to the XTALOUT pin to
compensate for a Cload > 18 pF. Co and Cext are in parall el,
which, under AC conditions, are in series with Ci2. Solv ing th e
followi ng equatio n for Cext, which accounts for parasitics,
Eq. 6
give s the value of the external capacitor required. For a crys-
tal with Cload=20 pF, Cext = 9 pF would be required.
Note that for Cload < 17 pF, solving
Equatio n 7
(d oes not ac-
count for parasitics) for Cext resu lts in a nega tive capacitance
value.
Eq. 7
Thus, there is no patch available, and the user needs to in-
stead use a crystal with Cload = 17 to 1 8 pF. Us ing a capac itor
in se ries with the XTALIN or XT ALOUT p in will redue the Cload
seen by the crystal, but will ca use start-up pr o blems. This is
because the crystal n eeds to h ave a DC voltage across it to
start os cillations. And if a capacitor is u sed in serie s with t he
XTALIN and XTALOUT pins, this capacitor wil l block any DC
voltage nor mall y applied to the crystal on start-up.
Using a Series Resonant Crystal
In general, using a series resonant crystal with a parallel res-
onant cir cuit will introduce an error on the outp ut frequencies
of t he device. For Cypress’s on-chip oscillator, using a series
re sonant crystal will typically ad d a 50 0 ppm (.05%) error on
the output frequencies. For some a ppli cations, such as ti me
keeping, choosing the right crystal t ype is cru cial. For exam-
ple, a 50 ppm error in the reference frequency produces a real
time clocking error of 2 minutes per month. Thus, the user
must ensure that proper crystals are used w ith Cypress clock
generators.
Special Case: 32.768 kHz Cr ystal
The CY2291 and CY2295 offer intern al parallel resonant os-
cillation circuitry that c an p rodu ce a 32.768-kHz signal, which
is commonly used as a real time clock. Since the internal
circuitry does not have a biasing resistor on-chip, a 10-MΩ
re sistor must be pl a ced in parallel to the 32.7 68-kHz crystal,
as shown in
Figure 6
. Perf or ming the calculations based on
Equation 4
and
Equation 5
results in a crystal requirem ent of
Cload = 12 to 13 pF. If the crystal has Cloa d > 13 pF, then a Cext,
as c al cul at ed fr om
Equation 6
, is needed. If the Cload of the
crystal is le ss than 12 or 13 pF, a capacitor cannot be placed
in series with the 32XIN or 32XOUT pin, as ex plained before.
Using an External Signal Source
Frequently, a fr equency synthesizer is dr iven by an external
signal source rather than a crystal. In this case, the external
clock should be driven in on the XTALIN pin, and the XTA-
LOUT pin must be left floating. Cypress also recommends
using a small c oupling capacitor in seri es with t he sig nal , as
shown i n
Figure 7
. Such a capacitor pr ovides the benefits of
reduced lo ading of the signal source a nd restoration of duty
cycle, as explained below.
Reduced Loading
As shown in
Figure 7
, the two internal capacitors are each 34
pF. Without the coupling capacitor Ci1, the frequency source
is effectively driving Ceff=34 pF (not accounting for parasit-
C
L
C
i2eq
(C
oeq
C
ext
)
+⋅
C
i2eq
(C
oeq
C
ext
)
++
---------------------------------------------------------=
C
L
C
i2
(C
o
C
ext
)
+⋅
C
i2
C
o
C
ext
+()+
----------------------------------------------=
32XIN 32XOUT
Co=20 pF
G1
G2
TO 32K
OUTPUT
32.768 kHz CRYSTA L
Cload = 12 or 13 pF
Ci2=20 pF
Recommended if
Cload > 13 pF
Cext
10 MΩ
Parasitic
Capacita nce ≈ 2 pF Parasitic
Capacitance ≈ 2 pF
INTERNAL TO DEVICE
Figure 6. Using a 32.768 kHz Crystal