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.

[参考译文] IWR1642:捕获演示代码(sdk1.1)中的哪一行表示启动 EDMA 从 ADC 传输到 CBUFF 的触发器?

Guru**** 2587365 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/652782/iwr1642-which-line-in-capture-demo-code-sdk1-1-indicates-the-trigger-to-start-edma-transfer-from-adc-to-cbuff

器件型号:IWR1642

您好!  

在 sdk1.1的捕获演示中、哪一行表示 启动 EDMA 从 ADC 传输到 CBUFF 的触发器?

例如

在 CAPTURE_COMON.c 的第1733~1750行中、有一个由线性调频脉冲信标驱动的 EDMA 启动触发器。

if ((ptrDmaCfg->currDstAddr + ptrDmaCfg->dmablockSize)<ptrDmaCfg->endDstAddr)

RetVal = EDMA_setDestinationAddress (ptrDataPathObj->dmaHandle、(uint16_t) ptrDmaCfg->channelId、
SoC_translateAddress (ptrDmaCfg->currDstAddr、SOC_TranslateAddr_Dir_TO_EDMA、NULL);
if (RetVal < 0)

System_printf ("错误:设置 EDMA 目标地址失败、出现错误[%d]\n"、RetVal);

/*触发 DMA 传输*/
if ((RetVal = EDMA_startDmaTransfer (ptrDataPathObj->dmaHandle、ptrDmaCfg->channelId))
!= EDMA_NO_ERROR)

System_printf ("错误:EDMA_startTransfer()失败,错误代码=%d\n",RetVal);

ptrDataPathObj->edmaState = Capture_EDMA_State_Busy;

ptrDmaCfg->currDstAddr += ptrDmaCfg->dmablockSize;

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Wang、

    我必须向我的团队谈谈这个问题。 下周某个时候、我们将为您提供答案。


    谢谢、
    Akash