Page 1 of 1

12f675 oscon!

Posted: Sat Feb 11, 2012 9:27 pm
by jgu1
Hi all!

The novice need help again :lol:

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 :D

Best regard

jorgen

Re: 12f675 oscon!

Posted: Sat Feb 11, 2012 11:07 pm
by medelec35
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

Re: 12f675 oscon!

Posted: Sun Feb 12, 2012 9:44 am
by jgu1
Hi Martin!

Thank you wery much. :D

Best regard

Jorgen.