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.
Hi,
I am trying to modify the mcaspPlayBk to run on my board which codec 32bit I2S codec and could not get output channels correctly. For now, I only have 1 stereo input and 1 stereo output.
.
Thanks
It appears that the DMA event occurs twice as often as it should.
And the input buffer seems to be 4-channel interleaved as well. So instead of 2 channel with 2000 samples in each channel, now I have 4 channels with 1000 samples in each channel. The DMA seems to serve 4000 samples each time, which is correct, but it does it as 4x1000 instead of 2x2000.
Input buffer as in
Any idea why?
If I set the minWdPerSer in the following to 2, then it works. But I shouldn't have to, do it?
/* Enable the FIFOs for DMA transfer */
McASPReadFifoEnable(SOC_MCASP_0_FIFO_REGS, 1, 2);
McASPWriteFifoEnable(SOC_MCASP_0_FIFO_REGS, 1, 2);