Set command

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

The command configuration is stored to Non-volatile Memory (NVM) approximately every 48 hours and when the modem is powered off 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.

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 ms anticipation
3 – COEX2 pin toggling enabled, "as late as possible (ALAP)" timing, approximately 50–100 μs anticipation

The following command example sets the MID timing of the COEX2 pin:

AT%XCOEX2=2
OK