Hello All:
Platform: IMXRT1050
OS: ucLinux (kernel 4.5)
Issues: WM8960 codec EVK not working
I almost working for this issue but got strange problem:
The MCLK, TX_BCLK and TX_SYNC is working fine when I execute command aplay test.wav, but the key issue is TX_DATA is no any response, because I use the simple-sound-card and wm8960 driver to run this project, please give me some directions for debug the TX_DATA part, thanks a lot!
dmesg:
fsl-asoc-card sound: wm8960-hifi <-> 40384000.sai mapping ok
input: gpio-keys as /devices/platform/gpio-keys/input/input0
clk: Not disabling unused clocks
ALSA device list:
#0: wm8960-audio
error message:
aplay -Dplughw:0 test.wav -f cd
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
ay: pcm_write:2051: write error: Input/output error
Hi May
unfortunately nxp does not support linux on i.MXRT platforms, in general
one can check sai configuration (printfing registers) using app note AN12090 Using SAI
https://www.nxp.com/docs/en/application-note/AN12090.pdf
and wm8960 examples in SDK EVKB-IMXRT1050 package
Welcome | MCUXpresso SDK Builder
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------