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

18F452 4xPLL

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







18F452 4xPLL
PostPosted: Fri Jul 11, 2003 8:30 am     Reply with quote

I recently started using the 18F452 for a design I'm working on. This part has the ability to run at 40MHz using a 10MHz source, along with the 4xPLL enabled. How do I setup the #use delay at the top of my file? Would I use 40 or 10?

Thanks

Mike
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515878
john cutler



Joined: 06 Sep 2003
Posts: 82
Location: Hot Tub, California

View user's profile Send private message

Re: 18F452 4xPLL
PostPosted: Fri Jul 11, 2003 8:48 am     Reply with quote

:=I recently started using the 18F452 for a design I'm working on. This part has the ability to run at 40MHz using a 10MHz source, along with the 4xPLL enabled. How do I setup the #use delay at the top of my file? Would I use 40 or 10?
:=
:=Thanks
:=
:=Mike

#use delay(clock= 40000000)
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515880
R.J.Hamlett
Guest







Re: 18F452 4xPLL
PostPosted: Fri Jul 11, 2003 9:17 am     Reply with quote

:=I recently started using the 18F452 for a design I'm working on. This part has the ability to run at 40MHz using a 10MHz source, along with the 4xPLL enabled. How do I setup the #use delay at the top of my file? Would I use 40 or 10?
:=
:=Thanks
:=
:=Mike
A 'caveat'. You say '10MHz source'. The PLL, is _very_ critical about the input drive voltage. If the drive swings too far, you can get some very 'odd' behaviours, with the chip running at strange frequencies. Even operating off a crystal, it becomes vital to have a series resistor in a lot of cases to get good stable operation. If running off an external clock input, you may well need to attenuate the signal a little to make the PLL work. If you find the circuit is behaving strangely, you may need to look at this...

Best Wishes
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515881
Ted Larson
Guest







Re: 18F452 4xPLL
PostPosted: Fri Jul 11, 2003 1:42 pm     Reply with quote

:=:=I recently started using the 18F452 for a design I'm working on. This part has the ability to run at 40MHz using a 10MHz source, along with the 4xPLL enabled. How do I setup the #use delay at the top of my file? Would I use 40 or 10?
:=:=
:=:=Thanks
:=:=
:=:=Mike
:=
:=#use delay(clock= 40000000)

Also...just to add to this...you will need to make sure your FUSES is correct for a PLL clock.

#fuses H4

- Ted
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515888
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