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

help with 18f4620

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



Joined: 20 Jun 2008
Posts: 10

View user's profile Send private message

help with 18f4620
PostPosted: Thu Feb 05, 2009 8:01 am     Reply with quote

Hi...
i am new to 18f series ...so anyone pls help me with the configuration of 18f4620.....can this pic work with 4MHz crystal...??
dbotkin



Joined: 08 Sep 2003
Posts: 197
Location: Omaha NE USA

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

PostPosted: Thu Feb 05, 2009 8:16 am     Reply with quote

Yes, it can. The question is whether you want to run it at 4 MHz or 16 (PLL on or off).

What else do you need help with? I'm also using the 18F4620 as my first 18F series. I haven't found any real challenges. The oscillator configuration is a little different.
bejoy_ak



Joined: 20 Jun 2008
Posts: 10

View user's profile Send private message

PostPosted: Thu Feb 05, 2009 8:49 pm     Reply with quote

i want it to run at 4MHz.....
Ttelmah
Guest







PostPosted: Fri Feb 06, 2009 3:56 am     Reply with quote

So, basically exactly the same as for a '16' chip.
Code:

#include <18F4620.h>
#FUSES NOWDT, XT, NOBROWNOUT, PUT, NOCPD, NODEBUG, NOLVP,  NOXINST, MCLR
#use delay(clock=4000000)


Best Wishes
bejoy_ak



Joined: 20 Jun 2008
Posts: 10

View user's profile Send private message

thanks
PostPosted: Fri Feb 06, 2009 5:54 am     Reply with quote

thanks frnd..
Now I am able to program the chip.
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