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

HS PLL

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



Joined: 12 Jan 2009
Posts: 33

View user's profile Send private message

HS PLL
PostPosted: Wed Feb 18, 2009 9:24 am     Reply with quote

Hi, can i just re-assure myself by asking

is
Code:
#fuses   H4               // HS/PLL

#use    delay(clock=40000000)


all that is needed to set up a 40Mhz clock off a 10MHz crystal using pllX4?


thanks,
Matthew
Ttelmah
Guest







PostPosted: Wed Feb 18, 2009 9:37 am     Reply with quote

What chip?.
The oscillator configuration varies on different chips.

Best Wishes
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

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

PostPosted: Wed Feb 18, 2009 11:43 am     Reply with quote

If your having problems,.. also note that the PLL doesn't re-sync till you power off and on again.(power cycle)
mshearer



Joined: 12 Jan 2009
Posts: 33

View user's profile Send private message

PostPosted: Thu Feb 19, 2009 3:43 am     Reply with quote

Chip is the 18F4520.
My serial comms all work fine, which i guess is a good indicator that the clock/baud are working correctly

thanks for your help
matt
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