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
Mistake of setting the oscillator configuration of 18f25j50
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel