DSPRelated.com
Forums

unsynchronized EDMA transfers

Started by akalya April 30, 2002

Hi all :

Question on EDMA transfers: (pertains to 6711 DSK)

What memory-mapped EDMA registers do I need to set if I want to an
unsynchronized EDMA transfer ? (i.e. CPU-iitiated). I would like the
EDMA to set the relevant CIPR bit on completion, and then check the
bit for completion.

For the initial setting, I would like to set the relevant CIPR bit so
that I can put the wait-start transfer-process inside a loop, trouble
is that the relevant CIPR bits DO NOT get set by just an assignment.
Suddenly Im wondering if CIPR register is accessible for writes by
the program !!

Would really appreciate any info. or pointers on CPU-initiated EDMA
and on setting CIPR register !

Thanks very much
ka


You could try the following:

a) Write into the Event Set Register (ESR located at 0x01A0 FFFC). Writing
a '1' into any bit position causes that event to be triggered. The EER
(Event Enable register) does not have to be set in this case.

b) Now if TCINT bit in options entry is set to '1' for a EDMA channel and
a specific transfer complete code is provides, the EDMA controller sets a
bit in the CIPR register. This can be monitored for completion.

A very good document on all of this is spru190D (Peripherals reference
guide).

Regards,
Subrangshu

akalya wrote:

> Hi all :
>
> Question on EDMA transfers: (pertains to 6711 DSK)
>
> What memory-mapped EDMA registers do I need to set if I want to an
> unsynchronized EDMA transfer ? (i.e. CPU-iitiated). I would like the
> EDMA to set the relevant CIPR bit on completion, and then check the
> bit for completion.
>
> For the initial setting, I would like to set the relevant CIPR bit so
> that I can put the wait-start transfer-process inside a loop, trouble
> is that the relevant CIPR bits DO NOT get set by just an assignment.
> Suddenly Im wondering if CIPR register is accessible for writes by
> the program !!
>
> Would really appreciate any info. or pointers on CPU-initiated EDMA
> and on setting CIPR register !
>
> Thanks very much
> ka
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/

-- Subrangshu Kumar Das Ph: +(91)(80)5099-721
DSP Design Email:

Texas Instruments