Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

EDMA to the McASP on the TMS320C6747 or OMAP-L137

$
0
0

Greetings!

Sorry for the repeat posting, in my first one, the format was quite wrong. 

I'm transmitting out of all 28 McASP Channels on the TMS320C6747. I'm working from a loop through example for the same chip.

I've created two dimensional ping pong buffers for both left and right channels of each McASP Channels.

It struck me that, perhaps I could do the 2d transfer with a single EDMA transmit channel, or perhaps one per MCASP, since the  XMT registers are continuous only within a single McASP. 

Question 1: Is it preferable/possible to have a single EDMA multidimensional transmission to the many output registers ? 

Question 2: Also, after reading the link below, I understand that while XBUFn are good registers for transmitting, that if transmitting through the DMA I should use a different address. Where can I find a memory map with these addresses ?

Initially, my intention was to setup a transmission such that each MCASP Channel is handled by it's own EDMA Transfer. If I go about it this way, I realize I'd need to make an additional argument to the setup_edma_pingpong_xmt functions to ensure they wrote to separate PaRAM:

for(int McASP_ind=0; McASP_ind<28; McASP_ind++)
    {
    	setup_edma_pingpong_xmt(xmt_ping_L[McASP_ind][0], xmt_pong_L[McASP_ind][0],
                            	xmt_ping_R[McASP_ind][0], xmt_pong_R[McASP_ind][0], mcasp_xmt_registers[McASP_ind],
				BYTES_PER_SAMPLE, BUF_LENGTH);
    }

Thank you!

Viewing all articles
Browse latest Browse all 17527

Trending Articles