LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
43 of 130
Semtech
7.2.3 SetTx
The command
SetTx( )
sets the sub-GHz radio in TX mode, triggering the RF packet transmission, and starting the RTC with
the given
TxTimeout
value.
If the RTC event fires before the end of transmission, it will trigger a TIMEOUT IRQ, and stop the device transmission.
Otherwise, at the end of the packet transmission, a TX_DONE interrupt is generated.
By default, the device goes back to STBY_RC mode after a TIMEOUT IRQ or a TX_DONE IRQ, or to STBY_XOSC or FS
depending on the
FallBackMode
configuration.
•
TxTimeout
is expressed in periods of the 32.768 kHz RTC. The maximum TxTimeout value corresponds to 512s.
0x000000
disables the timeout function.
If no packet type was configured, or the packet type does not allow Tx operations, the command will fail.
The busy pin will go to ‘0’ after the device is set into TX mode.
7.2.4 AutoTxRx
The command
AutoTxRx( )
automatically performs the transition to RX mode after a packet transmission, or to TX mode after
a packet reception. After the second mode, the device goes back to Standby RC mode.
•
Delay
defines the transition time between the TX and RX mode, expressed in periods of the 32.768kHz RTC. The
maximum Delay value corresponds to 512 s.
0x000000
performs a direct TX to RX or RX to TX transition, without going through the IntermediairyMode.
0xFFFFFF
disables the AutoTxRx function. The AutoTxRx function is disabled by default.
•
IntermediaryMode
: device mode in between the TX and RX modes.
0x00: Sleep mode
0x01: Standby RC mode
0x02: Standby Xosc mode
0x03 FS mode
Table 7-3: SetTx Command
Byte
0
1
2
3
4
Data from Host
0x02
0x0A
TxTimeout (23:16)
TxTimeout (15:8)
TxTimeout (7:0)
Data to Host
Stat1
Stat2
IrqStatus(31:24)
IrqStatus(23:16)
IrqStatus(15:8)
Table 7-4: AutoTxRx Command
Byte
0
1
2
3
4
5
6
7
8
Data from Host
0x02
0x0C
Delay
(23:16)
Delay
(15:8)
Delay
(7:0)
Intermediary
Mode
Timeout
(23:16)
Timeout
(15:8)
Timeout
(7:0)
Data to Host
Stat1
Stat2
IrqStatus
(31:24)
IrqStatus
(23:16)
IrqStatus
(15:8)
IrqStatus
(7:0)
0x00
0x00
0x00