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: [email protected]
[mailto:[email protected]] On
Behalf Of Caglar Akyuz
Sent: Wednesday, January 13, 2010 8:46 PM
To: [email protected]
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
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to