Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #565345

Re: A bit of help with a crystal oscillator

From Peter <nospam@nospam9876.com>
Newsgroups sci.electronics.design
Subject Re: A bit of help with a crystal oscillator
Date 2019-11-06 16:13 +0000
Organization A noiseless patient Spider
Message-ID <qpureh$efn$1@dont-email.me> (permalink)
References <qpudmu$47b$1@dont-email.me> <qpukus$eo8$1@dont-email.me>

Show all headers | View raw


 "Tim Williams" <tiwill@seventransistorlabs.com> wrote:

>"Peter" <nospam@nospam9876.com> wrote in message 
>news:qpudmu$47b$1@dont-email.me...
>> 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 :)
>
>Mind that ST's oscillators have relatively low transconductance, so you need 
>a relatively high ESR crystal to go with it.  Which goes hand-in-hand with 
>low CL.  60R seems low, but 8pF should be reasonable, and the difference is 
>probably just the frequency being higher than other cases (e.g. a 4 or 12MHz 
>crystal is pretty common).

Many thanks.

I have two xtals

A cheap one from China (from AEL)
CL=10pF
ESR=60R
Pmax=100uW
C0=3pF

The branded Kyocera one
CL=8pF
ESR=60R
Pmax=100uW
C0=?

I think the chip pin and PCB capacitance is about 5pF, so what should
the two caps be?

If the load caps are 10pF, then both are really 15pF. Two 15pF in
series = 7.5pF so an 8pF xtal is right.

So for my "10pF" chinese one I should be used two 15pF caps. Is this
right? It seems weird.

Presumably getting this wrong doesn't change the starting conditions
for the oscillator; it just makes the frequency slightly off, a few
ppm?



>> 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!
>
>Yes, CL is the total as seen by the crystal.  So, the two loading caps in 
>parallel with the respective pin caps, and then the series equivalent of 
>both together.
>
>
>> 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.
>
>That sounds fine, but as you note, it's one case, not indicative of 
>manufacturing, temp or age spread.

The series resistor is more tricky.

Normally with oscillators around chips I have seen a swing on the
driving pin of almost GND to VCC, and perhaps 1/3 of that on the other
side of the xtal. Most people never bother with this resistor.

But I have seen some weird things on 32768Hz oscillators. Years ago I
had a design which would mysteriously gain maybe a minute per week. I
never worked out why. The RTC was a DS11302 - perhaps the lowest power
RTC ever. I reckoned that some RF was getting in.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 12:18 +0000
  Re: A bit of help with a crystal oscillator "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-11-06 08:27 -0600
    Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 16:13 +0000
      Re: A bit of help with a crystal oscillator "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-11-06 19:54 -0600
  Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-06 08:02 -0800
    Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 16:14 +0000
      Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-06 09:28 -0800
    Re: A bit of help with a crystal oscillator mpm <mpmillard@aol.com> - 2019-11-06 08:17 -0800
      Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-06 09:18 -0800
        Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 17:27 +0000
          Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-06 10:54 -0800
            Re: A bit of help with a crystal oscillator mpm <mpmillard@aol.com> - 2019-11-06 18:05 -0800
              Re: A bit of help with a crystal oscillator Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-11-07 08:16 +0000
                Re: A bit of help with a crystal oscillator "Don Kuenz, KB7RPU" <g@crcomp.net> - 2019-11-07 15:28 +0000
                Re: A bit of help with a crystal oscillator Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-11-08 08:14 +0000
                Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-08 17:56 +0000
                Re: A bit of help with a crystal oscillator Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-11-09 07:28 +0000
          Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 01:52 +0000
            Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 02:56 +0000
            Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-06 19:41 -0800
              Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 10:52 +0000
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-07 09:48 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 18:36 +0000
                Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-07 10:47 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 21:10 +0000
                Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-07 18:57 +0000
                Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-07 11:41 -0800
                Re: A bit of help with a crystal oscillator Jeroen Belleman <jeroen@nospam.please> - 2019-11-08 09:47 +0100
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 12:00 +0000
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-08 07:21 -0800
                Re: A bit of help with a crystal oscillator Rick C <gnuarm.deletethisbit@gmail.com> - 2019-11-08 07:39 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 16:14 +0000
                Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-08 10:20 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 18:32 +0000
                Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-08 10:58 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 19:34 +0000
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 03:04 +0000
                Re: A bit of help with a crystal oscillator upsidedown@downunder.com - 2019-11-09 07:08 +0200
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-08 22:05 -0800
                Re: A bit of help with a crystal oscillator upsidedown@downunder.com - 2019-11-09 10:08 +0200
                Re: A bit of help with a crystal oscillator upsidedown@downunder.com - 2019-11-09 14:07 +0200
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-09 08:59 -0800
                Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-09 10:01 +0000
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 13:51 +0000
                Re: A bit of help with a crystal oscillator upsidedown@downunder.com - 2019-11-09 13:45 +0200
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-09 09:03 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 17:27 +0000
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-09 09:59 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 19:53 +0000
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-09 12:08 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 23:45 +0000
                Re: A bit of help with a crystal oscillator Jeroen Belleman <jeroen@nospam.please> - 2019-11-08 20:27 +0100
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 21:16 +0000
                Re: A bit of help with a crystal oscillator Jeroen Belleman <jeroen@nospam.please> - 2019-11-08 22:43 +0100
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 22:21 +0000
                Re: A bit of help with a crystal oscillator Rick C <gnuarm.deletethisbit@gmail.com> - 2019-11-08 15:10 -0800
                Re: A bit of help with a crystal oscillator Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-11-09 18:35 +0200
                Re: A bit of help with a crystal oscillator keith wright <keith@kjwdesigns.com> - 2019-11-08 20:30 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 05:07 +0000
                Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-09 10:04 +0000
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 13:41 +0000
                Re: A bit of help with a crystal oscillator Rick C <gnuarm.deletethisbit@gmail.com> - 2019-11-08 14:46 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 23:31 +0000
                Re: A bit of help with a crystal oscillator Rick C <gnuarm.deletethisbit@gmail.com> - 2019-11-08 17:35 -0800
    Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 16:54 +0000
  Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-14 21:48 +0000
  Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-14 14:57 -0800
  Re: A bit of help with a crystal oscillator LM <sala.nimi@mail.com> - 2019-11-13 17:30 +0200

csiph-web