nrf21540 gain always 20dB

Hello,

We are testing the radio_test sample on a nrf21540dk board with ncs-2.3. 
We want to change the fem tx_gain but we always get the same RSSI value on the nrf connect RSSI VIEWER application. 

It's like we always operate with a 20dB gain. 

We added the following configuration to the radio_test sample : 

CONFIG_FEM=y
CONFIG_MPSL=y 
CONFIG_MPSL_FEM=y
CONFIG_MPSL_FEM_NRF21540_GPIO_SPI=y
CONFIG_MPSL_FEM_ONLY=y
CONFIG_MPSL_FEM_NRF21540_RUNTIME_PA_GAIN_CONTROL=y
CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB=10

CONFIG_RADIO_TEST_POWER_CONTROL_AUTOMATIC=n

Then we used the following commands : 

start_channel 1
end_channel 80
time_on_channel 50
fem tx_gain 10
output_power pos0dBm
start_tx_sweep

Are we missing something ? 

Parents
  • Hi,

    The TX gain control in the radio test samples is working correctly with the config options you have provided. To confirm this here is the output power measured using a spectrum analyzer:

    If fact, the only config options needed are:

    CONFIG_FEM=y
    CONFIG_RADIO_TEST_POWER_CONTROL_AUTOMATIC=n

    RSSI is not a good measure of the output power from a device, since it is dependent on external factors,and the receiving device.

    What are the RSSI values you are seeing with 10dB and 20dB gain?

     

    Best regards,

    Bendik

Reply
  • Hi,

    The TX gain control in the radio test samples is working correctly with the config options you have provided. To confirm this here is the output power measured using a spectrum analyzer:

    If fact, the only config options needed are:

    CONFIG_FEM=y
    CONFIG_RADIO_TEST_POWER_CONTROL_AUTOMATIC=n

    RSSI is not a good measure of the output power from a device, since it is dependent on external factors,and the receiving device.

    What are the RSSI values you are seeing with 10dB and 20dB gain?

     

    Best regards,

    Bendik

Children
Related