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/AWR1243: The problem about CFAR calculation as using cascade EVM

Part Number: AWR1243

Tool/software: Code Composer Studio

Hi TI team,

We found some problems about CFAR calculation as using AWR1243 cascade EVM.

We don't know why the range index is increased two in the for loop as calculating the CFAR threshold.

The file path of the source code is "PROCESSOR_SDK_RADAR_03_08_00_00\ti_components\algorithms\mmwave_sdk_01_02_00_05\packages\ti\alg\mmwavelib\src\detection\mmwavelib_cfarcaall_float.c".

The code we concerned is shown as below.

Please help us to figure out this problem and could you apply any documents about the detail algorithm routine.

Thank you so much.

Best regards,

Jacki Hsu

  • Hi,

    The algorithm loads 2 floating point values (f2temp is a double float type). This is why the pointer index k is incremented by 2.

    Please step through the code in order to better understand how it works

    Usually the mmwavelib is provided with the mmwave SDK release

    C:\ti\mmwave_sdk_03_03_00_03\packages\ti\alg\mmwavelib\src\detection\mmwavelib_cfarcaall_float.c

    Thank you

    Cesar

  • Hi Cesar,

    Thank you for your replying.

    We are also confused by the CFAR threshold calculation along the doppler axis.

    Why the doppler index should be converted before calculating the CFAR threshold ?

    The related code is as shown as below.

    The file path of the source code is "PROCESSOR_SDK_RADAR_03_08_00_00\vision_sdk\apps\src\rtos\radar\src\alg_plugins\alg_fxns\radardspcascademimo\priv\radarDspCascadeMimoCfar_priv.c".

    Please help us to clarify this problem.

    Thank you so much.

  • Hi

    We are not clear what the question is.

    In the code you have highlighted

    I_doppler = numDopplerBins -1 –(i>>1)     is accessing the Right side bins from the cell under test

    While

    I_doppler = (i>>1)     is accessing the Left side bins from the Cell under test

    Thank you

    Cesar