4.2 RF Switch Control
4.2.1 SetDioAsRfSwitch
DIO5, DIO6, DIO7, DIO8 and DIO10 can be used to control external RF switches or LNAs on the Sub-GHz, GNSS, and Wi-Fi RF
paths using the SetDioAsRfSwitch( ) command:
Table 4-5: SetDioAsRfSwitch Command
Byte
0
Data from Host
0x01
Data to Host
Stat1
•
RfswEnable value indicates which switch is used (1) and which is not (0). Only the lowest 5 bits of all the configurations
as well as the enable are taken into account. Each Cfg bit corresponds to the state of the RFSW output for that
particular mode:
Bit 0 - RFSW0 Enabled (DIO5 pin)
Bit 1 - RFSW1 Enabled (DIO6 pin)
Bit 2 - RFSW2 Enabled (DIO7 pin)
Bit 3 - RFSW3 Enabled (DIO8 pin)
Bit 4 - RFSW4 Enabled (DIO10 pin)
•
RfSwStbyCfg value indicates the RFSW DIO states when in standby mode.
•
RfSwRxCfg value tells the RFSW DIO states when in RX mode.
•
RfSwTxCfg value indicates the RFSW DIO states when in low power TX mode.
•
RfSwTxHPCfg value indicates the RFSW DIO states when in high power TX mode.
•
RfSwGnssCfg value indicates the RFSW DIO states when in GNSS scanning mode.
•
RfSwWifiCfg value indicates the RFSW DIO states when in Wi-Fi scanning mode.
•
Byte 7 is RFU
By default, no DIO is used as RF switch: all RFSW outputs are in High-Z state.
This command will only work with the chip in Standby RC mode, otherwise it will return a CMD_FAIL on the next GetStatus
command.
LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
1
2
3
RfSw
RfSw
0x12
Enable
StbyCfg
IrqStatus
IrqStatus
Stat2
(31:24)
(23:16)
www.semtech.com
4
5
6
RfSw
RfSw
RfSw
RxCfg
TxCfg
TxHPCfg
IrqStatus
IrqStatus
0x00
(15:8)
(7:0)
7
8
9
RfSw
RfSw
RFU
GnssCfg
WifiCfg
0x00
0x00
0x00
33 of 130
Semtech