AnsweredAssumed Answered

MPC5748G, eDMA, ScatterGather Mode

Question asked by Shifei Qian on Jul 11, 2016
Latest reply on Jul 13, 2016 by Peter Vlna

Dear Sir or Mandam,


I have some problem while configuring mpc5748g, eDMA, scatter/gather mode, attached is my problem.

In the following code in edma.c,

with the increase of the variable i, pDMA->TCD[channel].CITER.ELINKNO.B.CITER is always 2, and pDMA->TCD[channel].BITER.ELINKNO.B.BITER is always 18, they don't change with the increase of i.

The buffer to ben sent is dmaSampleBuffer "'This buffer is transferred via eDMA requests'\r\n", and when the programme ends, the receive buffer is only buffer "This buffer".

Could you please help me to find out what's wrong with my programme? How to make the receive buffer the same with dmaSample "'This buffer is transferred via eDMA requests'\r\n"?

Thank you very much for your help.

Yours sincerely,

QIAN Shifei

Original Attachment has been moved to: