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 CCS Technical Support

Save a quartz and share clock between 2 PICs

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



Joined: 23 Aug 2008
Posts: 24
Location: Italy

View user's profile Send private message Visit poster's website

Save a quartz and share clock between 2 PICs
PostPosted: Sun Feb 05, 2012 12:44 pm     Reply with quote

Hi, I'm using 2 PICs on the same board, and I want to save a quartz; Does anyone know how to share the clock source? My idea is to connect the oscillator as usual to one of the PICs and configure it to oscillate correctly, and then connect the CLKO of this PIC to the CLKI of the other one, configuring it to use external clock. Will it work?
Thanks!
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: Save a quartz and share clock between 2 PICs
PostPosted: Sun Feb 05, 2012 12:56 pm     Reply with quote

gip_mad wrote:
Hi, I'm using 2 PICs on the same board, and I want to save a quartz; Does anyone know how to share the clock source? My idea is to connect the oscillator as usual to one of the PICs and configure it to oscillate correctly, and then connect the CLKO of this PIC to the CLKI of the other one, configuring it to use external clock. Will it work?
Thanks!


Yes however you have to take into account the additional capacitive loading of the second PIC's CLKI input and adjust the crystal load capacitor accordingly.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
gip_mad



Joined: 23 Aug 2008
Posts: 24
Location: Italy

View user's profile Send private message Visit poster's website

PostPosted: Sun Feb 05, 2012 12:58 pm     Reply with quote

I LOVE this forum.

Thank you!
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