Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62446

Forum Post: RE: Clock switching from DCOCLKDIV to XT2 and back to DCOCLKDIV

$
0
0
XT1 and DCOCLKDIV are two different clocks. (It appears you are using XT1 as the reference clock for the FLL.) Anyway, to change the SMCLK source, change the SELS field in the UCSCTL4 register: UCSCTL4 = (UCSCTL4 & ~SELS_7) | SELS__DCOCLKDIV;

Viewing all articles
Browse latest Browse all 62446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>