[alsa-devel] McBSP in TDM for audio codec

learnom learnom learnom1 at gmail.com
Wed Jun 6 03:56:46 CEST 2012

Hi Peter,
Thanks for the information.
I was able to setup for multiple channel(by setting up xcera register).
Iam able to get proper frame synchronization clock and the data is
transmitted on channel0 in A partition(block0).

I want to control these channel0, 1, 2, 3 independently.
For example, lets say,
1) If I want to transmit the data in channel 1 only, i want to see the
channel0 null, channel1 with data, channel 2 null, channel 3 null.

2)I want to transmit data at the same time, channel 1 (data) , channel2
(Data), channel3 data, channel(data).

Can you please let me know how to recognize that the user is sending from
which channel, and how to setup for these two scenarios.

On Tue, Jun 5, 2012 at 5:52 AM, Peter Ujfalusi <peter.ujfalusi at ti.com>wrote:

> Hi,
> On 06/05/2012 02:37 AM, learnom learnom wrote:
> > Hi All,
> >
> > I have to support 4 channels in I2S format in TDM mode.
> > Processor: OMAP 3703
> >
> > If any one have any idea on how to go about this. Please let me know.
> The McBSP driver currently supports TDM mode (DSP mode) up to 16 channels.
> It should work out of box.
> Take a look at the following drivers:
> sound/soc/omap/omap-mcbsp.c
> sound/soc/codecs/twl4030.c
> sound/soc/omap/omap3beagle.c
> for reference. The Beagle have twl4030 codec and it is possible to use
> playback with 4 channels.
> --
> Péter

More information about the Alsa-devel mailing list