PIC:how can we operate PIC24FJ256GB106 controller to 32MHz internal frequency

crystalfrequencymicrocontrollerpic

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:

enter image description here

Also, have a look at page 122 and other pages that may include information about this.