Sub-GHz radio (SUBGHZ)
Set_Rx() command
Set_Rx(Timeout) is used to set the sub-GHz radio in Receive mode.
Opcode
byte 0
bytes 3:1
Time-out duration is computed by the following formula:
Time-out duration = Timeout x 15.625 μs (maximum Time-out duration = 262.14 s)
When Set_Rx(Timeout) is sent in Standby mode or Transmit mode, the sub-GHz radio
passes through the FS mode (no need to send Set_Fs()). In this case, the RF-PLL
frequency must be set by Set_RfFrequency() prior sending Set_Rx(Timeout).
Set_StopRxTimerOnPreamble() command
Set_StopRxTimerOnPreamble(RxTimeoutStop) allows the selection of the receiver
event on which the receiver timeout timer (in Set_Rx()), is stopped.
byte 0
byte 1
Caution:
When the receiver timeout is selected to be stopped on preamble detection, the sub-GHz
radio remains in Receive mode until a packet is received. A false preamble detection may
cause the sub-GHz radio to remain in Receive mode for an unexpected long period, until
stopped by a mode configuration command.
Set_RxDutyCycle() command
Set_RxDutyCycle(RxPeriod, SleepPeriod) is used to set the sub-GHz radio
receiver in listening mode, regularly looking for new packets. This command must be sent in
Standby mode. This command is only functional with FSK and LoRa packet type.
180/1450
0
w
bits 7:0 Opcode: 0x82
bits 23:0 Timeout[23:0]: Transmit packet timeout
0x000000: timeout disabled
0x000001 - 0xFFFFFE: timeout enabled, single packet receive mode,
resolution 15.625 μs
0xFFFFFF: timeout disabled, continuous receive mode
0
Opcode
w
bits 7:0 Opcode: 0x9F
bits 7:1 Reserved, must be kept at reset value.
bit 0 RxTimeoutStop: receiver timeout timer stop event selection
0: receive timeout stopped on synchronization word detection in generic
packet mode or header detection in LoRa packet mode
1: receive timeout stopped on preamble detection
1
Timeout[23:0]
w
RM0453 Rev 5
2
w
1
RxTimeoutStop
w
RM0453
3
w
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?