Set command

The set command writes the %XMIPIRFFEDEV configuration to nRF91 RAM memory.

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. The stored configuration is applied when any modem or Global Positioning System (GPS) RF activity occurs.

Syntax:

%XMIPIRFFEDEV=<dev_id>,<def_usid>,<prod_id>,<man_id>,<pm_trig>

The set command parameters and their defined values are the following:

<dev_id>
Selectable identification number for the device. Non-zero. Valid range 1–255. The given <dev_id> is used with the %XMIPIRFFECTRL command.
<def_usid>
A 4-bit default Unique Slave Identifier (USID) for the MIPI RF Front-End Control Interface (RFFE) device. Typically, 7 for antenna tuners (as suggested by MIPI).
<prod_id>
An 8-bit PRODUCT_ID of the MIPI RFFE device. Only used if automatic reprogramming of the USID is needed. EXT_PRODUCT_ID is not supported.
<man_id>
A 10-bit MANUFACTURER_ID of the MIPI RFFE device. Only used if automatic reprogramming of the USID is needed.
<pm_trig>
An 8-bit content for PM_TRIG (address 0x1C = 28 dec) register. This is for setting the default power and triggering mode. Note that the setting of PM_TRIG can be also changed in the ON phase. See %XMIPIRFFECTRL.

All numbers should be given as decimals, that is, not as hexadecimals. Currently, nRF91 supports only one System in Package (SiP)-external MIPI RFFE-controlled device.