AtomSoft
Well-Known Member
Ok i just noticed why i may be running into issue while using this chip. I need some help or more info tho...
I got this from the ERRATA for it...
So does that mean i have to set the OSCCON then the PLL and then RE-SET the OSCCON ?
Or do i leave it as INTOSC ? Im using HSPLL but not getting the speed im supposed to... delays and such are way off...
I got this from the ERRATA for it...
Code:
Module: Phase Locked Loop (PLL)
When OSCCON<6:4> are configured to settings
other than a 4 MHz or 8 MHz INTOSC postscaler,
the PLLEN bit (OSCTUNE<6>) is forced
to ‘0’, even if firmware tries to set the PLLEN bit.
This may prevent firmware from enabling the
PLL.
Work around
Before attempting to set the PLLEN bit, configure
OSCCON<6:4> to ‘0b110’ or ‘0b111’ to
select the 4 MHz or 8 MHz INTOSC postscaler
So does that mean i have to set the OSCCON then the PLL and then RE-SET the OSCCON ?
Or do i leave it as INTOSC ? Im using HSPLL but not getting the speed im supposed to... delays and such are way off...