Quote Originally Posted by Charles Linquis View Post
I have -
OSCTUNE =%01000000 ' bit 6 to turn on the PLL
OSCCON = $F0 ' %11110000
Location 0x300001 (Config1H) = 0xF9 , as confirmed by my ICD2
OSC2 shows 2MHz, so the internal oscillator is running at 8MHz.
But, my code is only executing at the 8MHz rate. I'm not getting
the benefit of the PLL.
What am I doing wrong?
According to Section 2.6.4 of DS39689E, the PLL will only work on the internal oscillator if you have 4 or 8Mhz selected, thereby giving you the option of 16 or 32Mhz.


Then again, it is a 'Preliminary' datasheet...aren't they all? almost...