SWRA495K December 2015 – April 2024 CC1310 , CC1350 , CC2620 , CC2630 , CC2640 , CC2640R2F , CC2640R2F-Q1 , CC2642R-Q1 , CC2650 , CC2662R-Q1
Two functions exist in CC26XX/13XXWARE for measuring the amplitude of the oscillations of the crystal, and comparing this amplitude to the expected amplitude. These functions are as follows:
The first function inserted into a piece of code returns the amplitude of the crystal in mV. The second function returns the expected oscillation amplitude, also in mV. These are debug functions only. The first function uses an on-chip ADC to measure the amplitude of the crystal. If these functions return greatly different values, the crystal may have a problem. The uncertainty of the first function is ± 50 mV; a 50 mV deviation from the expected value is not cause for concern.