Page 1 of 1

Pic 12F683 with external RC or Internal Clock

Posted: Mon Sep 14, 2015 3:33 pm
by calimero88
Good morning.

I tested a PIC 12F683 with external Clock : the project is not work with internal Clock ( 8 MHz ) or external RC Clock . I use EB006 V7 and EB 004.

Thanks

Re: Pic 12F683 with external RC or Internal Clock

Posted: Mon Sep 14, 2015 4:06 pm
by QMESAR
The file you attached is for a PIC18F252 and you mentioned PIC12F in your post so what are you now working with and with which chip do you have a problem

Re: Pic 12F683 with external RC or Internal Clock

Posted: Mon Sep 14, 2015 5:26 pm
by calimero88
good morning .
i have a error file attachement.

Sorry.

Re: Pic 12F683 with external RC or Internal Clock

Posted: Mon Sep 14, 2015 5:53 pm
by QMESAR
In my opinion there are a few things you are not doing and that is the reason your internal oscillator is not working

(1) you have to use a C function call and set the OSCCON register to your needs
(2) if you are not clearing the watch dog in your FC diagram then you should not enable the watch dog timer
(3) why do you enable the Oscillator switch over mode as you are using the Internal OSC

Check the datasheet page 19 how to use the Internal Oscillator

Re: Pic 12F683 with external RC or Internal Clock

Posted: Mon Sep 14, 2015 7:50 pm
by calimero88
My config is correct.

Thanks

Re: Pic 12F683 with external RC or Internal Clock

Posted: Mon Sep 14, 2015 7:54 pm
by QMESAR
You clearly did not read my post properly :D
however if you believe your config is correct so be it , also if you do not want to set the OSCCON register so be it too :D
cannot make you do this hope you get it running

Re: Pic 12F683 with external RC or Internal Clock

Posted: Mon Sep 14, 2015 8:21 pm
by calimero88
I tested other config 12F683. it is work .

See image attachment.

Thanks