RM0453
byte 4
bytes 7:5
The correct values selected in the table below must be carefully tested to ensure a good
detection at sensitivity level and to limit the number of false detections.
Spreading factor
SF7
SF8
SF9
SF10
SF11
SF12
Set_BufferBaseAddress() command
Set_BufferBaseAddress(TxBaseAddr, RxBaseAddr) sets the data buffer base
address for the packet handling in TX and RX.
byte 0
byte 1
byte 2
(G)FSK Set_ModulationParams() command
Set_ModulationParams(Br, PulseShape, Bw, Fdev) is used to configure the
(G)FSK modulation parameters for the sub-GHz radio. Depending on the selected packet
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.
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
Table 36. Recommended CAD configuration settings
cadDetMin
10
0
Opcode
w
bits 7:0 Opcode: 0x8F
bits 7:0 TxBaseAddr[7:0]: Tx base address offset relative to the sub-GHz RAM base
address
bits 7:0 RxBaseAddr[7:0]: Rx base address offset relative to the sub-GHz RAM base
address
RM0453 Rev 5
cadDetPeak
22
23
24
25
28
1
TxBaseAddr[7:0]
w
Sub-GHz radio (SUBGHZ)
cadSymbolNum
2 symbols
4 symbols
2
RxBaseAddr[7:0]
w
187/1450
227
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?