RE: OMAP Audio

2010-02-26 Thread Stehle, Vincent
Gary Thomas: I don't think it matters. The real problem is how to get 24 bits of data aligned to the right place in the 32 bit frame. TRM implies that the hardware can do this, I've just not figured out the magic... Hi, I asked a colleague, who worked on OMAP3 McBSP silicon validation. She

Re: OMAP Audio

2010-02-17 Thread Peter Ujfalusi
On Wednesday 17 February 2010 09:03:39 ext Jarkko Nikula wrote: On Tue, 16 Feb 2010 11:19:25 -0700 Gary Thomas g...@mlbassoc.com wrote: I need to connect the OMAP (3530) to a 24bit CODEC. So far my attempts at getting this to go have not gone well. Then I ran across this comment in

Re: OMAP Audio

2010-02-17 Thread Gary Thomas
On 02/17/2010 03:26 AM, Peter Ujfalusi wrote: On Wednesday 17 February 2010 09:03:39 ext Jarkko Nikula wrote: On Tue, 16 Feb 2010 11:19:25 -0700 Gary Thomasg...@mlbassoc.com wrote: I need to connect the OMAP (3530) to a 24bit CODEC. So far my attempts at getting this to go have not gone

Re: OMAP Audio

2010-02-17 Thread Gary Thomas
On 02/17/2010 04:17 AM, Peter Ujfalusi wrote: On Wednesday 17 February 2010 12:43:56 ext Gary Thomas wrote: On 02/17/2010 03:26 AM, Peter Ujfalusi wrote: On Wednesday 17 February 2010 09:03:39 ext Jarkko Nikula wrote: On Tue, 16 Feb 2010 11:19:25 -0700 Gary Thomasg...@mlbassoc.com wrote:

Re: OMAP Audio

2010-02-17 Thread Jarkko Nikula
On Wed, 17 Feb 2010 05:01:53 -0700 Gary Thomas g...@mlbassoc.com wrote: After looking at the TRM of OMAP, the sDMA has support for 8, 16 and 32 bit data types. So I'm not really sure how to configure McBSP and sDMA in case of 24 bit packed format. I would go with a trial and error

Re: OMAP Audio

2010-02-17 Thread Gary Thomas
On 02/17/2010 10:45 AM, Jarkko Nikula wrote: On Wed, 17 Feb 2010 05:01:53 -0700 Gary Thomasg...@mlbassoc.com wrote: After looking at the TRM of OMAP, the sDMA has support for 8, 16 and 32 bit data types. So I'm not really sure how to configure McBSP and sDMA in case of 24 bit packed format. I

Re: OMAP Audio

2010-02-17 Thread Mark Brown
On Wed, Feb 17, 2010 at 10:51:11AM -0700, Gary Thomas wrote: Thanks. I'd really like to understand how to set things up to generate the data I see in TRM: Figure 21-11 shows an example with 24 bits data (MSB first) and 8 padding bits at ?0?. This matches my CODEC. Any clues? Does your

Re: OMAP Audio

2010-02-17 Thread Gary Thomas
On 02/17/2010 10:56 AM, Mark Brown wrote: On Wed, Feb 17, 2010 at 10:51:11AM -0700, Gary Thomas wrote: Thanks. I'd really like to understand how to set things up to generate the data I see in TRM: Figure 21-11 shows an example with 24 bits data (MSB first) and 8 padding bits at ?0?. This

Re: OMAP Audio

2010-02-16 Thread Jarkko Nikula
On Tue, 16 Feb 2010 11:19:25 -0700 Gary Thomas g...@mlbassoc.com wrote: I need to connect the OMAP (3530) to a 24bit CODEC. So far my attempts at getting this to go have not gone well. Then I ran across this comment in sound/soc/omap/omap-pcm.c: /* * Note: Regardless of