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.

AWR2944: HWA: Does the cyclic CFAR mode only work when the number of cells under test is a power of 2?

Part Number: AWR2944

Hi,

In AWR2944 TRM, it says "The cyclic CFAR mode only works when the number of cells under test is a power of 2."

But in mmWave mcu plus sdk 4.1, customer found below code. It looks like that the cyclic CFAR mode can also work with no. of cells undertest is power of 2 * 3.

Would you pls kindly advise which one is correct, TRM or code?

mmwave_mcuplus_sdk_04_04_01_02\ti\datapath\dpu\dopplerprocDDMA\src\dopplerprochwaDDMA.c

DPU_DopplerProcHWA_configHwaCFARAzimFFT()

...

/*******************************/
/* PING DOPPLER CFAR PARAMSET */
/*******************************/
{{

...

if ((obj->numDopplerBins / obj->dopplerDemodCfg.numBandsTotal) % 3 == 0){ /* If numSamples % 3 == 0 */
hwaParamCfg[paramsetIdx].source.srcCircShiftWrap3 = 1; /* 'b001, means wrap in A dim */
hwaParamCfg[paramsetIdx].source.srcAcircShiftWrap = mathUtils_ceilLog2((obj->numDopplerBins / obj->dopplerDemodCfg.numBandsTotal) / 3);
}
else{
hwaParamCfg[paramsetIdx].source.srcCircShiftWrap3 = 0;
hwaParamCfg[paramsetIdx].source.srcAcircShiftWrap = mathUtils_ceilLog2(obj->numDopplerBins / obj->dopplerDemodCfg.numBandsTotal);
}

...

Thanks,

Chris