LR1110
User Manual Rev.1.0
UM.LR1110.W.APP March 2020
33 of 130
Semtech
www.semtech.com
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:
• 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.
Table 4-5: SetDioAsRfSwitch Command
Byte 0 1 2 3 4 5 6 7 8 9
Data from Host 0x01 0x12
RfSw
Enable
RfSw
StbyCfg
RfSw
RxCfg
RfSw
TxCfg
RfSw
TxHPCfg
RFU
RfSw
GnssCfg
RfSw
WifiCfg
Data to Host Stat1 Stat2
IrqStatus
(31:24)
IrqStatus
(23:16)
IrqStatus
(15:8)
IrqStatus
(7:0)
0x00 0x00 0x00 0x00