Hi all!
The novice need help again
How is it possible to configure the internal oscillator in a pic 12f675 if I don´t want to use a crystal.
And if possible to use Oscon, should I then change anything in "configure chip" if I use (osccon = 0x60;) in a C box, the compiler make error when I compile to hex if I use Oscon In a Cbox.
Hope you understand me, bad English
Best regard
jorgen
12f675 oscon!
Moderator: Benj
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: 12f675 oscon!
Hi jorgen,
osccon register is not used in those target devices.
This is because there is only one fixed internal oscillator speed which runs at 4MHz.
so all you do is select internal RC. Then set the Clock speed in project options to 4000000Hz
Martin
osccon register is not used in those target devices.
This is because there is only one fixed internal oscillator speed which runs at 4MHz.
so all you do is select internal RC. Then set the Clock speed in project options to 4000000Hz
Martin
Last edited by medelec35 on Sun Feb 12, 2012 11:55 am, edited 1 time in total.
Martin
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact: