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.

arm与dsp通讯问题



hi all:

    我现在使用的是一块dm368的开发板。使用的是dvsdk-demos_4_02_00_01。源码中怎么也没有看到arm和dsp通讯的机制。

    请问一下:

    (1)没有dsplink出现在代码中。但是有以下代码 :XDAS_Int32 VIDENC1_process(VIDENC1_Handle handle, IVIDEO1_BufDescIn *inBufs,XDM_BufDesc *outBufs, IVIDENC1_InArgs *inArgs, IVIDENC1_OutArgs *outArgs) 这段代码中我看到了fxn->process();这个函数指针可以使dsp运行吗?

    (2)我的理解是cmem预留了一块内存空间给dsp使用,并且这块内存中代码是供给dsp使用,那么代码中Enging_open()没有把dsp的算法下载到cmem中预留的内存中,这部分逻辑怎么在代码中寻找?应为还有cd(codec engine)的代码,我不清楚这段代码是给arm运行的还是给dsp运行的?看了sprue67d.pdf还是没有弄明白。

非常感谢知道的工程师可以帮助我一下,谢谢