SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
Command ID number: 0x0803
CMD_FS is a radio operation command. In addition to the parameters listed in Table 26-9, the command structure contains the fields listed in Table 26-25, and can program the synthesizer to a specific frequency.
The frequency to use is given by frequency and fractFreq, and must be as close as possible to
(frequency + fractFreq / 65536) MHz.
The synthesizer is set up in RX mode or TX mode, depending on synthConf.bTxMode. This mode may be changed by radio operation commands when setting up RX or TX. If synthConf.refFreq is nonzero, a reference frequency of 48 MHz / synthConf.refFreq is used instead of the default one.
If the synthesizer is programmed and reports loss of lock after being in lock, the radio CPU raises the Synth_No_Lock interrupt. The synthesizer keeps running, but the system CPU may use this information to stop and restart the radio. The Synth_No_Lock is not raised more than once for each time the synthesizer is programmed. The interrupt may also occur for commands with implicit-frequency programming.
If the command is called with an illegal frequency or divider setting, the command ends with ERROR_PAR as the status. If the command is called without the radio being configured, it ends with ERROR_NO_SETUP as the status. If the command is called without the synthesizer being powered up, it ends with ERROR_NO_FS as status.
Byte Index | Field Name | Bit Index | Bit Field Name | Type | Description |
---|---|---|---|---|---|
14–15 | frequency | W | The frequency in MHz to which the synthesizer should be tuned | ||
16–17 | fractFreq | W | Fractional part of the frequency to which the synthesizer should be tuned | ||
18 | synthConf | 0 | bTxMode | W | 0: Start synthesizer in RX mode. 1: Start synthesizer in TX mode. |
1–6 | refFreq | W | 0: Use default reference frequency. Others: Use reference frequency 48 MHz/refFreq. | ||
7 | Reserved | W | Reserved | ||
19–23 | Reserved | W | Reserved |