[Dspforum] Lab 7 EDMA questions

Joseph Haber josephhaber at gmail.com
Wed Oct 29 08:02:47 MDT 2008


Ryan,

Yes, you are synchronizing to a 32-bit word that is really two packed
samples (left and right channel) from the digitizer.

To check if the serial port is running, run your program, and then look at
View|Registers|McBSP Registers. If you right-click in the register area, you
should see DRR1 (Data Receive Register for McBSP1) updating with a new value
everytime you refresh. That will check that data is coming in.

You can also look at the CIPR register the similar way --
View|Registers|EDMA Registers.

If you want to send init_input_dma_channel directly to me, feel free.

Joseph

Joseph



Joseph

On Tue, Oct 28, 2008 at 11:28 PM, Ryan Merton <lucidsmog at gmail.com> wrote:

> I'm having a very similar problem with this lab as I was having with
> the last lab.  I have had tremendous difficulty in getting bits in the
> CIPR register to ever become '1'.
>
> I'm using the sample code provided in the lab, and believe I have set
> all of the options correctly for the DMA transfer channels.  I observe
> that my 'ping' memory buffer has the first two words (ESIZE = 32 bits)
> set to 0x00000000, then nothing ever happens after that.  TCINT is set
> to 1, and TCC is set to 1.  CIPR1 is never set and the "waitfordma"
> loop spins waiting forever.  There appears to be an issue either with
> the operation of the DMA or with the McBSP/AIC23 port.
>
> Also, just to double check myself here:  The event to which we are
> synchronizing produces a 32-bit word consisted of two packed signed
> short values (one for left channel, one for right)?  We then need to
> pick one of those channels, convert to float, and zero-pad?
>
> I'll be bringing this in to the lab obviously, but any suggestions you
> might have beforehand would be appreciated.
>
> Thanks,
> Ryan
>
> _______________________________________________
> Dspforum mailing list
> Dspforum at echelonembedded.com
> http://echelonembedded.com/mailman/listinfo/dspforum_echelonembedded.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20081029/04645e2e/attachment.html>


More information about the Dspforum mailing list