SiP-external MIPI RFFE device control configuration %XMIPIRFFECTRL

The Nordic-proprietary %XMIPIRFFECTRL command is used to configure the System in Package (SiP)-external MIPI RF Front-End Control Interface (RFFE) device register accesses in different phases of modem operation. v1.0.xv1.1.xv1.2.xv1.3.xpti_v1.1.x≥1

The device must first be introduced using the %XMIPIRFFEDEV command.

MIPI RFFE devices contain an internal register map described in the datasheet of the device. To control the device, the registers in the device must be written with appropriate values. The %XMIPIRFFECTRL command allows to configure the nRF91 SiP to write the device's registers. The register addresses, the values, and timing (phase) can be configured as described below.

The external MIPI RFFE control in nRF9160 supports configuring the RFFE device for four different phases of RF operation. The phases are initializing (INIT), start receiving or transmitting (ON), stop receiving or transmitting (OFF), and going to sleep (PWROFF).

The %XMIPIRFFECTRL command is to be sent separately for each phase. It is not mandatory to configure all phases.

The %XMIPIRFFECTRL command needs to be sent before any modem activity occurs.

The phases are defined as follows:

INIT
Applied when RF is waking up. INIT is frequency-agnostic. Controls up to four MIPI RFFE device registers. The main purpose is to allow preparation or activation of the MIPI RFFE device if activation requires long settling.
ON
Applied when RF is starting for a specific frequency or when LTE-M frequency hopping is performed by the modem RF. Controls a maximum of two frequency-agnostic registers that can be used for device activation, for instance. This phase also controls a maximum of two registers whose value can be defined to depend on the RF frequency of the modem. The table for the frequency-dependent control can have a maximum of 64 frequencies.
OFF
Applied when RF is stopping. The configuration is frequency-agnostic. Controls up to four MIPI RFFE device registers.
PWROFF
Applied when RF is going to sleep. The configuration is frequency-agnostic. Controls up to four MIPI RFFE device registers. The main purpose is to deactivate the MIPI RFFE device.

For detailed examples of using the commands in different phases, see nWP034 - nRF9160 Hardware Verification Guidelines.