Pic 12F683 with external RC or Internal Clock

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
calimero88
Posts: 19
Joined: Fri Jul 27, 2007 2:56 pm

Pic 12F683 with external RC or Internal Clock

Post 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
Attachments
Test 18F252.fcfx
Test 12F683 with internal clock no clockOut
(4.84 KiB) Downloaded 292 times

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times

Re: Pic 12F683 with external RC or Internal Clock

Post 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

calimero88
Posts: 19
Joined: Fri Jul 27, 2007 2:56 pm

Re: Pic 12F683 with external RC or Internal Clock

Post by calimero88 »

good morning .
i have a error file attachement.

Sorry.
Attachments
test_12f683.fcfx
(4.76 KiB) Downloaded 282 times

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times

Re: Pic 12F683 with external RC or Internal Clock

Post 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
Attachments
1.jpg
1.jpg (95.8 KiB) Viewed 5145 times
2.jpg
2.jpg (137.66 KiB) Viewed 5145 times

calimero88
Posts: 19
Joined: Fri Jul 27, 2007 2:56 pm

Re: Pic 12F683 with external RC or Internal Clock

Post by calimero88 »

My config is correct.

Thanks
Attachments
Flowcode 12F683.jpg
(310.45 KiB) Downloaded 787 times

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times

Re: Pic 12F683 with external RC or Internal Clock

Post 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

calimero88
Posts: 19
Joined: Fri Jul 27, 2007 2:56 pm

Re: Pic 12F683 with external RC or Internal Clock

Post by calimero88 »

I tested other config 12F683. it is work .

See image attachment.

Thanks
Attachments
Flowcode6 12F683.jpg
(291.97 KiB) Downloaded 783 times

Post Reply