Hi
I am still battling with my old foe the EDMA.! Really this is one complex animal and would be good to have a plugin or utility in CCS to configure the edma.
Aside from this, my immediate problem is as follows:
1. I have set up the edma to service the McAsp A/D and D/A. There is only one stereo channel. Both edma channels are ping-pong buffered. One set for Tx and one set for RX.
2. The edma writes to the McAsp works as expected (after solving buffer issues - see earlier posts)
3. Now I have looped back the TX into the RX externally and hope to see the waveform coming out of the TX in the RX buf, which I do.
4. However if I was to read the edma RX buffer in the foreground the buffer gets locked out to further filling by the edma.
5. I have made sure that when the Ping is being read out by the foreground, the pong is getting filled by the edma
6. If I don't do the reads in the foreground the ping-pong buffers get filled properly and I can see that through the mem browser and the memory plots.
7. If I were to read any part of the ping pong buffer, even a single address it gets blocked out for further filing by the edma
This is very strange behavior. Please I am awaiting advice to solve this....
Manjula