Mistake of setting the oscillator configuration of 18f25j50

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
HjH
Posts: 108
Joined: Sat Jul 03, 2010 4:38 pm
Been thanked: 2 times

Mistake of setting the oscillator configuration of 18f25j50

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Mistake of setting the oscillator configuration of 18f25

Post 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.

Post Reply