SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
Command ID number: 0x0807
CMD_RX_TEST is a radio operation command used to set the receiver in infinite RX mode for test purposes.
The sync word programmed in the receiver is given in the LSBs of syncWord. If config.bNoSync is 1, the correlation thresholds for sync search are set to the maximum value to avoid getting sync. The thresholds are restored after the command ends.
If pktConfig.bFsOff is 1, the synthesizer is turned off (corresponding to CMD_FS_OFF; see Section 26.3.3.1.6) after the operation is done; otherwise the synthesizer is left on.
A trigger to end the operation is set up by endTrigger and endTime (see Section 26.3.2.5.1). If the trigger that is defined by this parameter occurs, the radio operation ends.
The operation ends by one of the causes listed in Table 26-14.
The command structure for CMD_RX_TEST contains the fields listed in Table 26-26.
Byte Index | Byte Field Name | Bits | Bit Field Name | Type | Description |
---|---|---|---|---|---|
14 | config | 0 | Reserved | W | Set to 0 |
1 | bFsOff | W | 0: Keep frequency synthesizer on after command. 1: Turn frequency synthesizer off after command. | ||
2 | bNoSync | W | 0: Run sync search as normal for the configured mode. 1: Write correlation thresholds to the maximum value to avoid getting sync. | ||
15 | endTrigger | W | Trigger classifier for ending the operation | ||
16–19 | syncWord | W | Sync word to use for receiver | ||
20–23 | endTime | W | Time to end the operation |