[alsa-devel] recording problem in beagleboard-mcbsp

Peter Ujfalusi peter.ujfalusi at ti.com
Mon Apr 13 17:14:06 CEST 2015


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 = <
> +                        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 = <
		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 try.
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 wrote
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 have 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éter


More information about the Alsa-devel mailing list