Hi Earl,
Thanks for the reply. Your posts have been a great help to me.
So the long story is that I have the DMA controller setup to transfer six PCM samples across six different buffers in a Ping-Pong fashion into FIFO0. My setup of the DMA controller is based on your description in one of your other posts.
So, yes, I am transferring six PCM data samples every frame sync. The other five PCM samples are zero. In other words, all buffers are all zero except for first buffer which I'm putting a 1KHz sine wave into from an input.
I have two inputs and six outputs. I have tasks that once enabled will take the data from one input buffer and send it to a specific output buffer. In this scenario, I'm taking the data from buffer of input #1 and putting it into the output buffer #1.
The input DMA controller has two channels in a Ping-Pong setup. The output DMA controller has six channels in a Ping-Pong setup.
My board has several modes and when I use two input channels and two outputs channels, I can send any input channel to any output channel as long as no more than two output channels are "unmasked". So, I have received data on timeslot 7 and have sent it successfully to any two timeslots that are unmasked (e.g. TS #1, TS #2, TS #9, TS #10). The same is for data received on timeslot #10. In one of your previous posts, I see that on a rev 1.x K60, you supported four inputs and four outputs and I've used this information to get my interface working but with the rev 2.x K60 it doesn't have a bit to select "network" mode. I have the frame size set to 16 but it would seem that more is required to support a "network" mode as there is no other information within the documentation of what to set to support more than two timeslots.
I have used your posts to help me get this interface working but the rev 1.x K60 I2S interface is different from the rev 2.x K60 SAI interface and it is not clear how to set "network" mode. Okay, Freescale is clear that there is no more network mode so I'll say, it is not clear what to set to support more than an I2S interface. I was hoping that someone within or outside of Freescale has the SAI interface working with more than two channels/frames. I am sure that I have misconfigured the SAI interface but based on the limited documentation on supporting more than two channels on the rev 2.x K60, I'm at a loss of which bits to set. Please excuse my frustration but I've been trying to solve this issue for a while.
Again, thanks for being ever present and trying to help.
Tim Wright