From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Ujfalusi Subject: Re: recording problem in beagleboard-mcbsp Date: Mon, 13 Apr 2015 18:14:06 +0300 Message-ID: <552BDD3E.5080607@ti.com> References: <551C3D19.2050200@ti.com> <5523A1F3.2000701@ti.com> <5524FA51.9060606@ti.com> <55266B38.6030503@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by alsa0.perex.cz (Postfix) with ESMTP id 0F547265161 for ; Mon, 13 Apr 2015 17:14:10 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: noman pouigt Cc: "alsa-devel@alsa-project.org" , "broonie@kernel.org" List-Id: alsa-devel@alsa-project.org On 04/10/2015 02:02 AM, noman pouigt wrote: >> Or to switch to use McBSP3. > = > tried this as well but even playback didn't work. > + mcbsp3_pins: pinmux_mcbsp3_pins { > + pinctrl-single,pins =3D < > + OMAP3_CORE1_IOPAD(0x216C, PIN_OUTPUT | MUX_MODE1) > + OMAP3_CORE1_IOPAD(0x216E, PIN_INPUT | MUX_MODE1) > + OMAP3_CORE1_IOPAD(0x2170, PIN_OUTPUT | MUX_MODE1) > + OMAP3_CORE1_IOPAD(0x2172, PIN_OUTPUT | MUX_MODE0) > + >; > + }; Should be: mcbsp3_pins: pinmux_mcbsp3_pins { pinctrl-single,pins =3D < OMAP3_CORE1_IOPAD(0x2172, PIN_INPUT | MUX_MODE0) /* FSX */ OMAP3_CORE1_IOPAD(0x2178, PIN_INPUT | MUX_MODE1) /* CLKX */ OMAP3_CORE1_IOPAD(0x2174, PIN_OUTPUT | MUX_MODE1) /* DX */ OMAP3_CORE1_IOPAD(0x2176, PIN_INPUT | MUX_MODE1) /* DR */ >; }; Based on the schematics. But for some reason I did not got capture working with this for the first t= ry. Then my MicroSD card decided that it is now in Write Protected mode and can not recover it, no matter how I try (MicroSD does not have physical switch). Have you tried to attach the codec to McBSP2? There is a P18 on the backside of the xM (near to the MicroSD slot, 4 pin square c onnector) with FSX/CLKX/DR/DX of McBSP2. You will need smaller pins to connect the line to this header The strange thing is that McBSP2 and 3 are mostly identical (they only have different FIFO size) and McBSP3 is used in N9 to connect with twl5030 codec while the McBSP2 is used with tlv320dac33. I know they work(ed) since I wro= te the audio support for the phone back in the days. I need to find a spare MicrSD card now to boot the board, which I do not ha= ve ATM. In any ways right now I have no idea why McBSP1 is not working as it should, it is odd never the less. -- = P=E9ter