v1.0

Going to sleep (PWROFF)

In the PWROFF phase, the antenna tuner is reset back to the STARTUP state to minimize power consumption when RF is disabled or sleeping. The writes in the PWROFF phase are applied when RF is disabled or put to sleep. This happens, for example, in a Discontinuous Reception (DRX), Extended Discontinuous Reception (eDRX), or Power Saving Mode (PSM) sleep period.

The syntax of the PWROFF phase is the following:

AT%XMIPIRFFECTRL=<dev_id>,3,<n>,<address_0>,<data_0>,…,<address_n-1>,<data_n-1>

The following command syntax is an example of going to sleep using the %XMIPIRFFECTRL AT command:

AT%XMIPIRFFECTRL=1,3,1,28,184

The command parameters and their values in the example are the following:

Table 1. Parameters in going to sleep example
Parameter name Parameter description Value in example Value description
<dev_id> The identification number of the MIPI RF Front-End Control Interface (RFFE) device given when it was introduced using %XMIPIRFFEDEV. 1  
<use_case#> Number of the use case. INIT = 0, ON = 1, OFF = 2, PWR_OFF = 3. All numbers must be given as decimals (hexadecimals not allowed). 3 PWROFF phase
<n> The number of address/data pairs. Valid values are 0, 1, 2, 3, 4. If the value is 0, all the following fields must be omitted. 1 Number of register writes in this command
<address_x> The 8-bit address of the internal register in MIPI RFFE device. x = 0, ..., n−1. 28 Address of the PM_TRIG register (= 0x1C)
<data_x> The 8-bit data to be written to <address_x>. x = 0, ..., n−1. 184 Value to write to register address 28