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 ?
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
was asrc used in the case:
one can try to test with unit tests:
>The SRC is not used.
this may be the reason, may be recommended to port asrc using below example
>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) :
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.
when testing with unit tests, had you used Audio Mixer controls:
they are described in sect.7.5 Audio Mixer (AUDMIX) i.MX Linux Reference Manual