RM0461
byte 5
byte 6
BPSK Set_PacketParams() command
Set_PacketParams(PayloadLength) is used to configure the packet handling for the
sub-GHz radio. When the BPSK packet is selected with packet type in
Set_PacketType() sent prior to this function, the parameters are interpreted as below.
byte 0
byte 1
LoRa Set_LoRaSymbTimeout() command
Set_LoRaSymbTimeout(SymbNum) is used to configure the number of LoRa symbols to
be received before starting the reception of a LoRa packet.
byte 0
byte 1
Note:
In LoRa packet type, when entering the Receive mode and SymbNum[7:0] = 0x0, the
modem locks as soon as a single LoRa symbol is detected. This may lead to a false
detection. To avoid false detections, the number of LoRa symbols to be detected can be
increased.
bits 7:1 Reserved, must be kept at reset value.
bit 0 CrcType CRC enable
0: CRC disabled
1: CRC enabled
bits 7:1 Reserved, must be kept at reset value.
bit 0 InvertIQ: IQ setup
0: standard IQ setup
1: inverted IQ setup
0
Opcode
w
bits 7:0 Opcode: 0x8C.
bits 7:0 PayloadLength[7:0]: BPSK packet (payload) length, including preamble, synch
word, device id and CRC, in number of bytes
0x00- 0xFF: 0 to 255 bytes
0
Opcode
w
bits 7:0 Opcode: 0xA0.
bits 7:0 SymbNum[7:0]: Number of LoRa symbols before timeout IRQ is generated if
end of preamble has not been detected
0x0: No detection of end of preamble
Others: When setting SymbNum to a value ≠ 0, the modem counts the number
of received chirp after the first LoRa chirp is detected. The modem checks that
the end of preamble is detected before the SymbNum number of LoRa symbol
is obtained after the first chirp is detected. If this is not the case, a timeout
is generated.
RM0461 Rev 5
Sub-GHz radio (SUBGHZ)
1
PayloadLength[7:0]
w
1
SymbNum[7:0]
w
147/1306
181
Need help?
Do you have a question about the STM32WLEx and is the answer not in the manual?