This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAS2563: aplay: pcm_write:2127: write error: Input/output error

Part Number: TAS2563
Other Parts Discussed in Thread: TAS2562

Tool/software:

Hi, 

I'm using TAS2563 codec for audio. But I'm unable to play sound, it shows "aplay: pcm_write:2127: write error: Input/output error"

$ sudo aplay -D sysdefault:CARD=AM62xSKEVM sample.wav
Playing WAVE 'sample.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:2127: write error: Input/output error

$ speaker-test -c 2 -r 44100 -D hw:0,0

speaker-test 1.2.8

Playback device is hw:0,0
Stream parameters are 44100Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 44100Hz (requested 44100Hz)
Buffer size range from 128 to 131072
Period size range from 64 to 16384
Using max buffer size 131072
Periods = 4
was set period_size = 16384
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Input/output error

$ sudo lsmod | grep snd
snd_soc_davinci_mcasp    40960  2
snd_soc_simple_card    20480  0
snd_soc_ti_udma        12288  1 snd_soc_davinci_mcasp
snd_soc_ti_edma        12288  1 snd_soc_davinci_mcasp
snd_soc_tas2562        20480  1
snd_soc_simple_card_utils    24576  1 snd_soc_simple_card
snd_soc_ti_sdma        12288  1 snd_soc_davinci_mcasp
snd_soc_core          221184  7 snd_soc_davinci_mcasp,snd_soc_ti_sdma,snd_soc_ti_edma,snd_soc_tas2562,snd_soc_ti_udma,snd_soc_simple_card_utils,snd_soc_simple_card
snd_pcm_dmaengine      12288  1 snd_soc_core
snd_pcm               118784  4 snd_soc_davinci_mcasp,snd_soc_simple_card_utils,snd_soc_core,snd_pcm_dmaengine
snd_timer              40960  1 snd_pcm
snd                    90112  3 snd_timer,snd_soc_core,snd_pcm
soundcore              12288  1 snd