SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
The receive operation can end as a result of the end trigger given by endTrigger and endTime, or by a command. The commands that can end the receive operation are the immediate commands CMD_ABORT and CMD_STOP, and the foreground-level radio operation command CMD_IEEE_ABORT_BG. The end-trigger and the CMD_STOP command cause the receiver to keep running until the end of the frame, or until the reception would otherwise be stopped if observed while a packet was being received. The CMD_ABORT and CMD_IEEE_ABORT_BG commands cause the receiver to stop as quickly as the implementation allows.
A receive operation ends through one of the causes listed in Table 26-82. The status field of the command structure after the command has ended indicates the reason why the operation ended. In all cases, a COMMAND_DONE interrupt is raised. In each case, the result is indicated as TRUE, FALSE, or ABORT. The receiver decides whether to start the next command (if any) indicated in pNextOp, or to return to an IDLE state depending on the result. Before the receive operation ends, the radio CPU writes the maximum observed RSSI during the receive operation to pOutput->maxRssi.
If a transmit operation is started in the foreground, the receive operation is suspended. The receiver stops as when aborted, but the synthesizer is left on to the extent possible when switching to transmit mode. When the receiver has stopped, the status field of the command structure is set to IEEE_SUSPENDED. When the transmit command is done, the receiver restarts and the status field of the command structure is set back to RUNNING.
Condition | Status Code | Result |
---|---|---|
Observed end trigger and finished any ongoing reception | IEEE_DONE_OK | TRUE |
Received CMD_STOP | IEEE_DONE_STOPPED | FALSE |
Received CMD_ABORT or CMD_IEEE_ABORT_BG | IEEE_DONE_ABORT | ABORT |
Observed illegal parameter | IEEE_ERROR_PAR | ABORT |