Add extra internal clock config stuff to PIC 12f1501 ( Use the Internal Ocillator Helper)

Moderator: Benj

Post Reply
chad
Posts: 198
Joined: Sun Nov 04, 2018 7:13 pm
Has thanked: 27 times
Been thanked: 33 times
Contact:

Add extra internal clock config stuff to PIC 12f1501 ( Use the Internal Ocillator Helper)

Post by chad »

* EDIT See above posts!

Hey, Just got the PIC8 Pack and I am playing with the chip and it looks like there are some config bit missing from the configuration.

Thanks,

Chad
Last edited by chad on Tue Nov 26, 2019 10:12 am, edited 1 time in total.

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
Contact:

Re: Add extra internal clock config stuff to PIC 12f1501

Post by QMESAR »

Hi.

Not sure what you are missing however the chip support 4 modes for Clock settings all 4 are available in FC
P1.jpg
P1.jpg (173.38 KiB) Viewed 3526 times

chad
Posts: 198
Joined: Sun Nov 04, 2018 7:13 pm
Has thanked: 27 times
Been thanked: 33 times
Contact:

Re: Add extra internal clock config stuff to PIC 12f1501 (found it)

Post by chad »

Hey, I found that. What I couldn't find was the Internal Oscillator Helper. Got it all going.

I have another problem now but I will post that elese ware.

Thanks
Chad

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
Contact:

Re: Add extra internal clock config stuff to PIC 12f1501

Post by QMESAR »

Hi
If you are looking to set the internal OSC at different speeds
(1) place a INTOSC helper on the 3D panel,then open properties set the clock speed you want (I used 16Mhz here)
P1.jpg
P1.jpg (77.25 KiB) Viewed 3521 times
You will see a value for the OSCCON register in the properties now place a C icon at the beginning of your Flowchart and enter this value in a call
as I show here and now compile your chart and the chip will run at your selected Internal OSC frequency
P2.jpg
P2.jpg (76.87 KiB) Viewed 3521 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
Contact:

Re: Add extra internal clock config stuff to PIC 12f1501

Post by QMESAR »

Glad you found it while I was making this post :D

chad
Posts: 198
Joined: Sun Nov 04, 2018 7:13 pm
Has thanked: 27 times
Been thanked: 33 times
Contact:

Re: Add extra internal clock config stuff to PIC 12f1501

Post by chad »

Thanks, I remembered seeing it a while back. It seems like that should be just built into the configurator?

I just posted a little pwm issue.. On to the next thing. . .

Yet another new chip;)

Chad

Post Reply