Hi.
I am using ACPY3 libarry to program matrix swap (of 16 bit words) using 3d Transfer.
The code looks like:
ACPY3_activate(Channel)
...
params2D2D.transferType = ACPY3_2D2D;
params2D2D.elementSize = 2;
params2D2D.numElements = 100; // Amount of words per line
params2D2D.numFrames = 100;
params2D2D.srcElementIndex = 2;
params2D2D.dstElementIndex = (-1)*2;
params2D2D.srcFrameIndex = 2*100;
params2D2D.dstFrameIndex = 2*100;
params2D2D.waitId = 0;
params2D2D.srcAddr = Src;
params2D2D.dstAddr = (void*)((XDAS_UInt32)Dest+((100-1)*2));
ACPY3_configure(Channel, ¶ms2D2D, 0);
ACPY3_start(Channel);
Unfotunately, I am observing thatony first frame is transferred.
In all examples the dstElementIndex is positive.
May be the problem is in negative dstElementIndex?
Thanks a lot for all suggestions!