Modem antenna
You can use this library to set the antenna configuration on an nRF91 Series DK, a Thingy:91, or a Thingy:91 X.
Overview
The library writes the MAGPIO and COEX0 configuration to the modem after the Modem library has been initialized. The configuration depends on the selected board and the used GNSS antenna type, onboard or external.
For an nRF91 Series DK, the library configures the Low Noise Amplifier (LNA) depending on the GNSS antenna type.
For a Thingy:91, it configures the antenna matching network used with both LTE and GNSS.
Configuration
Set the CONFIG_MODEM_ANTENNA
Kconfig option to enable this library.
Note
The library is enabled by default when building for the nRF91 Series board targets.
Use one of the following options to select the used antenna type:
CONFIG_MODEM_ANTENNA_GNSS_ONBOARD
- Selects the onboard GNSS antenna (default).CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL
- Selects an external GNSS antenna.
Use the following options to set custom AT commands for MAGPIO and COEX0 configuration:
CONFIG_MODEM_ANTENNA_AT_MAGPIO
- Sets custom MAGPIO configuration.CONFIG_MODEM_ANTENNA_AT_COEX0
- Sets custom COEX0 configuration.
Dependencies
This library uses the following sdk-nrfxlib library: