From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Nikula Subject: Re: WM8731 using I2S on omap3 McBSP2 issues Date: Sat, 26 Sep 2009 10:56:59 +0300 Message-ID: <20090926105659.8b1894bd.jhnikula@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ew0-f225.google.com (mail-ew0-f225.google.com [209.85.219.225]) by alsa0.perex.cz (Postfix) with ESMTP id 4619C245E4 for ; Sat, 26 Sep 2009 09:56:46 +0200 (CEST) Received: by ewy25 with SMTP id 25so3188278ewy.45 for ; Sat, 26 Sep 2009 00:56:45 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Rick Bronson Cc: alsa-devel@alsa-project.org, Peter Ujfalusi List-Id: alsa-devel@alsa-project.org On Fri, 25 Sep 2009 07:31:47 -0700 Rick Bronson wrote: > Hi Peter, > > I forgot to tell you that if I deliberately misconfigure the > McBXP_CLKS pin so that it's an output, the FSX -> DACLRC/ADCLRC signal > stops. This should indicate that the CLKOUT signal is actually making > it to the CLKS pin on the OMAP. Right? > Yes it is indicating so. I read through this thread I didn't find any simple reason why it's not working. Your setup is similar with the Pandora, i.e. McBSP functional clock is coming the codec and codec is slave. The McBSP is operating if the FSX and CLKX are toggling in this setup. Is it so that you don't get any DMA interrupts or just few of them? Your CLKGDV divisor value 256 means too low bit clock and sample rate for both external 12.288 MHz and internal 96 MHz but still the DMA should be running (if there is no bug with this divisor value). Can you try divisor value 8 does it work then? For 48 kHz sample rate with I2S you need a bit clock of 48 kHz*2*16 = 1.536 MHz and this you get by dividing the 12.288 MHz with 8. -- Jarkko