I'm struggling to enable PLL on target device so internal oscillator is running at 32MH
8MHz internal osc x 4 via PLL
I have eblock with:
Code: Select all
OSCCONbits.NOSC = 0b111;
CLKDIVbits.RCDIV = 0b000;
Can only get hardware to run at 8MHz
Flowcode = V4.4.13.69
Maybe I need to used command to unlock first?
Not as familiar with 16 bit as I am with 8bit, so I'm assuming it's me rather than a bug
If anyone can help It would be really grateful.
Thank you
Martin