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.

dm8168 配置一次edma2d2d传输,配置代码耗时太长原因



大家好:

        因为算法需要使用EDMA,先用小程序测试了一下EDMA,发现一个奇怪的问题。

       

        statement; // 断点  记录TSCH/TSCK

        edma_2d2d(); // 

       statement ; //断点  记录TSCH/TSCK

      1. 如果我直接从断点1运行到断点2,两个断点之间TSCH/L的差异值在1300-2000cycles之间波动,最大的会超过2000.

       2.单步跟踪,进入edma_2d2d函数,在函数中也单步执行,单步到断点2处,两个断点之间TSCH/L的差异值在100-200之间波动.

      有个疑问:

           为什么两种方式运行差异会这么大,配置PARAM Set区域的写会这么慢?