SWRA495L December 2015 – April 2025 CC1310 , CC1350 , CC2620 , CC2630 , CC2640 , CC2640R2F , CC2640R2F-Q1 , CC2642R-Q1 , CC2650 , CC2662R-Q1
Two functions exist in CC26XX and CC13XX 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, then the crystal can have a problem. The uncertainty of the first function is ± 50mV; a 50mV deviation from the expected value is not cause for concern.