AnsweredAssumed Answered

IMX6Q audio: i2s wave is incorrect

Question asked by kainan zhu on Jan 17, 2018
Latest reply on Jan 17, 2018 by igorpadykov

Hi NXP:

   我们有个项目,关于audio有一些问题: 目前I2S的波形不正确.请问我还需要进行哪些配置

   我的电路连接如下:

      BCLK<--->CSI0_DAT4

      LRCLK<--->CSI0_DAT6

      DOUT<--->CSI0_DAT5     

   

我们用的是dsp: tef6638.

DSP由mcu控制,不需要imx6进行控制.DSP i2s是从模式.

DSP和IMX6只有这三根线相连,没有其他连线.

 

   我的配置如下:

 

DTS:

 

tef6638audio: tef6638audio {
#sound-dai-cells = <0>;
compatible = "tef6638-audio";
};

sound_dsp {
#sound-dai-cells = <0>;
compatible = "fsl,imx-tef6638-audio";
model = "tef6638-audio";
cpu-dai = <&ssi2>;
audio-codec = <&tef6638audio>;
mux-int-port = <2>;
mux-ext-port = <3>;
};

 

&ssi2 {
   status = "okay";
};
   

&audmux {
   pinctrl-names = "default";
   pinctrl-0 = <&pinctrl_audmux>;
   status = "okay";
};

 

pinctrl_audmux: audmuxgrp {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0

 

 

>;
};

Outcomes