Hello
I want to generate an internal clock DCO = MCLK = SMCLK of 4 or 8MHz, without any external crystal. is this possible?
How can I set this up?
With an external 32.768kHz oscillator it works like this:
void initClock(void)
{
    // DCO = 32768 * 1 * (30+1) = 1.015 MHz
    SCFQCTL = 30;
    SCFI0 = (FLLD_1);
    FLL_CTL0 = DCOPLUS;    // undevided MCLK, no internal caps on LP-Osc.
    FLL_CTL1 = XT2OFF;    // SMCLK=MCLK=DCO, ACLK undevided
}
what do I need to change?
 
				 
		 
					 
                           
				