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
>;
};
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
Hi, Kainan,
我看你使用了tef6638这款芯片,请问你有这款芯片的驱动代码吗?
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!
-----------------------------------------------------------------------------------------------------------------------