SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
A master radio operation is started by a CMD_BLE_MASTER or a CMD_BLE5_MASTER command. In the command structure, it shall have a pParams parameter of the type defined in Table 26-97 and a pOutput parameter of the type defined in Table 26-109. The operation starts with transmission. After each transmission, the receiver is started.
A master operation shall end by one of the causes listed in Table 26-131. The status field of the command structure after the operation is ended indicates the reason why the operation ended. In all cases, a Command_Done interrupt is raised. In each case, the result of TRUE, FALSE, or ABORT is indicated, which will decide the next action.
Condition | Status Code | Result |
---|---|---|
Successfully received packet with MD = 0 after transmitting a packet with MD = 0 | BLE_DONE_OK | TRUE |
Received packet that did not fit in RX queue after transmitting a packet with MD = 0 | BLE_DONE_OK | TRUE |
Received a packet after nPkt had counted to 0 | BLE_DONE_OK | TRUE |
No sync obtained on receive operation after transmit | BLE_DONE_NOSYNC | TRUE |
Two subsequent packets in the same operation were received with CRC error | BLE_DONE_RXERR | TRUE |
The internal counter nNack counted down to 0 after a packet was received | BLE_DONE_MAXNACK | TRUE |
Received a packet after observing a trigger indicated by pParams->endTrigger | BLE_DONE_ENDED | FALSE |
Received a packet after observing a CMD_STOP | BLE_DONE_STOPPED | FALSE |
Received CMD_ABORT | BLE_DONE_ABORT | ABORT |
Illegal value of channel | BLE_ERROR_PAR | ABORT |
TX data entry length field has illegal value | BLE_ERROR_PAR | ABORT |