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

Oscillator

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



Joined: 14 Jun 2005
Posts: 64

View user's profile Send private message

Oscillator
PostPosted: Wed Jul 13, 2005 3:17 pm     Reply with quote

Hi-
If I have two PICs that communicate with eachother can I use 1 oscillator for both (since both want to have the same clock rate)?
Thanks-
Sophi
valemike
Guest







Re: Oscillator
PostPosted: Wed Jul 13, 2005 3:30 pm     Reply with quote

Sophi wrote:
Hi-
If I have two PICs that communicate with eachother can I use 1 oscillator for both (since both want to have the same clock rate)?
Thanks-
Sophi


Yeah, you can. You would set your #fuse settings so that you can send CLKOUT from one of the PICs, and feed this to your single oscillator input on the other PIC.

What kind of communication do you want to do? You dont need the same clock rate if it was SPI, I2C, nor UART.
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Thu Jul 14, 2005 8:23 am     Reply with quote

Or you could simply have one clock oscillator feed both PIC's OSC1/CLKI and set your #fuses to reflect the proper clock source (EC_IO as an example).

Ronald
Guest








PostPosted: Thu Jul 14, 2005 9:48 am     Reply with quote

Hi-
Thanks for replies.
I had thought to save space and parts to use just one oscillator for two PICs. I ran out of processing space on the 16C67 and wanted to link to a 16C766. Since I can use a 20mHz clk with both.
Sophi
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