also check your setting for OSCCON2.7 =1 , I think that bit is status bit to be read , not one that is set ???
bit 7 PLLRDY: PLL Run Status bit
1 = System clock comes from 4xPLL
0 = System clock comes from an oscillator, other than 4xPLL
also check your setting for OSCCON2.7 =1 , I think that bit is status bit to be read , not one that is set ???
bit 7 PLLRDY: PLL Run Status bit
1 = System clock comes from 4xPLL
0 = System clock comes from an oscillator, other than 4xPLL
Bookmarks