Hi,
I am trying to initialize the clock for my msp430f1611 microcontroller. I found a sample code for the msp430g2xxx microcontroller
BCSCTL1 = CALBC1_16MHZ;
DCOCTL = CALDCO_16MHZ;
BCSCTL2 &= ~(DIVS_3);
I can't find in the data sheet CALCB_16MHZ and CALCDCO_16MHZ since they are specific of the g2xxx micro since they refer to a particular segment (segment A) of the flash memory I think. Is there any equivalent initialization for the msp430f1611 (equivalent constant names) or I need to use the RSELx bits and set the maximum frequency?
I think the last row (BCSCTL2 &= ~(DIVS_3); it's the only one that I can use in my code (right?). Does it set the divider for the SMCLK to 8 (I can't really understand how the bit are set with this declaration) ?
Thanks
Claudio