The PLL expects an input frequency that is a multiple of 4, which your 10 Mhz clock is not.
For this PIC I usually use a 4Mhz crystal with _PLLDIV_1_1L, _CPUDIV_OSC1_PLL2_1L, and _USBDIV_2_1L which results in a 48Mhz clock for the processor.
Have a look at the table in the data sheet on pages 29 and 30.
edit: also have a look at the figure on page 24 - it shows that the PLL must have a 4Mhz input.
Last edited by Kamikaze47; - 25th August 2008 at 09:56.
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
Bookmarks