I am using below configuration bits for 32MHz internal frequency.
_CONFIG2(IESO_OFF & FCKSM_CSECME & OSCIOFNC_ON & POSCMOD_NONE & FNOSC_FRCPLL)
I know that FNOSC_FRCPLL give me 32MHz frequency but I am getting only 8MHz frequency.
Is that any configuration which am i missing ?
Best Answer
In addition to that, you may have to set the
OSCCON
register to an appropriate value.From the page 123 of the datasheet:
Also, have a look at page 122 and other pages that may include information about this.