Issue using nrf21540 in GPIO-mode with mode pin and multiple advertising set at 10dBM

8551.bluetooth.zip

Hi,

We are using nrf21540 in GPIO mode + mode pin ( and CONFIG_MPSL_FEM_NRF21540_RUNTIME_PA_GAIN_CONTROL) with an nrf52833.

We are developing under nrf connect sdk 3.0.2.

Using a multiple advertising set (extended advertising) composed by:

  • One set of "legacy advertising"-
  • One set of Long Range advertising (Coded PHY)
  • Both have the the advertsing timings (i.e., interval min and max) set to same value: 100ms( BT_GAP_ADV_FAST_INT_MIN_2) and a150ms(BT_GAP_ADV_FAST_INT_MAX_2)

Using a power analyzer and relating nrf21540 PDN pin and MODE pin, i am observing a strange effect when the overall advertising TX power is set to 10 dBm:

  • only the Long Range advertising respects the 10 dBm, the legacy advertising is always fixed to 20 dBm. Look at the screenshot below, the legacy adv. keeps mode gpio low (i.e., 20 dBm). Also the power consumption is higher during legacy advertising, hint of higher dBm TX.
  • Using the extended advertising with only one advertising set, the issue is not present.

Our code has been devloped using as refrences:

Related