IMX6Q audio: i2s wave is incorrect

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6Q audio: i2s wave is incorrect

ソリューションへジャンプ
1,368件の閲覧回数
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 件の賞賛
返信
1 解決策
999件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
999件の閲覧回数
xiaojun_huang
Contributor I

Hi, Kainan,

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

0 件の賞賛
返信
1,000件の閲覧回数
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 件の賞賛
返信