Configures the automatic LNA bypass.
Public Attributes#
Maximum time in microseconds to wait for frame detection after the LNA has been bypassed.
Threshold (without unit) from which LNA bypass is turned on.
Compensation in dBm applied by RAIL to RSSI during LNA bypass.
GPIO port used for the bypass.
GPIO pin used for the bypass.
GPIO DOUT configuration for bypass.
Public Attribute Documentation#
timeoutUs#
uint32_t RAIL_AutoLnaBypassConfig_t::timeoutUs
Maximum time in microseconds to wait for frame detection after the LNA has been bypassed.
It must be greater than 0 to enable automatic LNA bypass with RAIL_EnableAutoLnaBypass().
4382
of file common/rail_types.h
threshold#
uint8_t RAIL_AutoLnaBypassConfig_t::threshold
Threshold (without unit) from which LNA bypass is turned on.
The table below shows EFR32XG25 thresholds corresponding to received power level without the LNA gain.
Level dB | FSK_1a | FSK_1b | FSK_2a | FSK_2b | FSK_3 | FSK_4a | FSK_4b | FSK_5 | OFDM1 | OFDM2 | OFDM3 | OFDM4 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
-25 | 9 | 9 | 9 | 10 | ||||||||
-20 | 7 | 7 | 7 | 8 | 8 | 7 | 8 | 11 | 12 | 12 | 12 | |
-15 | 7 | 10 | 10 | 10 | 9 | 9 | 10 | 10 | 14 | 14 | 14 | 15 |
-10 | 9 | 12 | 12 | 12 | 12 | 12 | 12 | 12 | 16 | 16 | 16 | 16 |
-5 | 11 | 14 | 14 | 14 | 16 | 16 | 14 | 16 | ||||
0 | 14 | 17 | 18 | 17 | 17 | 18 | 18 | 18 |
For example, with OFDM1 PHY, setting the threshold to 11 will turn on the bypass when the power level at EFR32XG25 input is greater than -20 dB.
4400
of file common/rail_types.h
deltaRssiDbm#
uint8_t RAIL_AutoLnaBypassConfig_t::deltaRssiDbm
Compensation in dBm applied by RAIL to RSSI during LNA bypass.
The RSSI offset set using RAIL_SetRssiOffset() must corespond to the case with FEM LNA not bypassed. deltaRssiDbm is typically the FEM LNA gain value.
4407
of file common/rail_types.h
port#
uint8_t RAIL_AutoLnaBypassConfig_t::port
GPIO port used for the bypass.
4411
of file common/rail_types.h
pin#
uint8_t RAIL_AutoLnaBypassConfig_t::pin
GPIO pin used for the bypass.
4415
of file common/rail_types.h
polarity#
bool RAIL_AutoLnaBypassConfig_t::polarity
GPIO DOUT configuration for bypass.
With a polarity of 1, GPIO DOUT is set to 1 for bypass and 0 for un-bypass. with a polarity of 0, GPIO DOUT is set to 0 for bypass and 1 for un-bypass.
4422
of file common/rail_types.h