![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
GSFC PIC
Joined: 05 Apr 2005 Posts: 8
|
PIC 16F877A Internal Oscillator Enable Problem |
Posted: Tue Oct 25, 2005 12:27 pm |
|
|
To PIC Masters,
First of all, I am a new PIC [spam], I have been learning a lot from you all PIC experts from this forum, and I am continuing to do so. I realy appreciate your help. So please be patient with me for any nonsense questions. Thanks all in advance
1) I am using PCWH CCS Complier version 3.222 for all files compilation
2) Recently I am using PIC 16F877A and PIC18F452/458 as a learning platform, I realy like these two PICs a lot. My problem is. for PIC16F877A, I am trying to use the Internal Oscillator by using #fuses parameter: INTRC or INTRC_IO, but the CCS complier won't recognize these two parameters, I went on to view the available valid fuses list from the DEVICE Editor, I did not see any INTRC nor INTRC_IO specified, I am trying to add these two parameters in the list but I do not know the MASK and the VALUE # for these two parameters, what should I do, please help ?
3) For PIC18F452/458, how do I use the Internal Oscillator function to run the PIC and what does the command OSCSEN do ? does it switch between the internal and the external oscillator when one or another failed ?
4) What are the advantages and disadvantages for using Internal Oscillator instead of External Oscillator when no CLK out is needed
Please Help ![Sad](images/smiles/icon_sad.gif) |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Oct 25, 2005 12:51 pm |
|
|
Quote: | My problem is. for PIC16F877A, I am trying to use the Internal Oscillator by using #fuses parameter: INTRC |
Quote: | For PIC18F452/458, how do I use the Internal Oscillator function to run the PIC and what does the command OSCSEN do |
Read the data sheets. Those PICs do not have INTRC or INTRC_IO mode.
Go to the Microchip "Data Sheet Finder" page. Select your PIC
in the drop-down box and wait for the page to load. Then download
the data sheet. In the 18F452 data sheet, read section 2.0 on
Oscillator Configurations. In the 16F877A, read section 14.2.
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2046 |
|
![](templates/subSilver/images/spacer.gif) |
GSFC PIC
Joined: 05 Apr 2005 Posts: 8
|
Thanks PCM Programmer |
Posted: Tue Oct 25, 2005 3:09 pm |
|
|
As usual, you gave good advices. Thanks again !
GSFC PIC |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|