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


Groups > sci.electronics.design > #376567

Re: PIC oscillator Q

From Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Newsgroups sci.electronics.design
Subject Re: PIC oscillator Q
Date 2015-09-11 18:52 -0400
Organization A noiseless patient Spider
Message-ID <55F35B4A.1000108@electrooptical.net> (permalink)
References <zYaIx.3724$bU1.120@fx15.iad> <mss5s7$gbc$3@dont-email.me> <9%lIx.30696$Z33.19323@fx26.iad> <mstam0$j7p$1@dont-email.me>

Show all headers | View raw


On 9/10/2015 9:29 PM, John S wrote:
> On 9/10/2015 3:47 PM, Robert Baer wrote:
>> John S wrote:
>>> On 9/10/2015 3:13 AM, Robert Baer wrote:
>>>> It seems that an un-programmed PIC will not oscillate; the OSC pins
>>>> are at ground in the "raw" state, and 10Megs between them obviously
>>>> will
>>>> not get them to logic (linear) level.
>>>>
>>>> So, ASS-u-ME that the PIC is minimally programmed for an external
>>>> 20Mhz crystal and one would like it to oscillate at that frequency and
>>>> not higher, what changes would be needed, based on my old
>>>> Semi-universal
>>>> oscillator:
>>>>
>>>> Copied from "Semi-universal CMOS Xtal OSC" 11/11/2008 4:55 AM
>>>>
>>>> Plug crystal into appropiate socket; each has its specified load.
>>>> The drive resistor shown is the maximum value that allows all
>>>> frequencies of a given type to oscillate; some frequencies work
>>>> with higher R values (less drive).
>>>> NOTE: in *all* cases the frequency is higher than marked (
>>>> expected) value.
>>>> Made using a 74AC02 which oscillates near 140Mhz with no Xtal
>>>> plugged in (amplitude about 1V pk-pk at 5V supply).
>
> (snip munged ASCII schematic)
>
>>>
>>> If I understand you correctly, you want to know how to modify your
>>> circuit so that it produces a frequency no higher than the crystal's
>>> marking. Yes?
>>>
>>>
>>    Exactly. A few tens of Hertz more or less is acceptable; i could live
>> with a few hundreds if absolutely necessary.
>>    Part value ideas?
>
> The manufacturer usually specifies the "loading" capacitance that must
> be used to achieve their target frequency. Note that the 22p and 10p are
> in series across the crystal (the loading). By increasing the
> capacitance, you might be able to pull the frequency to where you want.
> First try to increase the 10p. If fails to start and oscillate, then
> don't do that.
>
> I saw one circuit some years ago that had an inductor in series with the
> crystal, but can't remember any details.

That's usually a bad idea.  A crystal looks capacitive everyplace except 
between its series and parallel resonances, which is a huge help in 
making sure it wakes up at the right frequency.

An inductor in _parallel_ can help when you're building overtone 
oscillators, to cancel the otherwise-dominant parallel capacitance.

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

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


Thread

PIC oscillator Q Robert Baer <robertbaer@localnet.com> - 2015-09-10 01:13 -0700
  Re: PIC oscillator Q Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-10 10:29 +0100
    Re: PIC oscillator Q Robert Baer <robertbaer@localnet.com> - 2015-09-10 13:20 -0700
      Re: PIC oscillator Q Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-11 09:16 +0100
  Re: PIC oscillator Q Ian Malcolm <See.My.Sig.for.email@totally.invalid> - 2015-09-10 09:42 +0000
    Re: PIC oscillator Q Robert Baer <robertbaer@localnet.com> - 2015-09-10 13:32 -0700
      Re: PIC oscillator Q Ian Malcolm <See.My.Sig.for.email@totally.invalid> - 2015-09-10 22:21 +0000
        Re: PIC oscillator Q Ian Malcolm <See.My.Sig.for.email@totally.invalid> - 2015-09-10 22:25 +0000
  Re: PIC oscillator Q piglet <erichpwagner@hotmail.com> - 2015-09-10 14:45 +0100
    Re: PIC oscillator Q Robert Baer <robertbaer@localnet.com> - 2015-09-10 13:43 -0700
  Re: PIC oscillator Q John S <Sophi.2@invalid.org> - 2015-09-10 10:01 -0500
    Re: PIC oscillator Q Robert Baer <robertbaer@localnet.com> - 2015-09-10 13:47 -0700
      Re: PIC oscillator Q John S <Sophi.2@invalid.org> - 2015-09-10 20:29 -0500
        Re: PIC oscillator Q John S <Sophi.2@invalid.org> - 2015-09-10 20:36 -0500
        Re: PIC oscillator Q Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-09-11 18:52 -0400
      Re: PIC oscillator Q Syd Rumpo <usenet@nononono.co.uk> - 2015-09-11 10:59 +0100
  Re: PIC oscillator Q "Tim Williams" <tmoranwms@charter.net> - 2015-09-10 15:27 -0500

csiph-web