使用ti-processor-sdk-linux-am335x-evm-04.00.00.04 ,音频芯片使用tlv320aic3101
设备树文件在附件,进入系统后使用
root@am335x-evm:~/audio_test# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AM335xEVM [AM335x-EVM], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root@am335x-evm:~/audio_test#
播放一段40M的音频,没有输出,几秒后报错退出
root@am335x-evm:~/audio_test# aplay city_back.wav
Playing WAVE 'city_back.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:2004: write error: Input/output error
root@am335x-evm:~/audio_test#
边采边播,也是没有声音,几秒后报错退出
root@am335x-evm:~/audio_test# arecord -Dhw:0,0 -r48000 -f dat | aplay -Dhw:0,0 -r48000 -f dat
Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
arecord: pcm_read:2096: read error: Input/output error
root@am335x-evm:~/audio_test#
这两个错误有人遇到过吗,是怎么解决的呢
arecord: pcm_read:2096: read error: Input/output error
aplay: pcm_write:2004: write error: Input/output error
已经用其他版本内核确认,硬件没有问题,猜测是设备树配置出错,但不知道出在什么地方