SGTL5000

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,668件の閲覧回数
jingyangxie
Contributor V

I have a imx6q custom board with using sgtl5000 for sound card ,I configed the devicetree and build the kernel 3.14.52,when I use command "aplay xxx.wav",I cound not hear any sound ,can any one give any advice ?

here are some configure:

&ssi1 {
 fsl,mode = "i2s-slave";
 status = "okay";
};

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

codec: sgtl5000@0a {
  compatible = "fsl,sgtl5000";
  reg = <0x0a>;
  clocks = <&clks 201>;
  VDDA-supply = <&reg_3p3v>;
  VDDIO-supply = <&reg_3p3v>;

sound {
  compatible = "fsl,imx6q-sabresd-sgtl5000",
        "fsl,imx-audio-sgtl5000";
  model = "imx6q-sabresd-sgtl5000";
  cpu-dai = <&ssi1>;
  audio-codec = <&codec>;
  audio-routing =
   "MIC_IN", "Mic Jack",
   "Mic Jack", "Mic Bias",
   "Headphone Jack", "HP_OUT";
  mux-int-port = <1>;
  mux-ext-port = <3>;
 };

pinctrl_audmux: audmuxgrp {
   fsl,pins = <
    MX6QDL_PAD_CSI0_DAT7__AUD3_RXD  0x130b0
    MX6QDL_PAD_CSI0_DAT4__AUD3_TXC  0x130b0
    MX6QDL_PAD_CSI0_DAT5__AUD3_TXD  0x110b0
    MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS  0x130b0
   >;
  };

ラベル(2)
0 件の賞賛
返信
1 解決策
2,178件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

sgtl5000 is not used on nxp i.MX6 reference boards, there are no examples for sgtl5000

with them. For sgtl5000 examples please refer to boundary devices schematic

BD-SL-i.MX6 sabre_lite-revD.pdf p.7

i.MX6 ARM Development Board 

https://boundarydevices.com/wp-content/uploads/2014/11/sabre_lite-revD.pdf 

use boundary devices linux kernels and choose agtl5000 settings for that board, use them

as example

Wiki - Boundary Devices 

Best regards
igor

元の投稿で解決策を見る

5 返答(返信)
2,178件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi jingyang

what bsp used in the case, please check BD bsps where sgtl5000 is well supported

Audio output selection under Linux on i.MX6 - Boundary Devices 

please check with oscillosope clock signals, in particular MCLK.

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

0 件の賞賛
返信
2,178件の閲覧回数
jingyangxie
Contributor V

Hi,I have check the board,the MCLK is 24MHz,I don't sure the sch is right .can you help me check it? sch.jpg

0 件の賞賛
返信
2,179件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

sgtl5000 is not used on nxp i.MX6 reference boards, there are no examples for sgtl5000

with them. For sgtl5000 examples please refer to boundary devices schematic

BD-SL-i.MX6 sabre_lite-revD.pdf p.7

i.MX6 ARM Development Board 

https://boundarydevices.com/wp-content/uploads/2014/11/sabre_lite-revD.pdf 

use boundary devices linux kernels and choose agtl5000 settings for that board, use them

as example

Wiki - Boundary Devices 

Best regards
igor

2,178件の閲覧回数
jingyangxie
Contributor V

0 件の賞賛
返信
2,178件の閲覧回数
jingyangxie
Contributor V

Hi,igorpadkov

   the bsp is 3.14.52,and the schematic is below:

0 件の賞賛
返信