2394875_en-US

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

2394875_en-US

2394875_en-US

imx8mmini sai1 max sample rates

hi

    sai1 connect a codecs support sample rates 768khz/32bit. SAI1-RX0 connect codec_DOUT.

have no data with 768khz/32bit and L/R channels to read.but SAI1-TXFS/SAI1-TXC could output 768khz/49.152Mhz. read L/R channels with 768khz/16bit and 384khz/32bit is ok.kernel version 6.1.36.

thanks.



Re: imx8mmini sai1 max sample rates

about codecs dts as below:

sofia_0571_0-1784080120640.png

run arecord cmd with "-f S32_LE -r 384000 -c 2 -d 1 test.wav" or "-f S16_LE -r 786000 -c 2 -d 1 test.wav" is ok. but run with "-f S32_LE -r 768000 -c 2 -d 1 test.wav",test.wav is NULL.




Re: imx8mmini sai1 max sample rates

Hello,

Could you please share your device tree configuration?

Which CODEC are you using?

Best regards.

Re: imx8mmini sai1 max sample rates

Hello,

If you are getting errors related to the sample rate, could be caused by clock source since it is not able to generate the necessary frequency for that sample rate.

Sometimes, is needed to use a dedicated clock source such as an external clock to get an specific sample rate.

Best regards.

Re: imx8mmini sai1 max sample rateswhen read with 768kHz 32bit x 2 channel,SAI1_TXFS/SAI1_TXC output is ok(768khz/49.152Mhz),The codec data output pin (connect to SAI1_RX0)has data output when checked with an oscilloscope.Is it possible that imx8mmini sdma is not worKing?Re: imx8mmini sai1 max sample rates

Hello,

Do you get underflow or overflow errors during testing?

Best regards.

Re: imx8mmini sai1 max sample rates

get kernel print errors during testing as below:
[ 506.336480] [858] wait_for_avail:1936: asoc-simple-card sound-pcmdev: capture write error (DMA or IRQ trouble?)

タグ(1)
評価なし
バージョン履歴
最終更新日:
16 時間前
更新者: