Patent ID: 9438164
Filing Date: 2016-09-06
CPC Classification: H03B,H03J

Claim Text:
1. A method for calibrating an oscillator in an electronic device, the electronic device configured to communicate with an external device via an interface, the oscillator configurable to a plurality of coarse-tuned settings and a plurality of fine-tuned settings, each of the plurality of coarse-tuned settings and the plurality of fine-tuned settings resulting in a different frequency output by the oscillator, the method comprising: iteratively performing for the plurality of coarse-tuned settings: selecting one of the plurality of coarse-tuned settings to configure the oscillator based on the determined number of cycles output from the oscillator at the respective coarse-tuned settings; iteratively performing for the plurality of fine-tuned settings within the selected one of plurality of coarse-tuned capacitor settings: selecting one of the plurality of fine-tuned settings within the selected one of plurality of coarse-tuned capacitor to configure the oscillator based on the determined number of cycles output from the oscillator at the respective fine-tuned settings.