Page 1 of 1

Mistake of setting the oscillator configuration of 18f25j50

Posted: Sun Jul 31, 2011 3:15 pm
by HjH
Hi

I have a 18F25J50 microcontroler with 12 MHz quartz.
I can't correctly setting the oscillatorfrequenc of the 18F25J50.

Every setting in the "PPP" have the same mistake clock pulse. In the example the clock pulse at RC2 should be at 1Hz, actually he has 0.33 Hz

What I am doing wrong
Flowcode_test_2.fcf
(4.5 KiB) Downloaded 214 times

Re: Mistake of setting the oscillator configuration of 18f25

Posted: Mon Aug 01, 2011 10:46 am
by Benj
Hello,

You have the PLL enabled in the config options so your clock speed in the project options window should be changed to 48000000. This should then give you accurate timing.