[Dspforum] EDMA In & Out
O'Connor, Sean R.
Sean.OConnor at jhuapl.edu
Sun Nov 8 14:50:53 MST 2009
Nenad,
I have been successful with using waitfordma() to sync EDMA input and output. I only wait for the input channel to set the CIPR though, and let the output EDMA channel run free without checking up on it.
May not be the best way to do it, but it has worked so far.
Hope this helps,
Sean
________________________________________
From: dspforum-bounces at echelonembedded.com [dspforum-bounces at echelonembedded.com] On Behalf Of Nenad Uzunovic [nenad at roboticresearch.com]
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