nRF21540 custom gain with MPSL

Hello,

To follow the talk we add on this ticket.

 How can I configure a custom TX gain with the MPSL library ?

I want to have an output power of 8 dBm on the nRF21540.

I tried to change the MPSL_FEM_NRF21540_TX_GAIN_DB_POUTA and set CONFIG_MPSL_FEM_NRF21540_RUNTIME_PA_GAIN_CONTROL configs but the signal on a analyzer was -23dBm and not near 8 dBm as I wanted.

When I just use the default value of 10 dBm, the analyzer get a power near 10 dBm as wanted.

Regards,

Andrew

Parents Reply
  • Hi, 

    AndrewSafehear said:
    When I use default values, change MPSL_FEM_NRF21540_TX_GAIN_DB to 10dBm and I want 10 dBm, I get it on both project.

    Seems v2.2.0 can work as expected while setting to gain 10dBm. 

    AndrewSafehear said:
    With all default values I got RSSI values near -19dBm for an output power set at 10dBm.

    Does that mean it doesn't work as expected in v2.3.0 while setting to gain 10dBm? Are you running with radio_test? 

    -Amanda H.

Children
Related