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

disable clockout

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



Joined: 15 May 2005
Posts: 11

View user's profile Send private message

disable clockout
PostPosted: Fri Jun 17, 2005 11:42 pm     Reply with quote

Hello,

Could someone please explain me how to disable clockout feature on 12F675?

Below is my fuse setting
========================================
#fuses INTRC,NOWDT,NOPROTECT,NOMCLR,PUT,BROWNOUT
#use DELAY(clock=4000000)


I need to use RA4 as general output pin, however it sends out a clock.

Thanks a lot in advance
Dong
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Jun 18, 2005 12:59 am     Reply with quote

Look near the start of the 12F675.H file. It shows the CCS fuse
parameters for that PIC:
Code:
//////// Fuses: LP,XT,HS,EC_IO,NOWDT,WDT,CPD,NOCPD,PROTECT,NOPROTECT,NOMCLR
//////// Fuses: MCLR,PUT,NOPUT,INTRC_IO,INTRC,RC_IO,RC,BROWNOUT,NOBROWNOUT


The one you want is INTRC_IO, which stands for Internal RC oscillator
with I/O function.

The CCS fuse parameters are not completely obvious, but once you learn
how to read them, it's not hard to choose the correct one.
dongseong



Joined: 15 May 2005
Posts: 11

View user's profile Send private message

It works!!
PostPosted: Sat Jun 18, 2005 5:00 am     Reply with quote

I appreciate your help!!! Very Happy
valemike
Guest







PostPosted: Sat Jun 18, 2005 7:17 pm     Reply with quote

If ever you're unsure what will get programmed into your #fuse bits, this is what I do.

(Assuming you're using MPLAB)
1. Compile the program under the MPLAB environment.
2. Go to the pulldown menu on top:
Configure-> Configuration Bits....

After each compile, then these bits in MPLAB get automatically updated. Thus you can verify after each compile.
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