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

PIC16F676 internal oscillator (?)

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







PIC16F676 internal oscillator (?)
PostPosted: Mon Mar 30, 2009 2:14 am     Reply with quote

Could someone of you try to setup the PIC16F676 via the wizard? I cannot make it run cause looks like the internal oscillator is missing form CCS def files.. but looking at the '676 datasheet a 4MHz internal oscillator IS present; am i missing something?

Tnx.
Ttelmah
Guest







PostPosted: Mon Mar 30, 2009 7:31 am     Reply with quote

Would help if you said what compiler version?.
Also, only ask questions once.

All you should need, is to select the INTRC fuse, or the INTRC_IO fuse. Set the clock to 4MHz. There are not the options for this oscillator that exist on many of the other chips, since it only supports the one frequency.

Best Wishes
Guest








PostPosted: Mon Mar 30, 2009 1:04 pm     Reply with quote

Sorry about the double post, truly, this time i got a network slowdown, so I hitted F5 and got double posted :(

(Compiler version is 4.084)

Ok, maybe i stopped at the wizard where there are not options to play with clock; (also, i cannot see config works inside the device.h file).
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 30, 2009 1:08 pm     Reply with quote

Please use the forum's search engine.
http://www.ccsinfo.com/forum/search.php
Search for:
Quote:
16F676 INTRC_IO

Set it to "Search for all terms". Then you get links like this,
with sample code that shows how to use the internal oscillator:
http://www.ccsinfo.com/forum/viewtopic.php?t=32914
Guest








PostPosted: Tue Mar 31, 2009 5:20 am     Reply with quote

Whoa, got it!

as usual, thank you Wink
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