Other Parts Discussed in Thread: TDA2
Hi All
I am Working on TDA2XX custom board.
I am facing issue with audio clock generation with help of BCLK.
my requirement is "I2S run on 48KHz sample rate stereo 24bits format, that is BCLK should be 3.072MHz"
I am using below devicetree to generate the clock
sound0: sound0 {
compatible = "simple-audio-card";
status = "okay";
simple-audio-card,name = "CS48L32";
simple-audio-card,widgets =
"Headphone", "Headphone Jack",
"Line", "Line Out",
"Microphone", "Mic Jack",
"Line", "Line In";
/*
simple-audio-card,routing =
"ASP TX1 Source", "ASPTX1",
"ASP TX3 Source", "ASPTX3",
"ASPRX1", "VPMON ADC",
"ASPRX1", "VBSTMON ADC",
"AMP Playback", "ASPRX1",
"Main AMP", "SPK",
"CLASS H", "PCM Source"; */
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&sound0_master>;
simple-audio-card,frame-master = <&sound0_master>;
simple-audio-card,mclk-fs = <256>;
sound0_master: simple-audio-card,cpu {
sound-dai = <&mcasp2>;
system-clock-frequency = <3072000>;
};
simple-audio-card,codec {
sound-dai = <&cs35l41_l>
};
};
But, audio is not working and with help fo aplay -vvv .wav file,it's playing very fast.
Can you please help me,where i am wrong ?
Thanks & Regards,
Sankar.