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.

OMAPL138 EDMA3同源不同目的传输问题请教

前提:

一个周期性外部IO信号作为EDMA的触发event,简示为A-B-A-B-A-B.....脉冲序列

源数据地址块固定,为并口外部地址区(FPGA)*SRC,size=ACNT*BCNT,无需CNT

希望实现pingpong传输:

A event时,将*SRC的size数据搬到*DST0;

B event时,将*SRC的size数据搬到*DST1;

我想的是,比如1CC_0用两站PaRAM表,pParam0和pParam1都对应PARAMSET[EDMA3_CHA_GPIO_BNKINT#],然后相互连接。

现在以为是:

1)这两张表应该是static属性,还是non-static?

2)pParam0->LINK = (U16)pParam1; pParam1->LINK = (U16)pParam0,其它配置完全一样

是不是可以了?