Try XT_OSC. May be over-driving your 4MHz crystal and producing some odd harmonics?
Try XT_OSC. May be over-driving your 4MHz crystal and producing some odd harmonics?
First thing I tried when I noticed...
No change. Just strange.
I even removed the Xtal and set the internal oscillator to 4MHz... Still running appearently very fast.
Have to check.
Roger
Why it appears to be running faster I can't say. What are you placing in OSCCON?
Last edited by Bruce; - 4th November 2007 at 22:28.
I set bits <2:0> to specify the oscillator's mode selection (set in the config Word).
Oooops! Just found I forgot to set the TMR0 prescaler rate in the OPTION_REG register...
Everything is fine now.
Thanks a lot.
Last edited by flotulopex; - 5th November 2007 at 07:29.
Roger
Bookmarks