CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How to connect 2 Pic's with the same oscillator

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
benni



Joined: 28 Jun 2012
Posts: 28

View user's profile Send private message

How to connect 2 Pic's with the same oscillator
PostPosted: Sat Oct 06, 2012 3:02 pm     Reply with quote

Hello,

Like it stays above in the subject I want to know how I can use one oscillator for two PIC's.

A friend of me said that I need to connect the oscillator with PIC1 normally and then I need to connect the output PIN of PIC1 to the input PIN of PIC2.


Like this:

Is that true/right?

Regards Benni
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Oct 06, 2012 7:00 pm     Reply with quote

This is good question for Google, because there is so much prior
discussion on this topic. Search Google for this:
Quote:

same OR share crystal two PICs site:ccsinfo.com/forum

and
Quote:

same OR share crystal two PICs site:microchip.com/forums
benni



Joined: 28 Jun 2012
Posts: 28

View user's profile Send private message

PostPosted: Sun Oct 07, 2012 3:13 am     Reply with quote

Thank you,

i just found this:


And this is my answer :D

Thanks
Ttelmah



Joined: 11 Mar 2010
Posts: 19435

View user's profile Send private message

PostPosted: Sun Oct 07, 2012 4:05 am     Reply with quote

Yes. It has the 'downside' of slightly reducing the accuracy of the oscillator, unless you sit down and calculate the pin/track capacitance to the second PIC, and subtract this from the load capacitance used on the OSC2 pin. However provided the trace is short, the effect is small, and can usually be ignored.
Only 'comment' about the circuit is that it shows the load capacitors being connected to 'AGND'. Normally 'AGND, is reserved for analog circuitry, being 'analog ground'. The 'AGND' here needs to connect to the Vss pins on the pin, and 5v to the Vdd connections.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group