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.
about codecs dts as below:
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.
Hello,
Could you please share your device tree configuration?
Which CODEC are you using?
Best regards.
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.
Hello,
Do you get underflow or overflow errors during testing?
Best regards.
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?)