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


Groups > sci.electronics.design > #565317 > unrolled thread

A bit of help with a crystal oscillator

Started byPeter <nospam@nospam9876.com>
First post2019-11-06 12:18 +0000
Last post2019-11-13 17:30 +0200
Articles 8 on this page of 68 — 14 participants

Back to article view | Back to sci.electronics.design


Contents

  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

Page 4 of 4 — ← Prev page 1 2 3 [4]


#565857

FromSteve Wilson <no@spam.com>
Date2019-11-09 13:41 +0000
Message-ID<XnsAB025868511A3idtokenpost@144.76.35.198>
In reply to#565821
Peter <nospam@nospam9876.com> wrote:

 
> Steve Wilson <no@spam.com> wrote
 
>>Do you know of any examples of Mosfet Colpitts? The only MOSFET
>>oscillators I know are plain inverters or balanced LC push-pull pairs that
>>use on-chip inductors. 

>>I have never seen a single-ended MOSFET crystal oscillator. 

>>Additionally, the voltage swing at the output may be too low to drive
>>digital logic. 
 
> Also Class A might be a problem if you are building a CPU which has
> very low power modes. You can't really throw away say 1mA.

Watch crystals use an inverter running off a tiny battery. They last for 
years. 

[toc] | [prev] | [next] | [standalone]


#565747

FromRick C <gnuarm.deletethisbit@gmail.com>
Date2019-11-08 14:46 -0800
Message-ID<ccd5737b-7c52-41fc-a8ce-3ed4353cf655@googlegroups.com>
In reply to#565729
On Friday, November 8, 2019 at 4:43:42 PM UTC-5, Jeroen Belleman wrote:
> On 2019-11-08 22:16, Steve Wilson wrote:
> > Jeroen Belleman <jeroen@nospam.please> wrote:
> >
> >> On 2019-11-08 16:21, jlarkin@highlandsniptechnology.com wrote:
> >>> On Fri, 8 Nov 2019 12:00:23 -0000 (UTC), Steve Wilson <no@spam.com>
> >>> wrote:
> >>>
> >>>> Jeroen Belleman <jeroen@nospam.please> wrote:
> >>>>
> >>>>> jlarkin@highlandsniptechnology.com wrote:
> >>>>
> >>>>>> This actually works, at least the single time I tried it:
> >>>>
> >>>>>> https://www.dropbox.com/s/xbjmhido66u6slz/XO.JPG?raw=1
> >>>>
> >>>>>> I never had the guts to do that in production.
> >>>>
> >>>>> Don't you dare! ;-)
> >>>>
> >>>>> Jeroen Belleman
> >>>>
> >>>> Actually, with a bit of care, this could be made into a nice 155 MHz
> >>>> Clapp oscillator. See 04.ASC JFET 155MHz Clapp Osc in Oscillators.zip
> >>>>
> >>>> https://drive.google.com/open?id=1ZsbpkV0aaKS5LURIb1dfu_ndshsSaYtf
> >>>
> >>> I thought it would be cool to make an XO from a schmitt trigger
> >>> inverter, a crystal to ground at the input, and a feedback resistor.
> >>> This must oscillate, and always does, just nowhere close to the
> >>> expected frequency. The crystal is just an expensive capacitor.
> >>>
> >>>
> >>>
> >>
> >> I suppose you've got a bit of an impedance mismatch there.
> >> The crystal can resonate all it wants, but the Schmitt trigger
> >> remains impervious to that.
> >>
> >> I've always wondered why ICs invariably use the Pierce.
> >> Wouldn't they rather use a topology that has one end of
> >> the crystal at GND and use the pin thus freed for something
> >> interesting? OK, you'd need a pair of caps inside the package,
> >> but is that a real problem?
> >
> > Cost. An inverter in a digital chip is essentially free. A Colpitts or
> > Clapp would require a bipolar or JFET, which may be incompatible with the
> > process.
> >
> > An extra pin may be a problem on a small ic. Just go to the next larger
> > size.
> 
> There's no reason why you can't make a Colpitts with MOSFETs. There
> are plenty of MOSFETs in an IC. Package pins are a precious limited
> resource.
> 
> Jeroen Belleman

+1

[toc] | [prev] | [next] | [standalone]


#565757

FromSteve Wilson <no@spam.com>
Date2019-11-08 23:31 +0000
Message-ID<XnsAB01BC72B9438idtokenpost@144.76.35.198>
In reply to#565729
Jeroen Belleman <jeroen@nospam.please> wrote:

> On 2019-11-08 22:16, Steve Wilson wrote:
>> Jeroen Belleman <jeroen@nospam.please> wrote:
>>
>>> On 2019-11-08 16:21, jlarkin@highlandsniptechnology.com wrote:
>>>> On Fri, 8 Nov 2019 12:00:23 -0000 (UTC), Steve Wilson <no@spam.com>
>>>> wrote: 
>>>>
>>>>> Jeroen Belleman <jeroen@nospam.please> wrote:
>>>>>
>>>>>> jlarkin@highlandsniptechnology.com wrote:
>>>>>
>>>>>>> This actually works, at least the single time I tried it:
>>>>>
>>>>>>> https://www.dropbox.com/s/xbjmhido66u6slz/XO.JPG?raw=1
>>>>>
>>>>>>> I never had the guts to do that in production.
>>>>>
>>>>>> Don't you dare! ;-)
>>>>>
>>>>>> Jeroen Belleman
>>>>>
>>>>> Actually, with a bit of care, this could be made into a nice 155 MHz
>>>>> Clapp oscillator. See 04.ASC JFET 155MHz Clapp Osc in
>>>>> Oscillators.zip 
>>>>>
>>>>> https://drive.google.com/open?id=1ZsbpkV0aaKS5LURIb1dfu_ndshsSaYtf
>>>>
>>>> I thought it would be cool to make an XO from a schmitt trigger
>>>> inverter, a crystal to ground at the input, and a feedback resistor.
>>>> This must oscillate, and always does, just nowhere close to the
>>>> expected frequency. The crystal is just an expensive capacitor.
>>>>
>>>>
>>>>
>>>
>>> I suppose you've got a bit of an impedance mismatch there.
>>> The crystal can resonate all it wants, but the Schmitt trigger
>>> remains impervious to that.
>>>
>>> I've always wondered why ICs invariably use the Pierce.
>>> Wouldn't they rather use a topology that has one end of
>>> the crystal at GND and use the pin thus freed for something
>>> interesting? OK, you'd need a pair of caps inside the package, but is
>>> that a real problem? 
>>
>> Cost. An inverter in a digital chip is essentially free. A Colpitts or
>> Clapp would require a bipolar or JFET, which may be incompatible with
>> the process. 
>>
>> An extra pin may be a problem on a small ic. Just go to the next larger
>> size. 
> 
> There's no reason why you can't make a Colpitts with MOSFETs. There
> are plenty of MOSFETs in an IC. Package pins are a precious limited
> resource.

> Jeroen Belleman
 
I did a google search. MOSFET Colpitts do exist. For example, see

"Loop Gain of the Common-Drain Colpitts Oscillator"

https://www.degruyter.com/downloadpdf/j/eletel.2010.56.issue-4/v10177-010-
0057-5/v10177-010-0057-5.pdf

However, the problem with a Colpitts is you need two pins. One for the 
gate, the other for the source or drain whichever configuration is used. If 
you put the capacitors on the chip, you only need one pin for the external 
inductor that is also connected to ground. But I have always heard putting 
capacitors on an ic are very expensive due to the area required.

An alternative is to use a factory-trimmed RC oscillator if the frequency 
requirements are not too strict. Another alternative for precision work is 
to mount the oscillator externally and use one pin to drive the ic.

