I have pingPong buffer working with EDMA. But I would like double buffered system for two sepate L/R channels of Stereo audio data.
For Transmit, Links are connected as follows:
EDMA PaRAM set 1 -> PaRAM set 64 -> PaRAM set 65 -> PaRAM set 64 -> ...... for PING_OUT, PONG_OUT buffers
For receive, Links are connected as follows:
EDMA PaRAM set 0-> PaRAM set 67 -> PaRAM set 68 -> PaRAM set 67 -> ...... for PING_IN,PONG_IN buffers
However, i will have long buffers of 4096 values each channel for Left and Right and the TI C6748 (LCDKC6748) seems to run out of memory for it. Without Optimisation! Nevertheless, i would like to have separate In/Out buffers for left and Right channel audio data. That way, i will not have to sort the incoming McASP data stream explicitly in my ISR or SWI or Task.
RcvPingL , RcvPong L
RcvPingR , RcvPong R
Similarly separate buffer for left/right channel for transmitting it.
XmtPing L, XmtPong L
XmtPing R, XmtPong R
Coudl you please guide how should PaRAM links be created?


