Part Number: TDA2SX
Tool/software: Linux
Hi,
I am using custom board based on TDA2Sx SOC with tlv320aic34 audio codec and tlv320aic3x linux driver. Below error is coming as i use command aplay. I am not able to probe MCLK as this line is directly connected to codec without any resisters in between.
# aplay -D hw:2,0 /home/Yamaha-V50-Rock-Beat-120bpm.wav
o/p:
Playing WAVE '/home/Yamaha-V50-Rock-Beat-120bpm.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:1940: write error: Input/output error
> i am using the below settings in my dts file, i am not sure whether i m using correct frequency for MCLK
snd3: sound@2 {
compatible = "simple-audio-card";
simple-audio-card,name = "DRA7xx-EVM-snd3";
simple-audio-card,widgets =
"Microphone", "Mic Jack",
"Line", "Line In",
"Line", "Line Out",
"Headphone", "HP Jack",
"Speaker", "Speaker External";
simple-audio-card,routing =
"Line Out", "MONO_LOUT",
"Speaker External", "LLOUT",
"Speaker External", "RLOUT",
"LINE1L", "Line In",
"LINE1R", "Line In",
"MIC3L", "Mic Jack",
"MIC3R", "Mic Jack";
simple-audio-card,format = "i2s";
/* simple-audio-card,bitclock-master = <&sound2_master>;
simple-audio-card,frame-master = <&sound2_master>;
simple-audio-card,bitclock-inversion;*/
sound2_master: simple-audio-card,cpu {
sound-dai = <&mcasp4>;
system-clock-direction = "out";
system-clock-frequency = <20000000>;
};
simple-audio-card,codec {
sound-dai = <&tlv320aic34_b>;
bitclock-master;
frame-master;
/* bitclock-inversion;*/
system-clock-frequency = <20000000>;
/* system-clock-frequency = <19200000>;*/
};
};
Regards,
Niraj