Hi Caglar,

You have to poll on the IPR register. Later to clear the bit in the IPR,
you will have to write to the ICR register as IPR is read-only.
You can find the details in this document:
http://focus.ti.com/lit/ug/sprueq5a/sprueq5a.pdf

Regards,
Adithya

-----Original Message-----
From: davinci-linux-open-source-boun...@linux.davincidsp.com
[mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On
Behalf Of Caglar Akyuz
Sent: Wednesday, January 13, 2010 8:46 PM
To: davinci-linux-open-source@linux.davincidsp.com
Subject: EDMA Question: Transfer Polling

Hello everybody,

What is the correct way of waiting for an edma transfer to be completed?
Under 
Linux I use dma callbacks but under u-boot there is no interrupt 
handlers(AFAIK) so I'm trying to poll EDMA registers. I wonder what is
the 
correct register to poll, I tried different methods but they are not
reliable 
yet.

Thanks,
Caglar
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to