Did you try powering up with the PLL off and then turning it on later?
Try changing some of the CONFIG settings
and then at startupCode:CONFIG FOSC = HS2 ; HS oscillator (High power, 16 MHz - 25 MHz) CONFIG PLLCFG = OFF ; Disabled CONFIG PWRTEN = ON ; Enabled CONFIG BOREN = SBORDIS ; Enabled in hardware, SBOREN disabled CONFIG BORV = 0 ; 3.0V
Code:'*********************** Direct Pic Register Settings ************************ OSCCON = %00000000 'SCS[1:0] = 00, Default primary oscillator OSCCON2 = %00000000 'Clear ' enable the 4xPLL delayms 100 ' allow some time for osc and power to stabilize OSCTUNE.6 = 1 ' PLLEN = 1




Bookmarks