尊敬的 TI 专家:
我有点困惑、因为在 SDK DPU 文件 rangeprocdsp.c 中、dstBIdx 被设置为零。
在 rangeprocdsp.c 源代码文件中、该文件位于 \mmwave_sdk_03_06_00_00-LTS src
下面是从第172行开始的代码:
syncACfg.aCount = dpParams->numAdcSamples * BYTES_PER_SAMP_1D; syncACfg.bCount =MAX(dpParams->numRxAntennas / 2U, 1U) * dpParams->numChirpsPerChirpEvent; syncACfg.srcBIdx = rangeProcObj->rxChanOffset * 2U ; syncACfg.dstBIdx = 0U;
For 4 RX antennas, this works out to
syncACfg.bCount = 2;
这是否意味着第二个 B 数组会覆盖目标缓冲区中的第一个 B 数组?
sprugs5b Keystone Architecture EDMA3 Controller gives an example of SRCBIDX being set to 0, and says on page 33, section 2.3.2.8, "SRCBIDX = 0000h (0): no address offset from the beginning of an array to the beginning of the next array. All arrays are fixed to the same beginning address." It goes on to say that the we should refer to the SRCBIDX examples for DSTBIDX.
Can you help me understand what it means that dstBIdx is set to zero?
Thank you for your help.
