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

High crystal value or PLL

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








High crystal value or PLL
PostPosted: Wed Jan 30, 2008 11:49 am     Reply with quote

Hello, what is better:
to use 4MHz crystal and PLL to get CPU at 24Mhz
or to use 24MHz crystal?
cheers
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Wed Jan 30, 2008 11:55 am     Reply with quote

It's best to use a 24MHZ oscillator can rather than an Xtal at all. However, if you use the PLL, you must use a 6MHZ xtal to get 24MHZ (it is a x4 PLL NOT x6).
Guest








PostPosted: Wed Jan 30, 2008 12:13 pm     Reply with quote

dyeatman wrote:
However, if you use the PLL, you must use a 6MHZ xtal to get 24MHZ (it is a x4 PLL NOT x6).

Are you sure?
4MHz crystal => fuses would be: XTPLL,PLL1,CPUDIV3
which yields 24MHz for peripherals and CPU.
Isnt that correct?
Guest








PostPosted: Wed Jan 30, 2008 12:16 pm     Reply with quote

oh, it applies for 18F2455 (with USB) only . It is quite different for 18F2420 as I can see.
You are right then.
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