Design is full of tradeoffs.

[toc] | [prev] | [next] | [standalone]


#565771

FromRick C <gnuarm.deletethisbit@gmail.com>
Date2019-11-08 17:35 -0800
Message-ID<ee1e5d50-d52c-4796-bda0-1d61f4477a19@googlegroups.com>
In reply to#565757
On Friday, November 8, 2019 at 6:31:35 PM UTC-5, Steve Wilson wrote:
> Jeroen Belleman <jeroen@nospam.please> wrote:
> 
> > On 2019-11-08 22:16, Steve Wilson wrote:
> >> Jeroen Belleman <jeroen@nospam.please> wrote:
> >>
> >>> On 2019-11-08 16:21, jlarkin@highlandsniptechnology.com wrote:
> >>>> On Fri, 8 Nov 2019 12:00:23 -0000 (UTC), Steve Wilson <no@spam.com>
> >>>> wrote: 
> >>>>
> >>>>> Jeroen Belleman <jeroen@nospam.please> wrote:
> >>>>>
> >>>>>> jlarkin@highlandsniptechnology.com wrote:
> >>>>>
> >>>>>>> This actually works, at least the single time I tried it:
> >>>>>
> >>>>>>> https://www.dropbox.com/s/xbjmhido66u6slz/XO.JPG?raw=1
> >>>>>
> >>>>>>> I never had the guts to do that in production.
> >>>>>
> >>>>>> Don't you dare! ;-)
> >>>>>
> >>>>>> Jeroen Belleman
> >>>>>
> >>>>> Actually, with a bit of care, this could be made into a nice 155 MHz
> >>>>> Clapp oscillator. See 04.ASC JFET 155MHz Clapp Osc in
> >>>>> Oscillators.zip 
> >>>>>
> >>>>> https://drive.google.com/open?id=1ZsbpkV0aaKS5LURIb1dfu_ndshsSaYtf
> >>>>
> >>>> I thought it would be cool to make an XO from a schmitt trigger
> >>>> inverter, a crystal to ground at the input, and a feedback resistor.
> >>>> This must oscillate, and always does, just nowhere close to the
> >>>> expected frequency. The crystal is just an expensive capacitor.
> >>>>
> >>>>
> >>>>
> >>>
> >>> I suppose you've got a bit of an impedance mismatch there.
> >>> The crystal can resonate all it wants, but the Schmitt trigger
> >>> remains impervious to that.
> >>>
> >>> I've always wondered why ICs invariably use the Pierce.
> >>> Wouldn't they rather use a topology that has one end of
> >>> the crystal at GND and use the pin thus freed for something
> >>> interesting? OK, you'd need a pair of caps inside the package, but is
> >>> that a real problem? 
> >>
> >> Cost. An inverter in a digital chip is essentially free. A Colpitts or
> >> Clapp would require a bipolar or JFET, which may be incompatible with
> >> the process. 
> >>
> >> An extra pin may be a problem on a small ic. Just go to the next larger
> >> size. 
> > 
> > There's no reason why you can't make a Colpitts with MOSFETs. There
> > are plenty of MOSFETs in an IC. Package pins are a precious limited
> > resource.
> 
> > Jeroen Belleman
>  
> I did a google search. MOSFET Colpitts do exist. For example, see
> 
> "Loop Gain of the Common-Drain Colpitts Oscillator"
> 
> https://www.degruyter.com/downloadpdf/j/eletel.2010.56.issue-4/v10177-010-
> 0057-5/v10177-010-0057-5.pdf
> 
> However, the problem with a Colpitts is you need two pins. One for the 
> gate, the other for the source or drain whichever configuration is used. If 
> you put the capacitors on the chip, you only need one pin for the external 
> inductor that is also connected to ground. But I have always heard putting 
> capacitors on an ic are very expensive due to the area required.

I believe the inductor is not used when the crystal sets the frequency. 


