P
Peter
Guest
I have read a lot of stuff on this topic but find it hard to apply it.
I have a 25MHz xtal. For example Kyocera CX3225GB25000P0HPQZ1. The
spec says typ drive level 10uW, 100uW max.
The oscillator circuit is the usual Pierce one as in e.g. here
https://electronics.stackexchange.com/questions/368945/crystal-oscillator-circuit-design?rq=1
The CPU is a STM32F407VGT6.
The development kit for this CPU has the two caps for the xtal load
cap and the resistor is 220R. The xtal they use is an anonymous one,
however; old style metal can (HC49?).
The ST appnotes point one to a load of xtals which either don't exist
or are way too expensive for production
The internal feedback resistor is given as 200k which is fairly
normal.
Another appnote suggests measuring the xtal current, with a current
probe. I could construct a current probe with a little ferrite core (I
used to make these up for switching power supplies; a lot cheaper than
the Tek current probes) but these components are so tiny (0603-0805)
that the required loop would really mess things up.
The circuit runs fine, but I need to have some confidence in the
margins over temperature and component tolerances.
The load caps are 7pF, which should be about right for the 10pF load
cap of the xtal I am using, allowing for a bit of PCB capacitance (say
5pF). The above Kyocera P/N says 8pF.
OTOH I have read one appnote which says the CL calculation is
different: the cap value is to be the sum of the CPU pin stray cap and
the xtal load cap; this means the CL should be 15pF!
Probing the two ends of the xtal with a Wavesurfer 3034 with a ZS1000
probe (9pF/1Mohm) I see about 0.5V p-p one end and 0.3V p-p on the
other end.
Does this seem reasonable?
Many thanks for any comments.
I have a 25MHz xtal. For example Kyocera CX3225GB25000P0HPQZ1. The
spec says typ drive level 10uW, 100uW max.
The oscillator circuit is the usual Pierce one as in e.g. here
https://electronics.stackexchange.com/questions/368945/crystal-oscillator-circuit-design?rq=1
The CPU is a STM32F407VGT6.
The development kit for this CPU has the two caps for the xtal load
cap and the resistor is 220R. The xtal they use is an anonymous one,
however; old style metal can (HC49?).
The ST appnotes point one to a load of xtals which either don't exist
or are way too expensive for production
The internal feedback resistor is given as 200k which is fairly
normal.
Another appnote suggests measuring the xtal current, with a current
probe. I could construct a current probe with a little ferrite core (I
used to make these up for switching power supplies; a lot cheaper than
the Tek current probes) but these components are so tiny (0603-0805)
that the required loop would really mess things up.
The circuit runs fine, but I need to have some confidence in the
margins over temperature and component tolerances.
The load caps are 7pF, which should be about right for the 10pF load
cap of the xtal I am using, allowing for a bit of PCB capacitance (say
5pF). The above Kyocera P/N says 8pF.
OTOH I have read one appnote which says the CL calculation is
different: the cap value is to be the sum of the CPU pin stray cap and
the xtal load cap; this means the CL should be 15pF!
Probing the two ends of the xtal with a Wavesurfer 3034 with a ZS1000
probe (9pF/1Mohm) I see about 0.5V p-p one end and 0.3V p-p on the
other end.
Does this seem reasonable?
Many thanks for any comments.