pll only works with primary clock sources , if you set the int-osc as primary clock then it works as expectedif I change to Define Osc 32 the code will run slower (tested before with pause 1000 and led blink). Weird things happen with this 18F2580 MCU
Code:DEFINE OSC 32 OSCCON =% 01110000 '8MHz INTOSC OSCTUNE=% 01000000 '


Reply With Quote

Bookmarks