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


Groups > sci.electronics.design > #376507

Re: PIC oscillator Q

From Syd Rumpo <usenet@nononono.co.uk>
Newsgroups sci.electronics.design
Subject Re: PIC oscillator Q
Date 2015-09-11 10:59 +0100
Organization A noiseless patient Spider
Message-ID <msu8i8$ime$1@dont-email.me> (permalink)
References <zYaIx.3724$bU1.120@fx15.iad> <mss5s7$gbc$3@dont-email.me> <9%lIx.30696$Z33.19323@fx26.iad>

Show all headers | View raw


On 10/09/2015 21:47, 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).
>>>
>>> Xlo (Khz)
>>> 10M Marking | Measured
>>> +-----/\/\----+ --------+-----------
>>> | | 32 | 32.7711
>>> | |\ | | 32.7710
>>> +-----| >o----+---+ | 32.7721
>>> | |/ | | --------+-----------
>>> | \ | 100 | 100.0033
>>> | 680K / | | 100.0042
>>> | \ | --------+-----------
>>> | Xlo | | 200 | 200.0951
>>> +-----o o----+ \ --------+-----------
>>> | | / 6.8K 1000 | 1000.386
>>> --- 10p --- \
>>> --- 22p --- | Xhi (Mhz)
>>> | | | Marking | Measured
>>> | V | ----------+-----------
>>> | Xhi | 2.000 | 2.000188
>>> +-----o o----+---+ | 2.000179
>>> | | ----------+-----------
>>> --- --- 3.579545 | 3.580152
>>> --- 18p --- 18p ----------+-----------
>>> | | 10.000 | 10.003115
>>> V GND V ----------+-----------
>>> 12.000 | 12.007229
>>>
>>
>> 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?

Yes, Farnell have 19.68MHz and 19.6608HMz crystals.

I'm guessing that someone is sending data at a rate in accordance with a 
specification, and someone else is receiving said data at a maximum rate 
as specified.  No slack when the TX uC clock is slightly faster than the 
RX uC clock and so you lose data.

Got the T-shirt, but the fix was easy - the RX guy just removed his 
artificial limit on RX rate which was a product of software engineering 
naivety.

Cheers
-- 
Syd

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