You are here

CE97601 - Improving the Accuracy of the PSoC® 4 Internal Main Oscillator | Cypress Semiconductor

CE97601 - Improving the Accuracy of the PSoC® 4 Internal Main Oscillator

Last Updated: 
May 25, 2017
Version: 
*A

This example demonstrates how to trim the PSoC 4 internal main oscillator (IMO) to improve its accuracy.

Overview

The PSoC 4 IMO accuracy specification in the device datasheets is ±2%. This may be unacceptable, for example in communication channels such as UART. This code example demonstrates adjusting the frequency of the IMO to make it more accurate. A PSoC 4 trim register is adjusted to change the IMO frequency; see the PSoC 4 Registers Technical Reference Manual (TRM) for details.