Oscillator configuration PIC16F18313
Posted: Tue Oct 02, 2018 8:57 am
Hello,
I want to run my PIC16F18313 at 4 MHZ for this i configure the chip like this: But when I Measure the CLKOUT Pin there is a 8 MHZ sawtooth.
After adding the following code:
Everything is fine. That means I can measure a 1 Mhz square
So now my question, should it work also by configure the chip via Project options ot is this a Bug?
I want to run my PIC16F18313 at 4 MHZ for this i configure the chip like this: But when I Measure the CLKOUT Pin there is a 8 MHZ sawtooth.
After adding the following code:
Code: Select all
OSCCON1 = 0x03;
So now my question, should it work also by configure the chip via Project options ot is this a Bug?