|
|
View previous topic :: View next topic |
Author |
Message |
dongseong
Joined: 15 May 2005 Posts: 11
|
disable clockout |
Posted: Fri Jun 17, 2005 11:42 pm |
|
|
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
|
|
Posted: Sat Jun 18, 2005 12:59 am |
|
|
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
|
It works!! |
Posted: Sat Jun 18, 2005 5:00 am |
|
|
I appreciate your help!!! |
|
|
valemike Guest
|
|
Posted: Sat Jun 18, 2005 7:17 pm |
|
|
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. |
|
|
|
|
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
|