Read command

The command returns the introductory information given for a device using the %XMIPIRFFEDEV command and the use-case-specific configurations given in the %XMIPIRFFECTRL command. There is no dedicated read command for %XMIPIRFFECTRL.

Response syntax:

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

The read response 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.

Example:

The following set commands have been given:

AT%XMIPIRFFEEV=1,7,171,331,184
OK
AT%XMIPIRFFECTRL= 1,1,1,28,56,6,1,2,2,3,750,3,8,850,18,9,1000,20,12,1700,35,19,1900,37,
25,2200
OK

The read command returns:

AT%XMIPIRFFEDEV?
%XMIPIRFFEDEV: 1,7,171,331,184
INIT: 
ON: 1,1,1,28,56,6,1,2,2,3,750,3,8,850,18,9,1000,20,12,1700,35,19,1900,37,25,2200
OFF: 
PWROFF: 
OK
1 MIPI RFFESM, MIPI RF Front-End Control Interface (RFFE)