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.

IWR6843ISK-ODS: EDMA SRCCIDX for transferring from ADCBuf to HWA memory shouldn't be set to zero

Part Number: IWR6843ISK-ODS

Hi team,

I am running demo binary of xwr64xx in SDK version 3.5.0.4. I am having a confusion as to why, while configuring EDMAIn in rangeprochwa.c file, the srcCIdx is set to 0.

The transfer is of syncAB type and cCount is 2U. The srcCIdx should be set to the next set of frames to be transferred, but it is set to 0.

I am referring to this edma document -> https://www.ti.com/lit/ug/spruem5a/spruem5a.pdf , page 26

I am referring to this file in sdk -> C:\ti\mmwave_sdk_03_05_00_04\packages\ti\datapath\dpu\rangeproc\src\rangeprochwa.c , line 1257

According to the document, the edma, after transferring A*B bytes of data, the srcCIdx should be equal to A*B bytes to skip and go to next frame, but it is zero.

Please let me know whether there is a specific reason for this line of code to be like this. Otherwise shouldn't it be following the document?