This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR1443: RX gain temperature LUT write/read

Part Number: IWR1443

Hello,

Is it possible to override the Rx Gain Temp LUT with the API rlRxGainTempLutSet?

In the code below, the same value is returned to rxGainTempLutDataRead for rlRxGainTempLutGet called before and after rlRxGainTempLutSet.

SDK is version 2.1.0.4.

int32_t rxGainTempLutSet()
{
int32_t retVal;
rlRxGainTempLutData_t *rxGainTempLutData = (rlRxGainTempLutData_t *)&datainBuf[0];
rlRxGainTempLutData_t rxGainTempLutDataRead;
rlRxGainTempLutReadReq_t rxGainTempLutReadCfg =
{
.profileIndx = 0,
.reserved0 = 0,
.reserved1 = 0,
};

retVal = rlSetProfileConfig (RL_DEVICE_MAP_INTERNAL_BSS, 1U, (rlProfileCfg_t *)&profileCfg);
if (retVal != RL_RET_CODE_OK)
{
/* Error: Setting the profile configuration failed */
retVal = MINUS_ONE;
return retVal;
}

retVal = rlRxGainTempLutGet(RL_DEVICE_MAP_INTERNAL_BSS, (rlRxGainTempLutReadReq_t*)&rxGainTempLutReadCfg,
(rlRxGainTempLutData_t*)&rxGainTempLutDataRead);

retVal = rlRxGainTempLutSet(RL_DEVICE_MAP_INTERNAL_BSS, (rlRxGainTempLutData_t*)&rxGainTempLutData);
if (retVal != RL_RET_CODE_OK)
{
/* Error: Calibration table restore failed */
//CLI_write("Fail to rlRxGainTempLutSet\n");
}

retVal = rlRxGainTempLutGet(RL_DEVICE_MAP_INTERNAL_BSS, (rlRxGainTempLutReadReq_t*)&rxGainTempLutReadCfg,
(rlRxGainTempLutData_t*)&rxGainTempLutDataRead);

CLI_write("rlRxGainTempLutSet=%d\n", retVal);

return retVal;
}

Best Regards,

Hiroyuki Taguchi

  • Hello,

    It is an additional question.

    How can the LUT values set by rlRxGainTempLutSet be applied to RF operation?

    Best Regards,

    Hiroyuki

  • Hi Hiroyuki-san,

     It is possible to override the Rx Gain Temp LUT with the API rlRxGainTempLutSet. Once the override is done it is automatically applied to the device operation. These new values will be taken for further use. This should work what you are trying to do. Can you once switch to the latest SDK release and try this once again at your end ?

    If you still face the issue please also share the source file for this which you are using. We will try to replicate this behavior at our end as well.

    Thanks,

    Pradipta.

  • Hi Pradi,

    Thank you for your reply.

    I tried updating to SDK 3.5.0.4, but it didn't work.

    I would like to provide you with a complete CCS workspace, but how do I share files securely to avoid leaks?

    Thanks,

    Hiroyuki

  • Hi Pradi,

    After investigating, I found that there was an error in the arguments passed to rlRxGainTempLutSet.

    By modifying the source code, the overridden value is now applied to the LUT.

    Thank you for your support.

    Thanks,

    Hiroyuki