您好:
附件中是我使用CSL函数实现C6670EDMA3的程序,但是在ccs5上运行完后查看内存,数据没有搬移成功,我检查了寄存器配置,中断设置等,没有发现哪里不对呀,到底是为什么数据无法搬移成功呢?求指导,谢谢!
PS:程序是我仿照6678的EDMA3的测试写的,不知道数据搬移不成功是不是和这个有关系!!
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.
看起来你只配置了ping/pong的PaRAM, 没有配置对应通道的PaRAM,你可以查查看。
您好,我运行了您的程序,查看内存数据搬运是成功了的哦。不知?
配置Param那些,可以看看ccsv5->help contents里有关CSL-API 里面EDMA3 Functions的介绍;
一般像您程序里面的这两句配置
/* Map the DMA Channel to PARAM Block 2. */
CSL_edma3MapDMAChannelToParamBlock (hModule, channelNum, 2);
/* Obtain a handle to parameter set 2 */
hParamPing = CSL_edma3GetParamHandle(hChannel, 2, &status);