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.

IWR1843: How to find the maximal n bins after the 1D FFT

Part Number: IWR1843

Hi,

I'm using out-of-box demo of mmwave_sdk_03_06_00_00 in IWR1843.

I plan to modify the source code to extract maximal amplitude spectrum n bins after the 1D FFT for every chirp.

I locate the process in the funtion DPC_ObjectDetection_execute( ) in objectdetection.c, the 1D FFT should be executed in retVal = DPU_RangeProcHWA_process(subFrmObj->dpuRangeObj, &outRangeProc); (line 871). Q1: After it, does the range bin result save in the  subFrmObj->dpuCfg->hwRes->radarCube?

Q2: If YES. Since I set numAdcSamples = 256, number of chirps = 10, num_of_Rx = 4, and  dataSize of radarCube is 40960, then it means every bin corresponds to 40960/(256*10*4)=4, which is the complex number, and the first 2 uint is the real part and, another 2 unit is the imaginary part? 

Thanks.