How to activate 32 mHz internal oscillator in PIC16F721

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Sergejs
Posts: 143
http://meble-kuchenne.info.pl
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

How to activate 32 mHz internal oscillator in PIC16F721

Post by Sergejs »

Hello, buy this MCU and I am unhappy. There is 500 kHz oscillator works by default. And I try all what I can but not possible activate internal oscillator at 32 mHz. Is there any solution for this problem if I am not programmer?

medelec35
Matrix Staff
Posts: 1457
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 513 times
Been thanked: 473 times

Re: How to activate 32 mHz internal oscillator in PIC16F721

Post by medelec35 »

Hello.
If you look at page 3 of the datasheet it states:
16F721 internal osc.png
16F721 internal osc.png (171.88 KiB) Viewed 894 times
This microcontroller's internal oscillator can only go up to 16MHz
All you do is within project options, set the clock speed to 16MHz and INTOSC PLLEN Enable tp 16MHz.
within the components ribbon use the search and enter intosc to add the Internal Oscillator Helper
Within its properties choose 16MHz.
For the rest of the details right click on the component after placing it on the 2d panel and select help.
Alternatively, when the component is shown within the search box, you can right or left-click on it and also select help.
Martin

Sergejs
Posts: 143
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

Re: How to activate 32 mHz internal oscillator in PIC16F721

Post by Sergejs »

medelec35 wrote:
Mon Aug 22, 2022 9:56 pm

within the components ribbon use the search and enter intosc to add the Internal Oscillator Helper
Within its properties choose 16MHz.
For the rest of the details right click on the component after placing it on the 2d panel and select help.
Alternatively, when the component is shown within the search box, you can right or left-click on it and also select help.
I do not understand what you wrote. Where, what, how?

Sergejs
Posts: 143
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

Re: How to activate 32 mHz internal oscillator in PIC16F721

Post by Sergejs »

Many thanks Martin !!! Now I understand and all works. But there is 16 mHz. You right. I just see another datasheet. Sorry.

Regards.

Post Reply