I have uart and mcasp work successfully, i want to check the data transfer between uart and mcasp.
I have one dsp. I connect the data pins and the frame syns signal pins of mcasp, I can receive and send data, I found that it work successflly.
I have check the uart by the software working in windows. I send data from the software and after dsp receive the data, dsp transits the data to the software again. I have found it also works successfully. The baud(115200bps), I send 1024 bytes data every 100ms.
So, I use software to send 1024 bytes data every 100ms, uart receives the data and put the data in the buffer, then mcasp with edma send the buffer to the receive pin of mcasp, after mcasp receive the data, then dsp put the receive data to the uart, finnally, the uart send the data to the software, that is the procedure.
After a while, I found that there are several data lost in mcasp,because I find there is no error in the send buffer, I tried ping-pong buffer, but I can not resolve the problem.
where is the problem is?