EDIT: I have edited the title as we are seeing that the problems seems more related with McBSP than edma, see last post
Hello, I really need the last help to finally boost my project. I am very close to finish it, but need some help from you. What I have is a third party application that is using ACPY3 (which use EDMA), I don't have any access to this code so in this point our hands are tied. I have add to this application my code which needs to serve the McBSP, I have decided to use EDMA to serve McBSP as it is the best (if not the only, due to the features of the project) approach. What I have been experimenting working with it, is that sometimes the reception of McBSP is not working properly. Sometimes and without any apparent reason, the reception fails, it is not related with a code-problem as sometimes work perfect.
I guess the problem is connected with endpoints access, I mean, I think my third party application is using ACPY3 to access same memory space that I am using, so my reception fails as it need to write in a buffer. I am working with dm6437 and I have tried to allocate in internal memory (L1SRAM) and in external (DDR2) with no 100% success in both cases.
Could someone please give some tips about how to solve this problem? I found that there is a RDRATE register to limit the read-accesses to memory, but there is no equivalent for writte-accesses, I think with somethink like this my endpoints will be solve.
Thanks in advance and regards