From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: learnom learnom <learnom1@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: McBSP in TDM for audio codec
Date: Fri, 15 Jun 2012 09:34:48 +0300 [thread overview]
Message-ID: <4FDAD788.9060407@ti.com> (raw)
In-Reply-To: <CADU0PKGmx=dqdUVxvTUDKr2qG_3+3yXcWeKTb__50ayjPHgV+A@mail.gmail.com>
Hi,
On 06/06/2012 04:56 AM, learnom learnom wrote:
> 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.
User space need to make sure that it is placing the data to the correct
channel. The McBSP/sDMA just see a stream of data in a memory.
McBSP do have TDM mode where you can have limited control over how the
channels are handled, but it still handle the data as stream and you can only
tell which slot it should use and which one to ignore. This TDM programming
mode is not implemented since we did not needed it so far and without a codec
it is kind of hard to test it (well, with a scope the channels can bee
observed but that would be all).
--
Péter
prev parent reply other threads:[~2012-06-15 6:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 23:37 McBSP in TDM for audio codec learnom learnom
2012-06-05 12:52 ` Peter Ujfalusi
2012-06-06 1:56 ` learnom learnom
2012-06-15 6:34 ` Peter Ujfalusi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FDAD788.9060407@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=learnom1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.