Reply by fx-7413 July 30, 20102010-07-30
hello Williams!
i've found the datasheet i want by doing as you told, thx a lot !! i'm sorry about recognize you as Andrew! i just post a follow up, and the UP text is written by one named Andrew, so i mistakenly use the name.
i have read the dsk_app project, it does have the multi-channel EDMA usage, but it only use one mcbsp, and i guess it must have lost some of the buffer data during its reception and transmission, because it can't make the reception and transmission exactly syncronized. both reception and transmission channel can generate interrupt to the edmaHwi() --the interrupt handler, but there's only one can be handled at one time, that is to say, these two interrupt can never be handled at the same time! so the dsk_app demo use a SWI which is triggled in the HWI--the edmaHwi(): if reception is done first, the program first enter the edmaHwi(), then mark the 'rcvdone', after a short time(i think the Delta-time between reception and transmission may not be so large), if the transmission is done,then enter the edmaHwi() and mark the 'xmtdone' , when all the two flag are marked, then triggle the SWI--the process function.
does the above process means that the two events of edma can not be strictly ssyncronized?
now i want to use the two mcbsp of c6416 to transmit the I/Q data to AD9957, it requires the I/Q data must be syncronized , because they are the imaginary and real part of the data to the upconvertor.so i want to know wether it is possible to strictly synconize the two channel using edma.

-----------------------previous text--------------
At 2010-07-30 04:21:23,"Richard Williams" wrote:
fx,

CCS comes with some examples (which can also be downloaded from TI.com).
One of those examples contains DSP_APP.c or DSK_APP.c.
That example contains the code needed to program the EDMA for multiple buffer usage.
You should be able to find it under your CCS installation in the directory:
demo_app/DSK6416/CCStudio/examples/dsk6416/bsl/dsk_app
or similar if you are using a different DSP.

Further details can be found in the document:
SPRU234c.pdf, available on the TI.com web site.

R. Williams

---------- Original Message -----------
From: f...@163.com
To: c...
Sent: Thu, 29 Jul 2010 08:37:39 -0400
Subject: [c6x] Re: about EDMA interrupt

> hello Andrew!
>
> i know it's a little bothered for you to recall, but do you have a
> general impression of the name or whatever of the datasheet which
> tells the method of the dual-channel EDMA? could you please tell me
> sth about it,thx a lot!
>
> cathy
>
> --------------------------original
> Hi Kevin,
>
> Yes there is only one EDMA interrupt to the CPU.
>
> What TI documentation have you looked at so far ? There is TI documentation
> explaining how to do what you describe. It is what I looked at many
> years ago when I coded the same thing. Have a look around the TI
> website. If, after reading the documentation you have more specific
> questions, please post them.
>
> Good luck.
>
> - Andrew
> -----------------------end of original----------------------------
------- End of Original Message -------
Reply by Michael Dunn July 29, 20102010-07-29
fx,

On Thu, Jul 29, 2010 at 7:37 AM, wrote:

> hello Andrew!
>
> i know it's a little bothered for you to recall, but do you have a general
> impression of the name or whatever of the datasheet which tells the method
> of the dual-channel EDMA? could you please tell me sth about it,thx a lot!
>

I am not Andrew, but this may help.
If the answer is not in 'TMS320C6000 DSP Enhanced Direct Memory Access
(EDMA) Controller Reference Guide', then try the following.
1. Goto ti.com and enter EDMA in the search field.
2. When the results come up, click on 'Application Notes' on the left side
of the page.
3. One of the top hits should be about scheduling and I/O performance. It
may have what you need.

mikedunn

>
> cathy
>
> --------------------------original
> Hi Kevin,
>
> Yes there is only one EDMA interrupt to the CPU.
>
> What TI documentation have you looked at so far ? There is TI documentation
> explaining how to do what you describe. It is what I looked at many years
> ago
> when I coded the same thing. Have a look around the TI website. If, after
> reading the documentation you have more specific questions, please post
> them.
>
> Good luck.
>
> - Andrew
> -----------------------end of original----------------------------
>
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Reply by Richard Williams July 29, 20102010-07-29
fx,

CCS comes with some examples (which can also be downloaded from TI.com).
One of those examples contains DSP_APP.c or DSK_APP.c.
That example contains the code needed to program the EDMA for multiple buffer usage.
You should be able to find it under your CCS installation in the directory:
demo_app/DSK6416/CCStudio/examples/dsk6416/bsl/dsk_app
or similar if you are using a different DSP.

Further details can be found in the document:
SPRU234c.pdf, available on the TI.com web site.

R. Williams

---------- Original Message -----------
From: f...@163.com
To: c...
Sent: Thu, 29 Jul 2010 08:37:39 -0400
Subject: [c6x] Re: about EDMA interrupt

> hello Andrew!
>
> i know it's a little bothered for you to recall, but do you have a
> general impression of the name or whatever of the datasheet which
> tells the method of the dual-channel EDMA? could you please tell me
> sth about it,thx a lot!
>
> cathy
>
> --------------------------original
> Hi Kevin,
>
> Yes there is only one EDMA interrupt to the CPU.
>
> What TI documentation have you looked at so far ? There is TI documentation
> explaining how to do what you describe. It is what I looked at many
> years ago when I coded the same thing. Have a look around the TI
> website. If, after reading the documentation you have more specific
> questions, please post them.
>
> Good luck.
>
> - Andrew
> -----------------------end of original----------------------------
------- End of Original Message -------

_____________________________________
Reply by fx-7...@163.com July 29, 20102010-07-29
hello Andrew!

i know it's a little bothered for you to recall, but do you have a general impression of the name or whatever of the datasheet which tells the method of the dual-channel EDMA? could you please tell me sth about it,thx a lot!

cathy

--------------------------original
Hi Kevin,

Yes there is only one EDMA interrupt to the CPU.

What TI documentation have you looked at so far ? There is TI documentation
explaining how to do what you describe. It is what I looked at many years ago
when I coded the same thing. Have a look around the TI website. If, after
reading the documentation you have more specific questions, please post them.

Good luck.

- Andrew
-----------------------end of original----------------------------

_____________________________________