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.

DM6437 EDMA+Cache问题



你好,我使用的是DM6437,程序如下:

start=C64P_getltime();

...

memcpy或EDMA搬移数据

...

end=C64P_getltime();
printf("%d\n",end-start);

没打开cache,使用memcpy,该段程序运行的周期数为十亿个指令周期,使用EDMA后才5亿个;
打开cache后,使用memcpy,该段程序运行的周期数为6千万个指令周期,EDMA变成了6亿个;

请问这是什么情况,EDMA和cache之间发生了冲突?

谢谢。