SWRA640H December 2018 – May 2024 CC1310 , CC1312R , CC1314R10 , CC1350 , CC1352P , CC1352R , CC1354P10 , CC1354R10 , CC2620 , CC2630 , CC2640 , CC2640R2F , CC2640R2F-Q1 , CC2642R , CC2642R-Q1 , CC2650 , CC2652P , CC2652R , CC2652R7 , CC2652RB , CC2652RSIP , CC2674P10 , CC2674R10
The HF oscillator has internal variable load capacitors (cap-array) in the IC and does not require external capacitors to be mounted. There are some exceptions. For details on when it is required to use external capacitors instead of the internal cap-array, see Section 3.1.1.
The load capacitance is set in CCFG.c through the following defines:
#ifndef SET_CCFG_MODE_CONF_XOSC_CAP_MOD
// #define SET_CCFG_MODE_CONF_XOSC_CAP_MOD 0x0 // Apply cap-array delta
#define SET_CCFG_MODE_CONF_XOSC_CAP_MOD 0x1 // Don't apply cap-array delta
#endif
#ifndef SET_CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA
#define SET_CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA 0xFF // Signed 8-bit value, directly modifying trimmed XOSC cap-array value
#endif
The SET_CCFG_MODE_CONF_XOSC_CAP_MOD defines tells the system whether it should use the default value or use an offset from the default value set by SET_CCFG_MODE_CONF_XOSC_CAPARRAY_DELTA. The default cap-array values are 9pF for CC13x0/CC26x0 QFN, 5pF for CC2640R2F WCSP, and 6.7pF for CC13x2/CC26x2.
The cap-array delta value is an offset from the default value that can be either negative or positive. Table 6-1 shows the resulting total capacitance measured on an evaluation board versus cap-array delta values. Note that the resulting capacitance value includes parasitic capacitances, which is why the lowest setting is not 0pF. Using a delta value equal to or lower than the most negative value in the table completely disables the internal load capacitor array.
The best way to measure the accuracy of the HF crystal oscillator is to output an unmodulated carrier wave from the radio and measuring the frequency offset from the wanted frequency using a spectrum analyzer. The relative offset of crystal frequency, typically stated in Parts per Million (ppm), is the same as the relative offset of the RF carrier.
For testing purposes cap-array delta values can be adjusted in SmartRF™ Studio. This simplifies tuning greatly by allowing on-the-fly updates of the load capacitance. The optimum value found in SmartRF Studio can then be entered into CCFG in the applicable software project.
Measured Capacitance on Reference Board (pF) | CCFG Delta Value for CC13x0/CC26x0 QFN | CCFG Delta Value for CC2640R2F WCSP | CCFG Delta Value for CC13x1/CC26x1 QFN | CCFG Delta Value for CC13x2/CC26x2 QFN | CCFG Delta Value for CC13x4/CC26x4 QFN |
---|---|---|---|---|---|
2.1 | < -55 | < -28 | < -40 | < -40 | < -40 |
2.1 | -55 | -28 | -40 | -40 | -40 |
2.2 | -54 | -27 | -39 | -39 | -39 |
2.3 | -53 | -26 | -38 | -38 | -38 |
2.4 | -52 | -25 | -37 | -37 | -37 |
2.5 | -51 | -24 | -36 | -36 | -36 |
2.6 | -50 | -23 | -35 | -35 | -35 |
2.7 | -49 | -22 | -34 | -34 | -34 |
2.7 | -48 | -21 | -33 | -33 | -33 |
2.8 | -47 | -20 | -32 | -32 | -32 |
2.9 | -46 | -19 | -31 | -31 | -31 |
3.0 | -45 | -18 | -30 | -30 | -30 |
3.1 | -44 | -17 | -29 | -29 | -29 |
3.2 | -43 | -16 | -28 | -28 | -28 |
3.3 | -42 | -15 | -27 | -27 | -27 |
3.4 | -41 | -14 | -26 | -26 | -26 |
3.4 | -40 | -13 | -25 | -25 | -25 |
3.6 | -38 | -12 | -24 | -24 | -24 |
3.7 | -37 | -11 | -23 | -23 | -23 |
3.8 | -36 | -10 | -22 | -22 | -22 |
3.9 | -35 | -9 | -21 | -21 | -21 |
4.0 | -34 | -8 | -20 | -20 | -20 |
4.1 | -33 | -7 | -19 | -19 | -19 |
4.3 | -32 | -6 | -18 | -18 | -18 |
4.4 | -31 | -5 | -17 | -17 | -17 |
4.5 | -30 | -4 | -16 | -16 | -16 |
4.6 | -29 | -3 | -15 | -15 | -15 |
4.7 | -28 | -2 | -14 | -14 | -14 |
4.8 | -27 | -1 | -13 | -13 | -13 |
5.0 | -26 | 0 | -12 | -12 | -12 |
5.1 | -25 | 1 | -11 | -11 | -11 |
5.2 | -24 | 2 | -10 | -10 | -10 |
5.3 | -23 | 3 | -9 | -9 | -9 |
5.5 | -21 | 4 | -8 | -8 | -8 |
5.6 | -20 | 5 | -7 | -7 | -7 |
5.8 | -19 | 6 | -6 | -6 | -6 |
5.9 | -18 | 7 | -5 | -5 | -5 |
6.1 | -17 | 8 | -4 | -4 | -4 |
6.2 | -16 | 9 | -3 | -3 | -3 |
6.4 | -15 | 10 | -2 | -2 | -2 |
6.5 | -14 | 11 | -1 | -1 | -1 |
6.7 | -13 | 12 | 0 | 0 | 0 |
6.8 | -12 | 13 | 1 | 1 | 1 |
7.0 | -11 | 14 | 2 | 2 | 2 |
7.1 | -10 | 15 | 3 | 3 | 3 |
7.3 | -9 | 16 | 4 | 4 | 4 |
7.4 | -8 | 17 | 5 | 5 | 5 |
7.6 | -7 | 18 | 6 | 6 | 6 |
7.7 | -6 | 19 | 7 | 7 | 7 |
7.9 | -5 | 21 | 8 | 8 | 8 |
8.2 | -4 | 22 | 9 | 9 | 9 |
8.4 | -3 | 23 | 10 | 10 | 10 |
8.6 | -2 | 24 | 11 | 11 | 11 |
8.8 | -1 | 25 | 12 | 12 | 12 |
9.0 | 0 | 26 | 13 | 13 | 13 |
9.2 | 1 | 27 | 14 | 14 | 14 |
9.4 | 2 | 28 | 15 | 15 | 15 |
9.6 | 3 | 29 | 16 | 16 | 16 |
9.8 | 4 | 30 | 17 | 17 | 17 |
10.1 | 5 | 31 | 18 | 18 | 18 |
10.3 | 6 | 32 | 19 | 19 | 19 |
10.5 | 7 | 33 | 20 | 20 | 20 |
10.7 | 8 | 34 | 21 | 21 | 21 |
10.9 | 9 | 35 | 22 | 22 | 22 |
11.1 | 10 | 36 | 23 | 23 | 23 |
11.1 | > 10 | > 36 | > 23 | > 23 | > 23 |