12f675 oscon!

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

12f675 oscon!

Post 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

medelec35
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!

Post 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
Last edited by medelec35 on Sun Feb 12, 2012 11:55 am, edited 1 time in total.
Martin

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: 12f675 oscon!

Post by jgu1 »

Hi Martin!

Thank you wery much. :D

Best regard

Jorgen.

Post Reply