RM0453
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 to be detected before starting a
LoRa packet reception
Packet reception starts after N+1 LoRa symbols are detected.
0x0: packet reception started when a single LoRa symbol is detected
Others: packet reception started when N+1 LoRa symbols are detected. The
sub-GHz radio waits for the total number of LoRa symbols. When the receive
chain is not locked at this time, a receiver timeout IRQ is generated.
RM0453 Rev 1
Sub-GHz radio (SUBGHZ)
1
PayloadLength[7:0]
w
1
SymbNum[7:0]
w
193/1461
218
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?
Questions and answers