This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR2311: How to use DCO Calibration Value

Part Number: MSP430FR2311

I see the datasheet for the MSP430FR2311 has calibrated DCO tap settings for 16Mhz (at 30C). The note in the datasheet says "This value can be directly loaded into the DCO bits in the CSCTL0 register to get an accurate 16-MHz frequency...". 

Is there any example code from TI that uses this calibration value? Specifically, what are the recommended values for the other registers - CSCTL1, CSCTL2, and CSCTL3?

Thank you,
Chad C.

  • Chad,

    Since these bits are modified automatically during FLL operation I would recommend simply following the register values from msp430fr231x_CS_0[3/5].c if the FLL is enabled. If your application cannot use the FLL then the DCO tap settings are required and should be pointed to as such: #define DCO_TAP *((unsigned int *)0x1A22)

    After disabling the FLL, you would then modify CSCTL0 with: CSCTL0 |= DCO_TAP;

    But note that the CSCTL1 register will still require initialization. Because it is not stabilized by the FLL, temperature and voltage variations will influence the frequency of operation.

    Regards,
    Ryan

**Attention** This is a public forum