Page 1 of 1

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

Posted: Tue Nov 26, 2019 9:08 am
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

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

Posted: Tue Nov 26, 2019 9:23 am
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 3995 times

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

Posted: Tue Nov 26, 2019 9:38 am
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

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

Posted: Tue Nov 26, 2019 9:39 am
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 3990 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 3990 times

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

Posted: Tue Nov 26, 2019 9:40 am
by QMESAR
Glad you found it while I was making this post :D

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

Posted: Tue Nov 26, 2019 10:09 am
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