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.

IWR6843: CFAR engine

Part Number: IWR6843

Hi Team,

1) If the CFAR_out_mode parameter register is set to 10 or 11 (detect Peak List Mode), it will only output information about the detected peak target, but it is not clear that there are several peak targets before running. In this case, could you help share how to set up the DSTANCT, DSTAINDX, and DSTBIDNX in the output formatter?

2) And regarding the manual, it also describes the FFTPEAKCNT register, which indicates the number of peak targets to be taken by the host processor. Is this register counting the sum of multiple iterations of the currently running parameter set peak target or the peak target of one iteration (iteration: Reg_BCNT)?

--In the latter case, the current parameter set is not running and the number of peak targets for the second iteration will overwrite the number of peak targets for the first iteration, right?

--If the former is true, is it possible to continuously store multiple iterations of peak samples to target memory (MEM_2,3) if the output formatter is used, in the case of uncertainty about the number of peak targets (set parameter register)? 

Could you please help check this case? Thanks.

Best Regards,

Cherry

  • Hello Cherry,

    Can you clarify what you mean by DSTANCT, DSTAINDX, and DSTBIDNX or where you got these variables/names?

    Best Regards,

    Pedrhom

  • Hi Pedrhom,

    Thank you for the support.

    Can you clarify what you mean by DSTANCT, DSTAINDX, and DSTBIDNX or where you got these variables/names?

    They were taken from the HWA Hardware Accelerator Manual for the 6843, and these parameters were taken from the output formatter section in the HWA.

    DSTACNT is the number of samples when stored, DSTAINDX is the sample interval when stored and DSTBIDNX is the iteration interval when stored. 

    Thanks and regards,

    Cherry

  • Hello,

    With regards to DSTACNT, DSTAINDX, and DSTBIDNX, you can see an example of us using them within C:\ti\mmwave_sdk_03_06_00_00-LTS\packages\ti\datapath\dpc\dpu\cfarcaproc\src\cfarcaprochwa.c. Specifically the DPU_CFARCAProcHWA_config() function.

    For your second question, FFTPEAKCNT is the sum of the multiple iterations. The maximum detection points is used for dest formatting.    hwaParamCfg.dest.dstAcnt = detObjectListSize - 1

    Best Regards,

    Pedrhom

  • Hello Pedrhom,

    Regarding the example you mentioned above, for the output of CFAR, peak list mode is selected to output, and DSTBIDNX is set to 0, why? In this case, the output data under multiple iterations should be overwritten over and over. 

    Thanks and regards,

    Cherry

  • Hello,

    DSTBIDNX is set to 0 and is commented as a don't care. because CFAR detection output is not a regular destination output. This is because not all inputs will generate a detection, which makes this special.

    Best Regards,

    Pedrhom