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.
- Is the input/output buffer in the mcaspPlayBk interleaved? In the EDMA config, aCnt is 8, bCnt is the NUM_SAMPLES_PER_AUDIO_BUF, so the buffer should look like ch0-samp0 ch1-samp0 ch0-samp1 ch1-samp1 .... , right? The output format is expected to be like that, right?
- After some experitment, I found that the output buffer has to be 4-channel interleaved, in which ch0 is sent to left and ch2 to the right, while ch1 and ch3 are lost in nowhere. Pls see the picture below, only the arrow pointed channels were heard in the output.
- Here is a screenshot of the McASP registers
.
Thanks