> An alternative is to use a factory-trimmed RC oscillator if the frequency 
> requirements are not too strict. Another alternative for precision work is 
> to mount the oscillator externally and use one pin to drive the ic.
> 
> Design is full of tradeoffs.

If an oscillator circuit (not any discussed here) is a bit more optimized for a single digital pin, the input threshold crossing can be detected, the output then can be stimulated with an impulse of opposite polarity (equivalent of AC coupling) and on the opposite phase of the crossing the same thing can happen with the opposite polarity impulse. 

Oscillation can be initiated by simply driving the circuit with impulses of approximately correct timing.  Rather than this being a stimulus in the AC domain, this is really to get the DC operating point established.  If this were a dedicated output a series resistance would be provided for the output internally on the chip.  

This is very much analogous to driving a clock pendulum with an impulse at mid swing.  The Shortt–Synchronome free pendulum clock did this with a gravity lever that was controlled electrically by the synchronized slave pendulum.  Other clocks do this using electromagnets, often controlled by a watch crystal oscillator.  

-- 

  Rick C.

  + Get 1,000 miles of free Supercharging
  + Tesla referral code - https://ts.la/richard11209

[toc] | [prev] | [next] | [standalone]


#565360

FromPeter <nospam@nospam9876.com>
Date2019-11-06 16:54 +0000
Message-ID<qputst$4eb$1@dont-email.me>
In reply to#565342
 jlarkin@highlandsniptechnology.com wrote:

>9 pF is pretty intrusive.

Sorry. The ZS1000 is 0.9pF :)

[toc] | [prev] | [next] | [standalone]


#566527

FromPeter <nospam@nospam9876.com>
Date2019-11-14 21:48 +0000
Message-ID<qqki3i$r3d$1@dont-email.me>
In reply to#565317
We got the 25MHz oscillator running fine, and easy enough to probe
with the 0.9pF probe, but the 32768Hz one is very delicate.

I realised why any probing kills it: the probe is 1Mohm and the
feedback resistor (inside the CPU) is 18Mohms. Clearly one needs to do
any probing via a capacitor, of say 10pF.


LM <sala.nimi@mail.com> wrote

>I have found crystal oscillators very uncritical. If some capacitor is
>missing, no one notices. Frequency is off some ppms (but from where).
>Stray capacitor are enough. STM32f407 crystal worked too. 32k crystals
>however are tricky to get running. If you are worried, you can use an
>crystal oscillator.
>On Wed, 06 Nov 2019 12:18:37 +0000, Peter <nospam@nospam9876.com>
>wrote:
>
>>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.

[toc] | [prev] | [next] | [standalone]


#566533

FromJohn Larkin <jlarkin@highland_atwork_technology.com>
Date2019-11-14 14:57 -0800
Message-ID<8rmrse54odg4lj032ci0s2ojmkp5rdu3di@4ax.com>
In reply to#565317
On Wed, 13 Nov 2019 17:30:12 +0200, LM <sala.nimi@mail.com> wrote:

>I have found crystal oscillators very uncritical. 

But you can pay $1000 for a good one.

And you can get into trouble in production, if 20% of them don't
oscillate.

-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#567915

FromLM <sala.nimi@mail.com>
Date2019-11-13 17:30 +0200
Message-ID<i38ose5cl36g3n7dgdkao1la721avetprj@4ax.com>
In reply to#565317
I have found crystal oscillators very uncritical. If some capacitor is
missing, no one notices. Frequency is off some ppms (but from where).
Stray capacitor are enough. STM32f407 crystal worked too. 32k crystals
however are tricky to get running. If you are worried, you can use an
crystal oscillator.
On Wed, 06 Nov 2019 12:18:37 +0000, Peter <nospam@nospam9876.com>
wrote:

>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.

[toc] | [prev] | [standalone]


Page 4 of 4 — ← Prev page 1 2 3 [4]

Back to top | Article view | sci.electronics.design


csiph-web