View previous topic :: View next topic |
Author |
Message |
weg22
Joined: 08 Jul 2005 Posts: 91
|
2 PICs and 1 Oscillator? |
Posted: Thu Jan 25, 2007 2:14 pm |
|
|
Hi all,
I'm designing a PCB with 2 PICs on it. I was wondering if I can save space by using just one oscillator (i.e. feeding the output of the oscillator into both PICs CLK pin)?
Thanks,
-weg |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
weg22
Joined: 08 Jul 2005 Posts: 91
|
|
Posted: Thu Jan 25, 2007 2:36 pm |
|
|
Yes, I have the MX045HS 10MHz oscillator. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jan 25, 2007 4:03 pm |
|
|
You can do this, but ideally you would have the oscillator drive two
buffers which are placed near the oscillator's output pin. Each buffer
would then drive the clock signal going to each separate PIC. The
buffers could be something like 74AHC04 gates. A series resistor
might be used on the output of each buffer, to reduce ringing, if the
trace has to run for more than a short distance.
You may not want to add the separate buffer chip(s). So another
solution would be to use 22 ohm series resistors instead of the buffer
chips. The two resistors would be placed very close to the output pin
of the oscillator. The traces leaving the resistors (one to each PIC)
would be of equal length, and preferably they would be short (2 inches
or 5 cm each). |
|
|
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
|
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jan 25, 2007 4:21 pm |
|
|
I was just trying to be correct. I have Mr. Johnson's book on High Speed
Digital Design and I did consult it for this. The professors are always
deathly afraid of daisy-chaining clocks, etc. In the real world I might
have to do that, and I'd just use a single series resistor at the oscillator
output. I'd look at the signals to make sure that I had clean waveforms. |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Thu Jan 25, 2007 5:18 pm |
|
|
I doubt you have to worry about "high speed" stuff at 10MHz unless you have very long traces. I have run a 20MHz TTL oscillator through a couple of paralled HC logic gates as a buffer, then driving an 18" backplane driving a PIC and an HC logic gate on daughter card every 1.5". I put pads for a terminating RC at the end of the backplane, but didn't need to install it. The PIC expects a near sine wave from a crystal, so the waveform can be real bad without being a problem. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
|