Other Parts Discussed in Thread: TLV320AIC3106
Hello TI
trying to test audio (TLVAIC33 codec) with AM62x (MCASP0) and the configurations are done as expected, aplay detects the sound card and able to play the sound using aplay command , but no sound in headphones
found that , the Frame sync is not 50% duty cycle (its 10% duty cycle) , even the frequency is correct (44.1khz) ,looks like the configuration is like TDM not I2S?
is it correct to use tdm-slots and op-mode together ?
also got the error : ti-bcdma 485c0100.dma-controller: chan0 teardown timeout
signals captured
BCLK : ||||||||||||||||||||||||||||||||||||||||||||||||||||
FR : |_________|________|_____ (like TDM not like I2S, freq is correct and equal to sampling freq)
below is my config :
please check and help me what is wrong with it ?
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "AM62x-SKEVM";
simple-audio-card,widgets =
"Headphone", "Headphone Jack";
simple-audio-card,routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT";
simple-audio-card,format = "dsp_b";
simple-audio-card,bitclock-master = <&sound_master>;
simple-audio-card,frame-master = <&sound_master>;
simple-audio-card,bitclock-inversion;
simple-audio-card,cpu {
sound-dai = <&mcasp0>;
};
sound_master: simple-audio-card,codec {
sound-dai = <&tlv320aic3106>;
clocks = <&tlv320_mclk>;
};
};
&mcasp0 {
status = "okay";
//added below properties
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&main_mcasp0_pins_default>;
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0 1 2 0
0 0 0 0
0 0 0 0
0 0 0 0
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};
Thanks,
Naresh