what crystal are you driving the PIC with? I notice you have the PLL enabled which will multiply the crystal freq. by 4 times. You have declared the operating frequency as 8 Mhz. If you have set the internal frequency as 8 Mhz then you are generating 24 Mhz. I would check your settings....
Bookmarks