DSPRelated.com
Forums

help: using edma with aic23 on dm642

Started by Unknown March 22, 2005

Hi all,
I am trying to play audio through the aic23 on the dm642 using edma. But how do i get the mcasp to generate the edma event as the aic23 is connected through the mcasp0.

Thanks in advance,
Sunil



Namaste Sunil,

Since I havent done what you want to do, I cannot tell you exactly. Just
some points I came across when configuring EDMA links for the VP on the
DM642 (all things you might already know...):

You have to configure an EDMA channel to copy the data for you. To do this,
you call EDMA_open and EDMA_configArgs (see spru401). At the EDMA_open you
have to specify which channel (and therefor which EDMA event source) should
be linked to the channel. For my VP, I specify EDMA_CHA_VP0EVTYB for example
to get an event triggered whenever VideoPort0 receives a fifo overrun of
Y... EDMA_enableChannel() is required to enable the channel. You can also
link a InterruptServiceRoutine using EDMA_intEnable(),
IRQ_map(IRQ_EVT_EDMAINT, 8); IRQ_enable(IRQ_EVT_EDMAINT);

Maybe the enableChannel is missing in your case. Are you sure that McAsp can
trigger EDMA events? I have just searched very quickly through the sprs200
and I didnt find and EDMA within the McAsp chapter...

best regards,

thomas

>
>
> Hi all,
> I am trying to play audio through the aic23 on the dm642 using edma. But
> how do i get the mcasp to generate the edma event as the aic23 is
connected
> through the mcasp0.
>
> Thanks in advance,
> Sunil >
>

--
"Happy ProMail" bis 24. Mz: http://www.gmx.net/de/go/promail
Zum 6. Geburtstag gibt's GMX ProMail jetzt 66 Tage kostenlos!