Reply by jeeva rathnam June 3, 20082008-06-03
Hi,
you can refer the memory map registers. fetch the value ofrespective address and extract the particular number of bit and check are they zero or not. otherwise u can use CSL APIs where u can directly use macros to fetch the paticular part of register and check it.
-Jeeva
----- Original Message ----
From: anser mehboob
To: c6x group
Sent: Monday, 2 June, 2008 4:15:31 PM
Subject: [c6x] How to check Transfer Count
Hi everybody

Can anybody tell what is the correct way to check wheather "Transfer Count" in an EDMA has reached zero. I am using DSK TMS320C6713. I am transfering values from "gBufRcv[32] " to "gBufXmt[32] " using EDMA. I know when transfer completes, ".cnt" field should go to zero but I dont know what is the proper way to check. Any help is very much appreciated.

Kind Regards

Anser Mehboob

Reply by Adolf Klemenz June 3, 20082008-06-03
Dear Anser,

the only correct way to check if a EDMA transfer is complete is using a
TCINT interrupt. You can either use an interrupt routine, or poll the CIPR.

Best Regards,
Adolf Klemenz, D.SignT
At 16:15 02.06.2008 -0700, anser mehboob wrote:

>Hi everybody
>
>Can anybody tell what is the correct way to check wheather "Transfer
>Count" in an EDMA has reached zero. I am using DSK TMS320C6713. I am
>transfering values from "gBufRcv[32]" to "gBufXmt[32]" using EDMA. I know
>when transfer completes, ".cnt" field should go to zero but I dont know
>what is the proper way to check. Any help is very much appreciated.
>
>Kind Regards
>
>Anser Mehboob
Reply by jeeva rathnam June 3, 20082008-06-03
And refer http://focus.ti.com/lit/ug/spru234c/spru234c.pdffor more details.
-Jeeva
----- Original Message ----
From: anser mehboob
To: c6x group
Sent: Monday, 2 June, 2008 4:15:31 PM
Subject: [c6x] How to check Transfer Count
Hi everybody

Can anybody tell what is the correct way to check wheather "Transfer Count" in an EDMA has reached zero. I am using DSK TMS320C6713. I am transfering values from "gBufRcv[32] " to "gBufXmt[32] " using EDMA. I know when transfer completes, ".cnt" field should go to zero but I dont know what is the proper way to check. Any help is very much appreciated.

Kind Regards

Anser Mehboob

Reply by anser mehboob June 2, 20082008-06-02
Hi everybody

Can anybody tell what is the correct way to check wheather "Transfer Count" in an EDMA has reached zero. I am using DSK TMS320C6713. I am transfering values from "gBufRcv[32]" to "gBufXmt[32]" using EDMA. I know when transfer completes, ".cnt" field should go to zero but I dont know what is the proper way to check. Any help is very much appreciated.
Kind Regards

Anser Mehboob