Re: recording problem in beagleboard-mcbsp

noman pouigt
2015-04-09T23:04:45Z

On Thu, Apr 9, 2015 at 7:07 AM, Peter Ujfalusi <peter.ujfalusi@ti.com> wrote:
> On 04/09/2015 03:06 PM, Peter Ujfalusi wrote:
>> Hrm, McBSP1 is kind of problematic port since it has 6pin config by default.
>> It might worth a try to do something like:
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2012-August/113058.html
>> has removed.
>> Or to switch to use McBSP3.
>>
>> But for some reason now I can not get the recording working via McBSP1 either.
>> I remember that it worked not that long time ago...
>
> One thing I would also try:
> use the codec as master and connect the FS to McBSP1 FSX _and_ FSR. Do the
> same for the bclk (connect it to BCLKX _and_ BCLKR of McBSP1)
> Configure the pin mux for these pins also.

I did but it didn't work.Below is my configuration.
configured mcbsp1_clkx, mcbsp1_fsx, mcbsp1_dx and mcbsp1_dr
+
+ mcbsp1_pins: pinmux_mcbsp1_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x2196, PIN_OUTPUT | MUX_MODE0)
+ OMAP3_CORE1_IOPAD(0x2198, PIN_OUTPUT | MUX_MODE0)
+ OMAP3_CORE1_IOPAD(0x2190, PIN_OUTPUT | MUX_MODE0)
+ OMAP3_CORE1_IOPAD(0x2192, PIN_INPUT | MUX_MODE0)
+ OMAP3_CORE1_IOPAD(0x218C, PIN_OUTPUT | MUX_MODE0)
+ OMAP3_CORE1_IOPAD(0x218E, PIN_OUTPUT | MUX_MODE0)
+ >;
+ };
};
>
> --
> Péter