SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
The CMD_PROP_RADIO_SETUP and CMD_PROP_RADIO_DIV_SETUP commands are used instead of CMD_RADIO_SETUP for proprietary mode radio. When CMD_PROP_RADIO_SETUP or CMD_PROP_RADIO_DIV_SETUP is executing, trim values are read from FCFG1 unless they have been provided elsewhere (see Section 26.3.3.1.2 for more details).
On start, the radio CPU sets up parameters for the proprietary mode with parameters given in Table 26-175. The modulation.modType parameter selects between GFSK and unshaped FSK. For FSK and GFSK, modulation.deviation gives the deviation in a step size that is programmable in modulation.stepSize. The radio CPU uses this parameter to calculate a proper shape for use in TX.
The accuracy of the deviation may be less than the programmed step size due to hardware limitations.
The symbol rate is programmed with symbolRate. The parameters are passed directly to the modem and may be calculated using an external tool. The symbol rate is given by Equation 15.
where
The rxBw parameter gives the receiver bandwidth. Values 64–108 give the supported bandwidths with the recommended settings. Values 32–52 give a subset of this and is supported for backwards compatibility with CC13x0. Values 1–18 give the same bandwidths as settings 35–52, for compatibility with the CC13x2x7 and CC26x2x7 device platform. The values supported and corresponding settings are summarized in Table 26-183. The receiver bandwidths are stated for an RF frequency of 868 MHz (LO divider 5), 915 MHz (LO divider 5), and 2432 MHz (LO divider 2). The bandwidth is proportional to the RF frequency multiplied by the LO divider.
Setting (Legacy) | Setting (Normal) | Setting (Enhanced) | Receiver Bandwidth (868 MHz) | Receiver Bandwidth (915 MHz) | Receiver Bandwidth (2432 MHz) | Default Intermediate Frequency (kHz) |
---|---|---|---|---|---|---|
— | — | 64 | 4.3 | 4.5 | 4.8 | 62.5 |
— | — | 65 | 4.9 | 5.1 | 5.4 | 62.5 |
— | — | 66 | 6.1 | 6.5 | 6.9 | 62.5 |
— | — | 67 | 7.4 | 7.8 | 8.2 | 62.5 |
— | — | 68 | 8.5 | 9.0 | 9.6 | 125 |
— | — | 69 | 9.7 | 10.2 | 10.9 | 125 |
— | — | 70 | 12.2 | 12.9 | 13.7 | 125 |
— | — | 71 | 14.7 | 15.5 | 16.5 | 125 |
— | — | 72 | 17.1 | 18.0 | 19.1 | 125 |
— | — | 73 | 19.4 | 20.5 | 21.8 | 125 |
— | — | 74 | 24.5 | 25.8 | 27.4 | 125 |
— | — | 75 | 29.4 | 31.0 | 33.0 | 125 |
— | — | 76 | 34.1 | 36.0 | 38.3 | 250 |
— | 32 | 77 | 38.9 | 41.0 | 43.5 | 250 |
— | 33 | 78 | 49.0 | 51.6 | 54.9 | 250 |
— | 34 | 79 | 58.9 | 62.1 | 66.0 | 250 |
— | — | 80 | 68.3 | 72.0 | 76.5 | 250 |
1 | 35 | 81 | 77.7 | 81.9 | 87.1 | 250 |
2 | 36 | 82 | 98.0 | 103.3 | 109.8 | 250 |
3 | 37 | 83 | 117.7 | 124.1 | 131.9 | 250 |
— | — | 84 | 136.6 | 144.0 | 153.1 | 500 |
4 | 38 | 85 | 155.4 | 163.8 | 174.2 | 500 |
5 | 39 | 86 | 195.9 | 206.5 | 219.6 | 500 |
6 | 40 | 87 | 235.5 | 248.2 | 263.9 | 500 |
— | — | 88 | 273.1 | 287.9 | 306.1 | 1000 |
7 | 41 | 89 | 310.8 | 327.6 | 348.3 | 1000 |
8 | 42 | 90 | 391.8 | 413.0 | 439.1 | 1000 |
9 | 43 | 91 | 470.9 | 496.4 | 527.8 | 1000 |
— | - | 92 | 546.3 | 575.8 | 612.2 | 1000 |
10 | 44 | 93 | 621.6 | 655.3 | 696.7 | 1000 |
11 | 45 | 94 | 783.6 | 826.0 | 878.2 | 1000 |
12 | 46 | 95 | 941.8 | 992.8 | 1055.6 | 1000 |
— | — | 96 | 1092.5 | 1151.7 | 1224.4 | 1000 |
13 | 47 | 97 | 1243.2 | 1310.5 | 1393.3 | 1000 |
14 | 48 | 98 | 1567.2 | 1652.1 | 1756.4 | 1000 |
15 | 49 | 99 | 1883.7 | 1985.7 | 2111.1 | 1000 |
— | — | 100 | 2185.1 | 2303.4 | 2448.9 | 1000 |
16 | 50 | 101 | 2486.5 | 2621.1 | 2786.7 | 1000 |
17 | 51 | 102 | 3134.4 | 3304.2 | 3512.9 | 1000 |
18 | 52 | 103 | 3767.4 | 3971.4 | 4222.2 | 1000 |
Others | Reserved |
The CMD_PROP_RADIO_DIV_SETUP command contains settings for frequency band and intermediate frequency. The center frequency of the band to use is given by centerFreq, and used for calculating the transmitter shaping filter and the TX IF. The divider to use in the synthesizer is given by loDivider. The user must ensure that the setting is compatible with the given frequency. A value of 0 or 2 is only allowed for devices supporting operation in the 2.4 GHz band, and a value greater than 2 is only allowed for devices supporting operation in the Sub-1 GHz band. In the CMD_PROP_RADIO_SETUP command, centerFreq defaults to 2432 MHz and loDivider defaults to 0.
For CMD_PROP_RADIO_DIV_SETUP, the intermediate frequency can be specified through the intFreq parameter, which calculates the setting in the modem for RX and is written to the configuration parameter area. If this parameter is 0x8000 and for CMD_PROP_RADIO_SETUP, a default intermediate frequency as given in Table 26-183 is used. It is checked whether the configured intermediate frequency is supported for TX. If not, the TX intermediate frequency is set to 0. This happens if the intermediate frequency is greater than the RF center frequency divided by 15500. This causes the synthesizer to be reprogrammed without recalibration between RX and TX. This may increase the necessary turnaround time or in some cases cause the frequency synthesizer to get out of lock, meaning that a recalibration is necessary when switching between RX and TX.
The preamConf setting gives the preamble. The preamble is a sequence of 1010... or 0101..., where preamConf.preamMode gives the first transmitted bit. For more than 16 bytes, only an even number of bytes is supported. Setting preamConf.nPreamBytes = 31 gives a 4-bit preamble, and setting preamConf.nPremBytes = 0 gives a 1-bit preamble.
The formatConf setting is used for various setup of the packet format. The sync word length is given by nSwBits, which can be up to 32 bits. The bit polarity for FSK type modulation is given by bBitReversal, which must be 1 for compatibility with CC1101. The bit ordering is given by bMsbFirst, where 1 gives compatibility with the CC1101 device, and so forth. The whitenMode setting can select a whitener scheme. Other whiteners are obtained using override settings. Details of the IEEE 802.15.4g settings are given in Section 26.10.5.2.1. The fecMode setting can be used to change the encoding of the transmitted or received signal. For long-range mode (fecMode = 8), the nSwBits setting and the sync word programmed in the RX and TX commands are ignored, and a hard-coded 64-bit sync word with good performance is used. Setting fecMode to 10 enables Manchester coding. Only encoding/decoding of the payload and CRC is supported. A 0 will be encoded as 01b and a 1 as 10b.
The command sets up a 16-bit CRC with the polynomial x16 + x15 + x2 + 1 and initialization of all 1s. This is compatible with the CC1101 device. Other polynomials, lengths, and initializations can be obtained by parameter overrides.
The pRegOverride parameter gives a pointer to an override structure, just as the one given for CMD_RADIO_SETUP. This parameter can be used for overriding parameters calculated from the other settings in the commands, as well as other parameters. If the value is NULL, no overrides are used.