Sub-GHz radio (SUBGHZ) RM0453
186/1461 RM0453 Rev 1
Set_CadParams() command
Set_CadParams(NbCadSymbol,CadDetPeak,CadDetMin,CadExtiMode,Timeout)
allows the CAD configuration for LoRa packet types.
01234567
Opcode
NbCadSymbol[2:0]
CadDetPeak[7:0]
CadDetMin[7:0]
CadExitMode
Timeout[23:0]
wwwwwwww
byte 0 bits 7:0 Opcode: 0x88
byte 1 bits 7:3 Reserved, must be kept at reset value.
bits 2:0 NbCadSymbol[2:0]: Number of symbols used for CAD scan
0x0: 1 symbol
0x1: 2 symbols
0x2: 4 symbols
0x3: 8 symbols
0x4: 16 symbols
Others: reserved
byte 2 bits 7:0 CadDetPeak[7:0]: Used with CadDetMin[7:0] to correlate the LoRa symbol
See Table 36.
byte 3 bits 7:0 CadDetMin[7:0]: Used with CadDetPeak[7:0] to correlate the LoRa symbol
see Table 36 .
byte 4 bits 7:1 Reserved, must be kept at reset value.
Bit 0 CadExitMode: defines the sub-GHz radio operating mode to enter after CAD
scan is finished
0: Standby with RC 13 MHz mode entry after CAD, whatever is detected
during the CAD scan
1: Standby with RC 13 MHz mode after CAD if no LoRa symbol is detected
during the CAD scan
if a LoRa symbol is detected, the sub-GHz radio stays in Receive mode until a
packet is received or until the CAD timeout is reached.
bytes 7:5 bits 23:0 Timeout[23:0]: CAD timeout = Timeout[23:0] x 15.625 μs
The CAD timeout is only used when a symbol is detected and
CadExitMode = 1 (stay in Receive mode after a LoRa symbol detection).
0x000000 - 0xFFFFFF: timeout, resolution 15.625 μs