3.3.2 Digitally Controlled Oscillator (DCO)
The F13x/F14x and F23x/F24x have different DCO modules. The F23x/F24x 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 F13x/F14x MCU is in the 800-kHz range, but it is in the 1.2-MHz range for an F23x/F24x MCU. This needs to be considered for applications that run the device using the default DCO settings.
- On an F23x/F24x, 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 F13x/F14x MCU in combination with an external clock source to derive a stable high-speed system clock.
- The F13x/F14x has three bits to control the fundamental frequency range (RSELx in the BCSCTL1 register), and the F23x/F24x has four control bits. Care must be taken when porting algorithms such as a software FLL that modify these bits.
- If an F13/F14x application applies hard-coded DCOx, MODx, and RSELx values to the DCO control registers, this results in a different frequency range on an F23x/F24x.
- When enabling the external resistor DCO bias feature (by setting DCOR in the BCSCTL2 register), the F23x/F24x DCO starts behaving like an F13x/F14x 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]