Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #377052
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Software Controlled Crystal Oscillator |
| Date | 2015-09-15 15:04 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <mt9pvo$71g$1@dont-email.me> (permalink) |
| References | <mt841o$4m3$1@dont-email.me> <m4mdncHCAd5MV2rInZ2dnUVZ5r-dnZ2d@giganews.com> <mt8lbm$94h$1@speranza.aioe.org> <GuudnbjIJpn202XInZ2dnUVZ5sQAAAAA@giganews.com> |
On 9/15/2015 12:59 PM, Tim Wescott wrote: > On Tue, 15 Sep 2015 10:37:12 +0200, Jeroen Belleman wrote: > >> On 2015-09-15 09:37, Tim Wescott wrote: >>> On Mon, 14 Sep 2015 23:43:38 -0400, rickman wrote: >>> >>>> An interesting chip design using async processors controls a single >>>> I/O pin with the conventional high/low and drive/hi-z bits. A crystal >>>> is connected to this pin and the goal is to make it oscillate. >>>> >>>> To start the crystal is driven with a square wave of approximately the >>>> right frequency as controlled by a timing loop of the async processor. >>>> [...] >>>> >>>> Once a drive frequency makes the crystal ring, it is continued by >>>> driving the output high for a minimum amount of time each time the >>>> input transitions from a low to a high. This way the crystal controls >>>> the rate of the circuit and the drive from the processor simply >>>> responds. >>>> >>>> [...] >>>> >>>> Any thoughts about whether it is important to isolate the crystal from >>>> a DC bias with a capacitor?[...] >>> >>> I can't speak to startup, but for steady-state operation I would start >>> trying to analyze the thing by finding the current out of the pin when >>> it is driven by a sine wave at a specific frequency. >>> >>> The fundamental of the current should be out of the processor >>> (indicating that it's got a negative impedance) and in phase with the >>> driving voltage. If it is, and if you can easily tweak the amount of >>> current out of the pin, then you're probably made in the shade. >>> >>> [...] >>> >>> I think you're safe with a couple of volts of bias on a crystal, but >>> I'm just guessing. Put a high-Z resistor in parallel with the crystal >>> and ground it with a cap and you'll at least make sure that any bias is >>> short- >>> lived. >>> >>> In your analysis you might want to take a look at the crystal overtones >>> -- operating 3x higher than you want to might be an embarrassment. >>> >>> >> A little DC across the crystal won't harm. But what's the point of all >> this? Aren't the usual crystal oscillators much simpler? If the purpose >> is to use just one pin instead of the usual two, there exist many >> oscillator topologies which have one side of the crystal grounded. No >> idea why those are never used in digital integrated circuits. Tradition? > > AFAIK Rick is using some newfangled processor that's basically a whole > bunch of really fast, really teeny cores in a systolic array. So -- if > I'm not mistaken -- he's planning on devoting one core and one pin to the > task of being a crystal oscillator, which will be used as a time base for > other operations on the processor. > > Rick can correct whatever I said that's wrong in the above paragraph. That's pretty much right. The GA144 was introduced some three or four years ago and has received no traction that anyone can tell. One of the many features they omitted was any sort of an oscillator.. who needs an oscillator for async processors? Well you don't, but you need a timing reference for many, many applications, like anything sampling with an ADC or recreating a signal with a DAC. Green Arrays (GA) had an app note on making an oscillator from one I/O pin and a crystal, but it was very incomplete. Chuck Moore tried using a 10 MHz crystal (iirc) but couldn't get it started, so used a ceramic resonator instead which worked well enough to drive a video monitor. Other apps are a bit more demanding, so a crystal is needed. An external oscillator could be used of course, but this adds to the long list of external things needed to make the GA144 useful. Someone posting in the forth group made it work using a dither technique he calls the Bresenham algorithm which I believe was intended to calculate pixels for a straight line and is essentially the same as an NCO. This gets around the issue of the resolution of a timing loop not being sufficient to start a crystal with its high Q. But there are a million other aspects of making a crystal work *well* and I am no expert. So I thought I would ask here. If a chip were being designed, then yeah, just add an oscillator amplifier. But the chip is done, work with what is available. -- Rick
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-14 23:43 -0400
Re: Software Controlled Crystal Oscillator Tim Wescott <tim@seemywebsite.com> - 2015-09-15 02:37 -0500
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-15 04:31 -0400
Re: Software Controlled Crystal Oscillator Tim Wescott <seemywebsite@myfooter.really> - 2015-09-15 11:57 -0500
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-15 15:24 -0400
Re: Software Controlled Crystal Oscillator Tim Wescott <seemywebsite@myfooter.really> - 2015-09-15 15:50 -0500
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 00:55 -0400
Re: Software Controlled Crystal Oscillator Tim Wescott <seemywebsite@myfooter.really> - 2015-09-16 14:05 -0500
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 15:21 -0400
Re: Software Controlled Crystal Oscillator Tim Wescott <seemywebsite@myfooter.really> - 2015-09-16 14:08 -0500
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 15:23 -0400
Re: Software Controlled Crystal Oscillator Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-09-15 14:52 -0700
Re: Software Controlled Crystal Oscillator Tim Wescott <seemywebsite@myfooter.really> - 2015-09-15 17:50 -0500
Re: Software Controlled Crystal Oscillator Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-09-15 16:12 -0700
Re: Software Controlled Crystal Oscillator Tim Wescott <seemywebsite@myfooter.really> - 2015-09-15 22:45 -0500
Re: Software Controlled Crystal Oscillator Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-09-15 22:06 -0700
Re: Software Controlled Crystal Oscillator Robert Baer <robertbaer@localnet.com> - 2015-09-15 22:24 -0700
Re: Software Controlled Crystal Oscillator Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-16 09:19 +0100
Re: Software Controlled Crystal Oscillator Robert Baer <robertbaer@localnet.com> - 2015-09-16 19:44 -0700
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-17 00:07 -0400
Re: Software Controlled Crystal Oscillator Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-17 09:41 +0100
Re: Software Controlled Crystal Oscillator Robert Baer <robertbaer@localnet.com> - 2015-09-15 22:18 -0700
Re: Software Controlled Crystal Oscillator Jeroen Belleman <jeroen@nospam.please> - 2015-09-15 10:37 +0200
Re: Software Controlled Crystal Oscillator Tim Wescott <seemywebsite@myfooter.really> - 2015-09-15 11:59 -0500
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-15 15:04 -0400
Re: Software Controlled Crystal Oscillator Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-15 21:05 +0100
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 00:39 -0400
Re: Software Controlled Crystal Oscillator Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-16 08:47 +0100
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 11:24 -0400
Re: Software Controlled Crystal Oscillator whit3rd <whit3rd@gmail.com> - 2015-09-15 15:27 -0700
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 00:43 -0400
Re: Software Controlled Crystal Oscillator Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-09-15 12:48 +0100
Re: Software Controlled Crystal Oscillator John Larkin <jjlarkin@highlandtechnology.com> - 2015-09-15 13:01 -0700
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 00:48 -0400
Re: Software Controlled Crystal Oscillator whit3rd <whit3rd@gmail.com> - 2015-09-16 11:41 -0700
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 15:07 -0400
Re: Software Controlled Crystal Oscillator Robert Baer <robertbaer@localnet.com> - 2015-09-15 22:10 -0700
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-16 11:28 -0400
Re: Software Controlled Crystal Oscillator Robert Baer <robertbaer@localnet.com> - 2015-09-16 19:52 -0700
Re: Software Controlled Crystal Oscillator rickman <gnuarm@gmail.com> - 2015-09-17 01:00 -0400
Re: Software Controlled Crystal Oscillator Robert Baer <robertbaer@localnet.com> - 2015-09-17 22:38 -0700
csiph-web