3.3.2 Digitally Controlled Oscillator (DCO)
The MSP430F16x and MSP430F261x have different DCO modules. The MSP430F261x DCO offers higher accuracy, an extended frequency range allowing operation of the device up to the maximum operating frequency, and factory-provided calibration constants to facilitate the design of systems that operate without external clock sources.
The key points that should be considered during migration are:
- The default DCO frequency of an MSP430F16x device is in the 800-kHz range, but is in the 1.2-MHz range for an MSP430F261x device. This needs to be considered for applications that run the device using the default DCO settings.
- On an MSP430F261x, consider loading any of the factory-provided DCO calibration constants into the DCO to achieve a deterministic and stable output frequency. The use of the DCO calibration constants may omit the need for software FLL algorithms used on an MSP430F16x device in combination with an external clock source to derive a stable high-speed system clock.
- The MSP430F16x has three bits to control the fundamental frequency range (RSELx in the BCSCTL1 register), and the MSP430F261x has four control bits. Care must be taken when porting algorithms such as a software FLL that modify these bits.
- In case an MSP430F16x application applies hard-coded DCOx, MODx, and RSELx values to the DCO control registers, they result in a different frequency range on an MSP430F261x.
- When enabling the external resistor DCO bias feature (by setting DCOR in the BCSCTL2 register), the MSP430F261x DCO start behaving like an MSP430F16x DCO. In this mode, the same bit settings and external bias resistors result in the same frequency being generated. See the device-specific data sheets for further details. [3][4]