Part Number: MSP430F2618
Greetings.
I wish to use the low frequency crystal oscillator LFXT1 / ACLK as the source for main processor clock MCLK.
The processor defaults to Digitally controlled Oscillator DCO at start up, and I will code the change to LFXT1 / ACLK.
But I am not able to set MCK to ACLK, and stays connected to DCO even though the family reference manual says it can be done.
I have studied the Basic Clock Module+ chapter and experimented with a variety of settings, but no luck.
Here are the settings I think should work.
Status Register SR = 0x004A
DCOCTL = 0x00
BCSCTL1 = 0x80
BCSCTL2 = 0xF6 (corrected since previous post)
BCSCTL3 = 0x0C
The register settings interact with each other, and I won't be surprised if I am overlooking something basic.
Help appreciated.