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.

IWR6443: Q format of Range profile and Noise profile

Part Number: IWR6443

Hi,

For SDK 3.4.0.3 IWR6443 OOB Demo, I understand that the Q FOMRAT of the Range Profile/Noise Profile output is Q8, is that correct?

Documentation in SDK mmwave_sdk_03_04_00_03/packages/ti/demo/xwr64xx/mmw/docs/doxygen/html/index.html was written as Q9 format, but mmWaveDemoVisualizer source code input_validation.js from the formula for P.log2linScale[idx], I understand it to be a Q8 foramt.

Best Regards,

Hiroyuki Taguchi

  • Hi Hiroki,

    Are you referring to this code found on line 354 of InputValidation.js? If so, it affects a constant scaling factor, which is more or less irrespective of the data format.

    if (((platform == mmwInput.Platform.xWR18xx) || (platform == mmwInput.Platform.xWR68xx)) &&
    (sdkVersionUint16 < 0x0302))
    {
    P.log2linScale[idx] = (1 / 512) * (Math.pow(2,Math.ceil(Math.log2(NumVirtAnt))) / NumVirtAnt);
    
    }

    It gets used in line 2871 of mmWave.js

    ary[idx] = value * Params.log2linScale[subFrameNum] * Params.toDB + Params.dspFftScaleCompAll_log[subFrameNum];
    

    Best,

    Nate

  • Hi Nate,

    Thank you for your reply.

    Yes. I referred to the code you showed me.

    Is the TLV2 Range Profile and TLV3 Noise floor profile output of SDK3.4.0.3 xWR64xx OOB Demo correct in Q8 format?

    Best Regards,

    Hiroyuki

  • Hi Hiroyuki,

    The Range Profile and Noise Floor Profile are both in Q9 format. See the demo documentation at

    C:/ti/mmwave_sdk_03_04_00_03/packages/ti/demo/xwr68xx/mmw/docs

    Best,

    Nate

  • Hi Nate,

    Thank you for your reply.

    I'm using the OOB Demo of xWR64xx.

    The documentation says Q9 format.

    But If it's in Q9 format, it seems inconsistent with the denominator 256 in input_validation.js.

    Could you please confirm this?

    Best Regards,

    Hiroyuki

  • Hi Hiroyuki,

    The line you're referring to is for the logarithmic to linear scaling factor. It has to do with displaying the data, not decoding it. Since the demo documentation says it's in a Q9 format, I'm very confident that it is.

    Best,

    Nate