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.

MSP430FR2422: DCO setting

Part Number: MSP430FR2422

Hello

I would like to ask about the DCO setting for MSP430FR2422.

Customer references the msp430fr2422_CS_03.c of MSP430FR2422 sample code.
The MSP430FR2422 sample code (SLAC750C.ZIP) was obtained from the following URL.
www.ti.com/.../MSP430FR2422

Q1.
Does it need to use (enable) the FLL to set the DCO at 16MHz?
(Customer think that it is enough to set CSCTL1[DCORSEL] = 101b.)

Best Regards,

  • DCORSEL sets a range -- a rather large one. [Ref data sheet (SLASEE5C) Table 5-6. Each of the big boxes is a single RSEL setting.]

    So to narrow the speed you also need to set the DCO value in CSCTL0, but you need to know what value to put there, and that varies by device, temperature, and voltage.

    Or, you can tell the FLL the exact speed you want (you still have to pick an RSEL range) and it will figure out the DCO value for you. It will also monitor the clock and adjust the DCO value when (e.g.) temperature changes.

**Attention** This is a public forum