Set command

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

Syntax:

AT%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. (See SiP-external MIPIRFFE device control configuration %XMIPIRFFECTRL.)
<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) state. This is for setting the default power and triggering mode. Note that the setting of PM_TRIG can be also changed with a use case. See SiP-external MIPIRFFE device control configuration %XMIPIRFFECTRL.

All numbers should be given as decimals, i.e. not as hexadecimals.

Currently, nRF91 supports only one MIPI RFFE-controlled device.

The following command example introduces an (example) antenna tuner device using the values dev_id = 1, def_usid = 7, prod_id = 171, man_id = 331, pm_trig = 184:

AT%XMIPIRFFEDEV=1,7,171,331,184
 OK
1 MIPI RFFESM, MIPI RF Front-End Control Interface (RFFE)