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 timing, approximately 50–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