Rf Switch Control; Setdioasrfswitch; Table 4-5: Setdioasrfswitch Command - Semtech LR1121 User Manual

Table of Contents

Advertisement

4.2 RF Switch Control

4.2.1 SetDioAsRfSwitch

DIO5, DIO6, DIO7, DIO8 and DIO10 can control external RF switches or LNAs on the Sub-GHz and RFIO_HF RF paths using
the SetDioAsRfSwitch(...) command.
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:

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):
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: Each bit indicates the state of the relevant RFSW DIO when in standby mode (bits 5:7 RFU).
RfSwRxCfg: Each bit indicates the state of the relevant RFSW DIO when in RX mode.
RfSwTxCfg: Each bit indicates the state of the relevant RFSW DIO when in low power TX mode.
RfSwTxHPCfg: Each bit indicates the state of the relevant RFSW DIO when in high power TX mode.
RfSwTxHfCfg: Each bit indicates the state of the relevant RFSW DIO when in radio high frequency TX mode.
Bits 8:9: RFU
By default, no DIO is used as RF switch: all RFSW outputs are in High-Z state.
This command only works with the chip in Standby RC mode, otherwise it returns a CMD_FAIL on the next GetStatus
command.
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
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
-RFU
-RFU
TxHfCfg
0x00
0x00
0x00
38 of 130
Semtech
Proprietary & Confidential

Advertisement

Table of Contents
loading

Table of Contents