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.

IWR1642BOOST: MMW Demo: Size of ADCdataBuf wrong?

Part Number: IWR1642BOOST

Hi everyone,

I am just trying to understand a few things in the mmw demo software.

As far as I understand, ADCdataBuf is the buffer where the ADC samples are written to, once a chirp is done. This buffer is initialized with the size of (obj->numRangeBins * obj->numRxAntennas * obj->numTxAntennas). Why is the numRangeBins used here? There are only numAdcSamples in the buffer, right? numRangeBins is the size of the range-axis after zero-padding, before the first FFT.

I am using the mmw demo from v2.1. I could not find this particular file in the current version, but other examples contain the same line of code. For example in mmwave_industrial_toolbox_4_8_0/labs/gesture_recognition/68xx_multi_gesture_and_motion_det/src/dss/dss_data_path.c at line 3532:

	MMW_ALLOC_BUF(ADCdataBuf, cmplx16ReIm_t,
		heapL3start, SYS_MEMORY_ALLOC_DOUBLE_WORD_ALIGN_DSP, obj->numRangeBins * obj->numRxAntennas * obj->numTxAntennas);

Did I missed something here or is this a mistake?

Best regards,

Fabian