IMX6Q audio: i2s wave is incorrect

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6Q audio: i2s wave is incorrect

Jump to solution
1,111 Views
kainanzhu
Contributor I

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

>;
};
2018-01-15 10_51_41____________.png

0 Kudos
1 Solution
742 Views
igorpadykov
NXP Employee
NXP Employee

Hi kainan

for codec working as slave please try patch

No sound captured with SGTL5000 on i.MX6 in I²S master mode - Patchwork 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
742 Views
xiaojun_huang
Contributor I

Hi, Kainan,

我看你使用了tef6638这款芯片,请问你有这款芯片的驱动代码吗?

0 Kudos
743 Views
igorpadykov
NXP Employee
NXP Employee

Hi kainan

for codec working as slave please try patch

No sound captured with SGTL5000 on i.MX6 in I²S master mode - Patchwork 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos