The microcontrollers are usually trimmed in the factory. How can I trim it myself if I need something better?

In the CodeWarrior for Microcontrollers v10.1, the trimming functionality is available in the PEMicro menu of the IDE menu bar. Whereas, in the CodeWarrior for Microcontrollers v10.2 or higher, you can access this functionality from Debug/Run Configurations dialog box. To trim a microcontroller follow the steps listed below:

  1. Select Debug Configurations from the IDE menu bar.

    The Debug Configurations dialog box appears.

    Figure 1. Debug Configurations Dialog Box

    Debug Configurations Dialog Box

  2. Click Edit from the Connection group.

    The Properties for <project_name> dialog box appears.

    Figure 2. Properties for <project_name> Dialog Box

    Properties for <project_name> Dialog Box

  3. Click Advanced Programming Options from the Connection tab.

    The Advanced Options dialog box appears.

    Figure 3. Advanced Options Dialog Box

    Advanced Options Dialog Box

  4. Check the Use custom trim reference frequency checkbox and specify the desired trim frequency for your microcontroller.
    Note: The trimming feature is not supported for all microcontroller devices.