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?
Stop pic from using int osc
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 130
- Joined: Sat Feb 26, 2011 4:26 am
- Location: South Africa
- Has thanked: 25 times
- Been thanked: 11 times
Re: Stop pic from using int osc
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.
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.
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel