Configures the automatic LNA bypass.

Public Attributes#

uint32_t

Maximum time in microseconds to wait for frame detection after the LNA has been bypassed.

uint8_t

Threshold (without unit) from which LNA bypass is turned on.

uint8_t

Compensation in dBm applied by RAIL to RSSI during LNA bypass.

uint8_t

GPIO port used for the bypass.

uint8_t

GPIO pin used for the bypass.

bool

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().


Definition at line 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.


Definition at line 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.


Definition at line 4407 of file common/rail_types.h

port#

uint8_t RAIL_AutoLnaBypassConfig_t::port

GPIO port used for the bypass.


Definition at line 4411 of file common/rail_types.h

pin#

uint8_t RAIL_AutoLnaBypassConfig_t::pin

GPIO pin used for the bypass.


Definition at line 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.


Definition at line 4422 of file common/rail_types.h