How does the load capacitance of a crystal effect its clock?
rwgast_logicdesign
Posts: 1,464
Ok so I have a bunch of ds1302 RTC chips and they require a 32khz 6pF crystal the ds1307 apparently requires a 12pf crystal. So hoe exactly doe load capacitance effect a clock line, I mean on the prop you can usually throw an 18 or 20pf crystal on without any problems. I always though the PPM were the big deal.
I was looking at experimenting with both clocks and just wanted to buy a set of crystals in bulk but they have different the two clock have this different pF requirement
I was looking at experimenting with both clocks and just wanted to buy a set of crystals in bulk but they have different the two clock have this different pF requirement
Comments
-Phil
Also the prop manual says 5-16mhz xtal 36pF but all the crystals for the prop are 18/20pF cant remmber which at the moment.
The one last thing im trying to understand is if you were to use another chip to generate a clock for the prop, avr, rtc whatever how does load capacatine play into that equation?
Im sorry this stuff has just been bugging me for a long time and i cant really find a whole lot of information about the details here.
There was some discussion awhile back about the 36pF figure. I believe that's the total capacitance (both pins), whereas the crystal spec is per pin. I could be wrong about that, though.
-Phil
http://www.maximintegrated.com/app-notes/index.mvp/id/726
http://en.wikipedia.org/wiki/Crystal_oscillator
The oscillator in the Prop is of this type, and CG=CD=36pF. Make each of those 40pF to account for the capacitance of the pin and outside wiring. Two 40pF capacitors in series is 20pF. When you buy a 5MHz crystal that states a CL load of 20pF, you should find that it oscillates in fact very close to 5MHz. If you buy a crystal that is specified at 12pF instead of 20pF, that would oscillate a few or 10s of ppm higher than the specified 5MHz, but likely still within tolerance. The manufacturer of the crystal designs it and calibrates it to have the stated frequency when loaded with the stated capacitance. You can go to them and ask for what you want (for a price). For example, if a standard crystal is listed in the catalog as 5MHz 12pF, you can call them up and ask if they can do 5MHz 20pF in the same package, and they will provide a quote for as many as you want!
@tracey ok that cleared up most of my confusion with how the prop interacts with crystals
so this is the basic jist of it if i understand right. i thought load capacatence had something to do with how much energy the crystal stored. load capacatence is acually just a property of the crystal that tunes it to the exact frequency when it is matched with the specifed amount of capacatence, this is only relevant in a circuit where the xtal is parallel with the oscillator though. chips like the propeller and ds1302 have the caps built in while chips lile the avr omit the caps from there silicpn.
so in a situation where your using a chip or oscillator to clock the propeller you wouldnt worry about load cap as it only tunes a crystal. you would then connect the out put of the clocking chip or oscillator to the xi pin only becuase there is no reason for these to get the feedback from the xo pin?
the one thing im confused about still as far as the prop is it says you can connect a crystal to the xi pin only. would this be a series resonant circuit? why would someone take this path and why dont you see alot of prop schematics that do this? i would guess becuase parallel resonence is more accurate?