imx-spdif - samplerate is off

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

imx-spdif - samplerate is off

3,122件の閲覧回数
carotte
Contributor IV

Hi,

I am currently facing a strange problem with the SPDIF output on IMX6ULL.

Instead of being 44,1kHz, my AP shows it as 44,8343kHz. This causes some applications to stutter.

Apart from that, SPDIF does work.

Any ideas ?

Thanks!

0 件の賞賛
返信
9 返答(返信)

3,113件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Noel

 

what bsp used in the case, one can look at i.MX6ULL spdif example on

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ull-14x14-ddr3-arm2....

 

Best regards
igor

0 件の賞賛
返信

3,105件の閲覧回数
carotte
Contributor IV

Hi Igor,

im currently using the 5.4.70_2.3.0 BSP.

I implemented SPDIF as described - that is not the problem.

The problem is -as I mentioned- that SPDIF works, but the sample rate is not right

0 件の賞賛
返信

3,099件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信

3,091件の閲覧回数
carotte
Contributor IV

The SRC is not used.

The test failed as described....

0 件の賞賛
返信

3,086件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

>The SRC is not used.

 

this may be the reason, may be recommended to port asrc using below example

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ull-14x14-ddr3-arm2....

 

Best regards
igor

0 件の賞賛
返信

3,080件の閲覧回数
carotte
Contributor IV

could you please elaborate on what this example is supposed to show ?

in that device tree I see no reference at all to SPDIF or ASRC, apart from the pin config for SPDIF.

0 件の賞賛
返信

3,077件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

>could you please elaborate on what this example is supposed to show ?

 

it is in "imx6ull.dtsi" included in that example (imx6ull-14x14-ddr3-arm2.dts) :

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ull.dtsi?h=imx_4.19....

 

1.jpg

 

Best regards
igor

0 件の賞賛
返信

3,075件の閲覧回数
carotte
Contributor IV

The ASRC and SPDIF parts of this device tree are identical to mine.

In the 5.4.7 BSP, this has moved to the 6ul dtsi. The SPDIF part was omitted in this BSP and added by patch.

The ASRC part has not changed. 

 

So this can't be the reason either. 

Unless there is some other configuration that needs to be done.

0 件の賞賛
返信

3,061件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信