我查资料及文档,大家都说使用EDMA3 LLD实现,但是我看了下貌似很复杂,原来在6467平台下使用dma就是open一个设备,很简单,8168下应该不会这么复杂吧,还一种方法是在example-applications/linux-driver-examples-psp04.00.01.13.patch2/edma下的例子,但是这个是驱动层调用,但我是驱动小白,所以想请教大家怎么实现?我使用的是ezsdk ti-ezsdk_dm816x-evm_5_03_01_15,求释义!
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.
首先建议你仔细看看TRM手册中关于edma的描述,重点理解parameters RAM这个章节,了解各个参数的含义。
wiki上有篇文章讲不使用lld来配EDMA的方法:
http://processors.wiki.ti.com/index.php/Programming_EDMA_without_EDMA3LLD_package
当然使用驱动的那个例子也很简单,流程都一样:
1. 清标志位;
2. 配置edma通道和parameters RAM参数;
3. 使能edma传输