[Dspforum] CIPR question
Wenstrand, Doug S.
Douglas.Wenstrand at jhuapl.edu
Tue Nov 3 09:22:18 MST 2009
Also, those EDMA_FMK macros are very nice for this - rather than having the raw hex in your code, you get to spell out exactly what each bit means. It sure makes it easier to read/change.
From: dspforum-bounces at echelonembedded.com [mailto:dspforum-bounces at echelonembedded.com] On Behalf Of O'Connor, Sean R.
Sent: Tuesday, November 03, 2009 10:21 AM
To: dspforum at echelonembedded.com
Subject: [Dspforum] CIPR question
Setting the OPT registers for ping and pong to 0x20320002 and 0x20310002 should set CIPR to 2 and 1 when the transfers have completed, I think. CIPR is actually getting set to 6 and 4 respectively, and if I use 6 and 4 as my masks things seem to operate as expected (at least ping and pong get updated and waitfordma() does not hang). To my knowledge the OPT register is the only register that can effect the CIPR... so this discrepancy is confusing to me. Any thoughts?
Thanks,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20091103/0744be15/attachment-0001.html>
More information about the Dspforum
mailing list