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.

6678EDMA数据传输错误

TI工程师您好,我参考test_edma的例程,使用C6678,想实现数据从DDR3到内存的搬移,源地址定义如下:

 float *srcadd = (float *)0x80000000;

float dstBuff1[64];

目的地址为定义为一个数组的起始地址,使用AB模式训话多次顺序取数据,发现只有第一次取的数据正确,后面都是0,

memset(dstBuff1,0x0,sizeof(dstBuff1));
if (edma_ping_pong_xfer_gbl_region(instNum, channelNum, srcadd, dstBuff1) < 0)
{
printf ("Error: Testing EDMA(%d) Ping-Pong Test (Global) Region for Channel %d FAILED\n", instNum, channelNum);
return;
}

但是当我把目的地址改为一个地址而非数组时,数据搬移正确,

请问这是什么原因,急求您的回复,