• TI Thinks Resolved

CCS/AWR1843BOOST: The function quadraticInterpLog2ShortPeakLoc in the MRR demo

Expert 1550 points

Replies: 4

Views: 96

Part Number: AWR1843BOOST

Tool/software: Code Composer Studio

Hi,

  There is a function called quadraticInterpLog2ShortPeakLoc which performs a quadractic peak interpolation to compute the  fractional offset of the peak location, it is called as belows:

 interpOffset = quadraticInterpLog2ShortPeakLoc(obj->cfarDetObjIndexBuf, obj->numDopplerBins, detIdx1, (CFARTHRESHOLD_N_BIT_FRAC + obj->log2numVirtAnt));

Here, obj->cfarDetObjIndexBuf is  an doppler index array, is there any error in invking this function? Whether obj->sumAbs should supersede it? And should the detIdx1 be repalced by obj->cfarDetObjIndexBuf[detIdx1]?Is that right?

Thanks,

Regards,

Rata

  • Rata,

    I will have to check this with our algo experts . But have you validated by modifying the code and checking it yourself and what are your observations?

    -Raghu

  • In reply to Raghunandan Kamath:

    Hi Raghu,

      I have not validated,I just look at the code, and it doesn't make sense, so I want to confirm my thought.

    BR,

    Rata

  • In reply to Rata Zhang:

    Hi Rata,

    I would request you to go over the demo documentation and training materials.

    And find the online literature to implement this algo/logic as per your requirement.

    Regards,

    Jitendra

  • In reply to Jitendra Gupta:

    Hi Jitendra,

       I have validated my thought and my thought is right.

    BR,

    Rata