I'm working on IMX8QXP-B0 custom board. We have connected the DMIC on ESAI interface. While run the playing or recording audio command, I'm facing the below error sometimes/random only, even seen during the Bluetooth audio testing.
[ 46.787245] fsl-esai-dai 59010000.esai: failed to derive required SCKR rate [ 46.794271] fsl-esai-dai 59010000.esai: ASoC: can't set 59010000.esai hw params: -22
When I run the DMIC command then error log not seen.
arecord -D hw:2,0 -c 4 -r 48000 -f S16_LE test.wav
Its show most of the time during other audio interface command execute. Please refer the attached log.
root@imx8qxpmek:~# cat /proc/asound/cards 0 [imxspdif ]: imx-spdif - imx-spdif imx-spdif 1 [imxaudmix ]: imx-audmix - imx-audmix imx-audmix 2 [imxaudiosph0645]: imx-audio-sph06 - imx-audio-sph0645 imx-audio-sph0645
for such performance issue may be recommended to use latest C0 silicon revision
as it has performance improvement
use latest BSPs and RPA tool, as it also provided memory optimizations.