[Dspforum] EDMA In & Out

Wenstrand, Doug S. Douglas.Wenstrand at jhuapl.edu
Mon Nov 9 08:01:22 MST 2009


Like Sean said, it shouldn't be any more complicated than just waiting for the input to be complete.

By definition, the two DMAs should always be synchronized, since they are running off the same event.  It is important though that they get started at the same time (for that reason).  To do that, make sure you start both DMAs, and then the serial port.  If you do it the other way, then the two DMAs will be out of sync by however long it takes you to set up the second.

Let me know if you are still having trouble with this part

Doug


-----Original Message-----
From: dspforum-bounces at echelonembedded.com [mailto:dspforum-bounces at echelonembedded.com] On Behalf Of Nenad Uzunovic
Sent: Saturday, November 07, 2009 5:27 PM
To: dspforum at echelonembedded.com
Subject: [Dspforum] EDMA In & Out


Do we need to synchronize our edma in and out channels by anything more
complicated than waiting for both with waitfordma()?

I finally got something on the output but it is wrong. I tried echoing
my input ping-pong buffers to output ping-pong buffers and I get these
spikes modulated with a really low frequency - much lower than my input.

I use memcpy to copy everything from the input to the output.

Thanks,
Nenad



_______________________________________________
Dspforum mailing list
Dspforum at echelonembedded.com
http://echelonembedded.com/mailman/listinfo/dspforum_echelonembedded.com



More information about the Dspforum mailing list