[alsa-devel] Channel swapping issue on TI OMAP3/TWL4030

Peter Ujfalusi peter.ujfalusi at nokia.com
Thu Feb 17 12:44:14 CET 2011


On 02/17/11 05:40, ext ylin at mail.com wrote:
> We tried element and frame mode, playback doesn't sound correct with 
> these mode, but the capture is OK.

Hrm, this does not sound right... Historically the element mode was the
first and only mode of using McBSP. The threshold mode has been added later.
Could you explain what do you mean, when you said that the playback was
not correct?
I have never experienced problems with the element mode.
In what mode you are using the TWL4030 codec? Is it master?
If it is master, can you compare your machine driver with for example
the Beagle board's machine driver?
Or can you share the relevant configuration (from your machine driver)
with us?

> None of our test shows the playback problem.  I think the playback path 
> is fine, but will keep testing.
> 
> Also, we have verified the audio data from I2S interface looks fine 
> using a scope even when the channels are switched.  We can eliminate 
> twl4030 codec from the problem,

That's good.

> and focus on McBSP and DMA.  We don't 
> have chance to check McBSP overflow/underflow as you suggested yet.

If we don't figure out what is the problem, you might need to do this...

-- 
Péter


More information about the Alsa-devel mailing list