AnsweredAssumed Answered

Capturing RAW PCM DATA in Imx6

Question asked by saisurya narayan on Jun 30, 2015
Latest reply on Jul 2, 2015 by igorpadykov

Hi All,

 

I am having our custom board which is having imx6d processor.In this we connected Telephony chip(Le9641) which will receive and transmit PCM samples.It is having internal audio processing units which will convert analog voice signals to raw PCM samples and vice versa.It requires clock from processor.

 

Now i want to capture and send PCM data from/to our chip.For that i made the following changes.

 

>>Configured SSI as i2s-master.

>>registered dummy sound card.

 

My dts entries are as follows.

 

sound{

    compatible = "fsl,imx-dummy";

    model = "imx6q-dummy";

    ssi-controller = <&ssi1>;

    mux-int-port = <5>;

    mux-ext-port = <2>;

};

 

&ssi1 {

        fsl,mode = "i2s-master";

        status = "okay";

};

 

&audmux {

        pinctrl-names = "default";

        pinctrl-0 = <&pinctrl_audmux_3>;

        status = "okay";

};

 

pinctrl_audmux_3: audmux-3 {

    fsl,pins = <

        MX6QDL_PAD_KEY_ROW1__AUD5_RXD   0x130b0

        MX6QDL_PAD_KEY_COL0__AUD5_TXC   0x130b0

        MX6QDL_PAD_KEY_ROW0__AUD5_TXD   0x110b0

        MX6QDL_PAD_KEY_COL1__AUD5_TXFS  0x130b0

                        >;

                };

In DAI format i am using  "SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |SND_SOC_DAIFMT_CBS_CFS"

 

 

I am able to load my driver and dummy sound card also registering.But i am not able get the clock.Can any one help me what i am missing?

 

Thanks.

Outcomes