21540DK how to set it up with high tx / rx power possible

Hi guys,

I wanted to understand one thing.

It seems that configuring in my .conf file the following KCONFIG for 21540 in GPIO mode, allow me to work with a stable version of BLE

CONFIG_MPSL=y
CONFIG_MPSL_FEM=y
CONFIG_MPSL_FEM_NRF21540_GPIO=y
CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB=0
CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB_POUTA=0
CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB_POUTB=0
CONFIG_MPSL_FEM_NRF21540_RX_GAIN_DB=0

Stable means that discovery and service search is working properly, and I'm able to complete the connection establishment and changing MTU accordingly to my connection.

I suppose, as described somewhere on the docs, that connection PHY type is 1M.

BUT Changing to other values the TX_GAIN and RX_GAIN, or comnmenting them, seems to be quite the same thing in terms of power of the BLE signal.

So, using for example the central_uart example as a base starting point, and peripheral_uart as peripheral device, in order to set the high range possible with both 21540DK, what is the configuration to set up ? Are theese KCONFIGs right ?

Thanks a lot!
Enrico

Related