Page 1 of 1

Stop pic from using int osc

Posted: Sat Feb 08, 2014 7:52 pm
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?

Re: Stop pic from using int osc

Posted: Mon Feb 10, 2014 10:53 am
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.

Re: Stop pic from using int osc

Posted: Mon Feb 10, 2014 11:56 am
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.

Re: Stop pic from using int osc

Posted: Mon Feb 10, 2014 11:59 am
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.