Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 3.41 KB

antenna_gain_compensation.rst

File metadata and controls

65 lines (43 loc) · 3.41 KB

Antenna gain compensation

Determine the accurate TX power on the nRF70 Series development platforms by taking into account the antenna gain of the PCB chip antenna and the corresponding PCB losses for various RF bands. This facilitates the interpretation of the transmit power measurements.

Kconfig parameter values are used as inputs to the host software to compensate for the transmit power based on the gain of the antenna.

To find the Kconfig value, subtract the PCB losses PCBLoss from the antenna gain AntGain and round up the result to the nearest whole number:

\text{Kconfig value} = \text{AntGain} - \text{PCBLoss}

The PCB loss is defined as follows:

\text{PCBLoss} = \text{PCBLossA} + \text{Coax loss for conducted testing}
\text{PCBLoss} = \text{PCBLossA} + \text{PCBLossB for radiated testing}

The Coax loss is the loss in dB from the point on the PCB where a coaxial cable or equivalent is connected to the I/O connector of the measuring equipment.

The following figure shows the different losses between the nRF7002 and the PCB chip antenna or SMA.

PCB losses

PCB losses

The following table shows an example of how to calculate the Kconfig parameter values.

Bands Kconfig parameter Frequency range (MHz) AntGain (dB) PCBLoss (dB) Kconfig value (dB)
ANTGAIN_2G NRF700X_ANT_GAIN_2G 2402 to 2494 3.38 0.54 3
ANTGAIN_5G_BAND1 NRF700X_ANT_GAIN_5G_BAND1 5150 to 5350 2.74 1.60 2
ANTGAIN_5G_BAND2 NRF700X_ANT_GAIN_5G_BAND2 5470 to 5730 2.46 1.84 1
ANTGAIN_5G_BAND3 NRF700X_ANT_GAIN_5G_BAND3 5730 to 5895 1.77 1.51 1

The Kconfig parameters and their default values are defined in the :file:`<ncs_repo>/nrf/drivers/wifi/nrf700x/Kconfig` file. To compensate for antenna gains, set the following Kconfig parameters in the project :file:`prj.conf` configuration file.

The Kconfig parameters can also be set in a relevant overlay file or entered as command-line arguments to the CMake build.