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.

CCS/IWR1642: high accuracy lab. I just wanted to know what exactly is the tempRange in dataprocessedout part gives.

Part Number: IWR1642

Tool/software: Code Composer Studio

Hi,

I am working in IWR1642 BOOST with high accuracy lab. I just wanted to know what exactly is the tempRange in dataprocessedout part gives.

when we debugged we were getting some 5-6 digit value for tempRange. Could you pls explain how this is being calculated, this also helps me to modify for my application.

regards

Karthik

  • Hi,

    tempRange is a 32 bit data in Q20 format ( tempRange = (int32_t)(outputData->rangeEst * 1048576.f)).
    The output is in format of top 16 bit (dummyDetectionOut.x = tempRange >> 16;) and bottom 16 bit (dummyDetectionOut.rangeIdx= (uint16_t) tempRange & 0xFFFF;)

    Regards,
    Michelle