osccon=$70
or
& _PLLEN_OFF
osccon=$F0
also
it takes a little time for pll to stabilise
while !oscstat.6 : wend ;wait for pll ready
osccon=$70
or
& _PLLEN_OFF
osccon=$F0
also
it takes a little time for pll to stabilise
while !oscstat.6 : wend ;wait for pll ready
Last edited by richard; - 22nd June 2018 at 02:44.
Warning I'm not a teacher
Hmm, I did OSCCON=$F0 but at the same time & _PLLEN_ON.
Does it matter?
Ioannis
you would think not , but I have been using mplabx/mcc mostly lately and for some chips it does indeed matter it seems.
soft selecting pll always works so that's what i'm used to doing ,
Warning I'm not a teacher
Bookmarks