CR Trimming Functions (PDL_CR)

Revolutionize Clock Accuracy with CR Component

About

The CR Component enables you to change the factory-set trimming values for the high-speed CR clock (CLKHC) from firmware. This can significantly improve the clock accuracy from the value quoted in the device datasheet.

The CR module from the Peripheral Driver Library (PDL) is automatically added to your project. It includes functions to read and modify the trimming values for frequency trimming, which adjusts for variations due to the manufacturing process, and temperature trimming, which adjusts for the temperature at which the device is operating. The Base Timer channel 0 can be used to measure the frequency and calculate the required trim values in real-time.

Fine-tune the high-speed CR clock frequency by adjusting for process variations and ambient temperature changes, while ensuring secure register locking to prevent unintended changes, and leverage the Base Timer output for manual trim setting calculation.

The CR Component enables you to change the factory-set trimming values for the high-speed CR clock (CLKHC) from firmware. This can significantly improve the clock accuracy from the value quoted in the device datasheet.

The CR module from the Peripheral Driver Library (PDL) is automatically added to your project. It includes functions to read and modify the trimming values for frequency trimming, which adjusts for variations due to the manufacturing process, and temperature trimming, which adjusts for the temperature at which the device is operating. The Base Timer channel 0 can be used to measure the frequency and calculate the required trim values in real-time.

Fine-tune the high-speed CR clock frequency by adjusting for process variations and ambient temperature changes, while ensuring secure register locking to prevent unintended changes, and leverage the Base Timer output for manual trim setting calculation.

CR Trimming
CR Trimming
CR Trimming

Design resources