Crystal Considerations
Kye
Posts: 2,200
Hey guys,
Do I really need to match the load capacitance for the propeller chip using the xtal1, xtal2, or xtal3 settings?
Its pretty hard to find a 5mhz crystal with a 36pF load capacitance for sale.
... And lets say I found a 20Mhz crystal with a 16 pF load capacitance for the xtal3 setting. Would it be even possible to use such a crystal with pll4x since the internal first stage pll will multiply that number up to 320Mhz before bringin it back down to 80Mhz...
Thanks for your help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Do I really need to match the load capacitance for the propeller chip using the xtal1, xtal2, or xtal3 settings?
Its pretty hard to find a 5mhz crystal with a 36pF load capacitance for sale.
... And lets say I found a 20Mhz crystal with a 16 pF load capacitance for the xtal3 setting. Would it be even possible to use such a crystal with pll4x since the internal first stage pll will multiply that number up to 320Mhz before bringin it back down to 80Mhz...
Thanks for your help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Comments
-Phil
...Mmm, then I'm miss interpreting page 14 of the datasheet.
It list some different stuff for specifications there... Must be the propeller's internal load capacitors then.
Thanks,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
-Phil
Load capacitance of a crystal is in fact the capacitance that the oscillator presents to the crystal, and is the parallel sum of the capacitance at the input and at the output of the chip, plus strays. It is a property of the oscillator circuit and to some extent also the circuit board. When you order a crystal, you tell the crystal manufacturer what that load capacitance will be, so that they can make a crystal that will resonate at exactly the frequency you specify with that load capacitance. If it is mismatched, it will most likely still oscillate, but the frequency will be off by some ppm or even up to on the order of 0.1%. If a crystal is built for a load capacitance of 15 pF, but the oscillator actually presents a load capacitance of 36pF, then the frequency will be less than the value printed on the package. The exact "trim sensitivity" depends on the internal motional and shunt capacitances of the crystal itself. The Statek web site has good technical notes, and I particularly recommend number TN33.
Now the Prop data sheet states "Xin and Xout capacitance" of 36 pF on XTAL1. What does that mean? "X" usually refers to reactance in Ohms, a minor gripe. It is clear we are talking about capacitance, and 36 pF for both Cin and Cout would be extraordinarily high. That adds up to a total Cload of 72pF without counting in strays. Not likely. Maybe it means the total Cload is 36 pF. Still atypically high, but possible. It is noteworthy that the HC49 crystal that Parallax sells is specified to oscillate at 5mHz with a load capacitance of 20pF at XTAL1, and if the oscillator does in fact present a load capacitance of 36 pF (or 72pF) then the frequency will be pulled below 5 mHz.
The Prop data sheet also states that for oscillator input XTAL0, the pad capacitance is 6pF (pad only), which makes me wonder how we got up to 36 pF. If you have an input pad at 6pF and an output pad at 6pF, the Cload would be 12 pF, unless extra is added. I think I must be missing something about those specs, thus the head scratching.
I've been looking at some nice 6.25 mHz surface mount crystals, but their standard load is 12pF, and it costs a premium to order them with anything but the standard.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Post Edited (Tracy Allen) : 6/19/2009 12:30:37 AM GMT
Maybe Chip or Beau could fill us in on what the datasheet really refers to.
-Phil
Cload = 1 / (2*pi*F*Xc)
That comes from the condition that the series combination of the crystal and Cload is purely resistive at resonance.
How many ppm shift is tolerable for color composite video?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
In my own experience, I've seen the color drop out due to a poorly-soldered crystal connection, where everything else worked fine.
-Phil
With each capacitor in the Prop at XTAL1 being 36 pF, the series combination is 18pF and the crystal with a designated 20 pF load capacitance is just about perfect.
I'm assuming the Prop has a Pierce oscillator like the one pictured, and the Xout resistance corresponds to the RA output resistor (for stability against temperature changes and to reduce the xtal drive). And the Xin and Xout capacitance corresponds to the CG and CD. There also has to be a feedback resistor internally to bias the inverter into linear operation.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Decoders have to bee made to accept far wider errors as the 4.43MHz could be coming from all sorts of equipment such as computers, toys and set top boxes. As long as the frequency is kept within·that locking range the decoder will work, as the· reference burst will be equally wrong.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Style and grace : Nil point
With the usual Pierce oscillator used on most MCUs, the feedback capacitors are effectively in series. This is often the cause of much confusion because they appear to be in parallel when one looks at the schematic. Stray capacitance also needs to be taken into account, I usually assume 6 pF.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle