Hi. I plan to add USB functionality shortly but for now, USB is not used yet. Must I still have the external crystal for USB even if it's not used?
As to whether the PLL is available for the internal oscillator, I researched and got contradicting results. On page 2 of the official datasheet from Microchip, it says
4x Phase Lock Loop (PLL) – available for crystal and internal oscillators
On page 28, there is a full section of how to configure PLL in INTOSC modes. If I understand correctly, setting bit 6 of OSCTUNE (PLLEN) to 1 is all I need to to to enable the PLL (x4). However, many other online sources say that PLL is only supported for external oscillators. Strange. Regardless, even without PLL, the PIC should be running at 8Mhz. But my example using the FOR loop and compare with a PIC 16F @ 8Mhz shows that it is running only around 1 MHz, way to slow.
I think I have tried to change it to INTOSCIO_EC (external clock for USB) with the same effects.