Stop pic from using int osc

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
Desdewit
Posts: 130
Joined: Sat Feb 26, 2011 4:26 am
Location: South Africa
Has thanked: 25 times
Been thanked: 11 times
Contact:

Stop pic from using int osc

Post by Desdewit »

Hi

Why can I not get my pic 18F46J50 from using the internal osc.
With a 1 sec led test I can see that my program is running way to fast and with the external osc removed the led keep on flashing.
Can the problem be the rtcc crystal connected to portC0 & portC1?
Attachments
1sec Test.fcf
(6.5 KiB) Downloaded 283 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Stop pic from using int osc

Post by Benj »

Hello,

There doesn't seem to be any config options set in your program.

Use the Build -> Project options menu to setup the configuration to match your hardware requirements.

Desdewit
Posts: 130
Joined: Sat Feb 26, 2011 4:26 am
Location: South Africa
Has thanked: 25 times
Been thanked: 11 times
Contact:

Re: Stop pic from using int osc

Post by Desdewit »

Hi Ben

I've tried different config settings in my main program without success.
I've tried using the HS options that are available but there are no speed difference.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Stop pic from using int osc

Post by Benj »

Hello,

I would suggest you go through the datasheet for the microcontroller specifically the configuration bits section and try and get each setting correct for your specific setup.

Then if your still having problems simply attach your program with the config you think is correct, describe your hardware setup and what you think is currently incorrect and hopefully that will help us to pinpoint what the issue is.

Post Reply