COEX0 pin control configuration %XCOEX0

The Nordic-proprietary %XCOEX0 command writes the COEX0 pin configuration to device's RAM memory.

The COEX0 pin can be configured to switch its state based on the modem's RF frequency, for example, to enable external Low-Noise Amplifier (LNA) in GPS mode. The behavior is similar to the %XMAGPIO command with the difference that this command only controls one pin.

The AT command needs to be sent before any modem activity occurs. Based on the given configuration, the modem applies the COEX0 state corresponding to the RF frequency range automatically during runtime. The configuration is stored to Non-volatile Memory (NVM) using +CFUN=0 when the device is powered off. The stored configuration is applied when the device is powered on. When RF is turned off, the given COEX0 state is inverted.