The input to the PLL needs to be 4MHz , 16/4 = 4if set PLLDIV = 4 , its output around 16.8ms
CPUDIV = OSC1_PLL2 yields a 48MHz CPU clock if the PLL is fed correctly
If you don't post you code [in code tags] I would only be guessingdo you think any other setting was wrong ?




Bookmarks