This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x interface with both McASPs

I am having trouble getting each McASP to interface with a CODEC simultaneously.

I have two audio CODECs, one connected to each McASP, and I'm trying to get both CODECs to loop back their audio through the AM335x.  My code is a modified version of the mcaspPlayBk StarterWare example for the evmAM335x by enabling the McASP0 instance and duplicating all the functions for that instance.  The program works fine when only a single McASP is configured (i.e., McASP0 correctly communicates with CODEC0 -or- McASP1 correctly communicates with CODEC1) .  However, I am having trouble when I enable and configure both sets of McASP functions together to get both CODEC loop backs running simultaneously.

Specifically, when I run the program with both enabled, the AM335x stops generating EDMA interrupts for McASP0.  There are still EDMA interrupts for McASP1 and it is looping back the audio, but the audio data out is shifted from the original data input.  Again, I do not see these issues when each McASP is enabled individually to a CODEC, only when I try to enable both simultaneously.

I would appreciate any advice or assistance you could give me!

Thanks,
Jason