LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
42 of 130
Semtech
7.2 Commands
7.2.1 SetRfFrequency
The command
SetRfFrequency( )
sets the RF frequency of the sub-GHz radio. In RX mode, the frequency is internally
down-converted to IF Frequency.
The RF Frequency of the sub-GHz radio is given in Hz. All the frequency dependent parameters are automatically
recomputed by the LR1110 firmware when processing this command.
7.2.2 SetRx
The command
SetRx( )
sets the sub-GHz radio in RX mode. If no packet is received after the defined RxTimeout, the device
will go back to Standby RC mode.
•
RxTimeout
is expressed in periods of the 32.768 kHz RTC. The maximum timeout value corresponds to 512s. Values
0x000000 and 0xFFFFFF disable the timeout function.
0x000000
sets the device in RX mode until a reception occurs. After packet reception, the device returns in Standby
mode.
0xFFFFFF
sets the device in RX mode until the host sends a command to change the mode. The device can receive
several packets. Each time a packet is received, a packet done indication is given to the host and the device will
automatically search for a new packet.
If the timer is active, the radio will stop the reception at the end of the timeout period unless a preamble and Syncword (in
(G)FSK) or Header (in LoRa®) has been detected, depending on
StopTimeoutOnPreamble
configuration.
If no packet type was configured, or the packet type does not allow RX operations, the command will fail.
The busy pin will go to low after the device is set into RX mode.
Table 7-1: SetRfFrequency Command
Byte
0
1
2
3
4
5
Data from Host
0x02
0x0B
RfFreq
(31:24)
RfFreq
(23:16)
RfFreq
(15:8)
RfFreq
(7:0)
Data to Host
Stat1
Stat2
IrqStatus
(31:24)
IrqStatus
(23:16)
IrqStatus
(15:8)
IrqStatus
(7:0)
Table 7-2: SetRx Command
Byte
0
1
2
3
4
Data from Host
0x02
0x09
RxTimeout (23:16)
RxTimeout (15:8)
RxTimeout (7:0)
Data to Host
Stat1
Stat2
IrqStatus (31:24)
IrqStatus (23:16)
IrqStatus (15:8)