nrf9160

Set command

The set command determines the timing for enabling the COEX2 pin.

The command configuration is stored to Non-volatile Memory (NVM) approximately every 48 hours and when the modem is set to minimum functionality mode with the +CFUN=0 command. The configuration can be stored to NVM with the %XFSSYNC command when the Production Test Image (PTI) modem firmware is used.

Active %XPOFWARN warning blocks the storing to NVM.v1.3.x≥2

Syntax:

%XCOEX2[=<ctrl>]

The set command parameter and its defined values are the following:

<ctrl>
Not set – Clears the current configuration and uses default values (1).
0 – COEX2 pin toggling disabled, pin OFF.
1 – COEX2 pin toggling enabled, default timing, 1 ms anticipation.
2 – COEX2 pin toggling enabled, mid-timing, approximately 400 μs anticipation.
3 – COEX2 pin toggling enabled, as late as possible timing, approximately 50 μs to 100 μs anticipation.
4 – COEX2 pin toggling enabled, TX indicator. Pin ON when RF is transmitting.v1.3.x≥1
5 – COEX2 pin toggling enabled, RX indicator. Pin ON when RF is receiving.v1.3.x≥1

The following command example sets the mid-timing of the COEX2 pin:

AT%XCOEX2=2
OK