SWCU191 February 2022 CC1311P3 , CC1311R3 , CC2651P3 , CC2651R3 , CC2651R3SIPA
When the carrier-sense command starts, the radio is set up in receive mode, and the operations described in Section 26.10.5.5.1 are performed. The radio must be set up in a compatible mode (such as proprietary mode) and the synthesizer programmed using CMD_FS.
If the trigger given by csEndTrigger and csEndTime is observed, the operation ends, and the current channel state is checked. If the state is BUSY or IDLE, the status is PROP_DONE_BUSY or PROP_DONE_IDLE, respectively. If the state is INVALID, the status depends on csConf.timeoutRes. If 0, the status is PROP_DONE_BUSYTIMEOUT; if 1, PROP_DONE_IDLETIMEOUT.
When CMD_PROP_CS ends and the status is PROP_DONE_BUSY or PROP_DONE_BUSYTIMEOUT, the synthesizer is turned off if csFsConf.bFsOffBusy is 1. If the command ends and the status is PROP_DONE_IDLE or PROP_DONE_IDLETIMEOUT, the synthesizer is turned off if csFsConf.bFsOffIdle is 1. If it ends with another status, the synthesizer is turned off if either of these bits is 1.
The end statuses for use with CMD_PROP_CS are summarized in Table 26-188. This status decides the next operation, as shown in Section 26.10.5.1.
Condition | Status Code | Result |
---|---|---|
Observed channel state Busy with csConf.busyOp = 1 | PROP_DONE_BUSY | TRUE |
Observed channel state Idle with csConf.idleOp = 1 | PROP_DONE_IDLE | FALSE |
Timeout trigger observed with channel state Busy | PROP_DONE_BUSY | TRUE |
Timeout trigger observed with channel state Idle | PROP_DONE_IDLE | FALSE |
Timeout trigger observed with channel state Invalid and csConf.timeoutRes = 0 | PROP_DONE_BUSYTIMEOUT | TRUE |
Timeout trigger observed with channel state Invalid and csConf.timeoutRes = 1 | PROP_DONE_IDLETIMEOUT | FALSE |
Received CMD_STOP after command started | PROP_DONE_STOPPED | FALSE |
Received CMD_ABORT after command started | PROP_DONE_ABORT | ABORT |
Observed illegal parameter | PROP_ERROR_PAR | ABORT |
Command sent without setting up the radio in a supported mode using CMD_PROP_RADIO_SETUP or CMD_RADIO_SETUP | PROP_ERROR_NO_SETUP | ABORT |
Command sent without the synthesizer being programmed | PROP_ERROR_NO_FS | ABORT |