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.

AM5728: AM5728

Part Number: AM5728
Other Parts Discussed in Thread: TLV320AIC3212, TLV320AIC3104, BEAGLEBOARD-X15

Hi,

I am using AM5728 SOC based custom board. It has tlv320aic3212tlv320aic3212 audiocodec connected to it. 

In AM5728 EVM the codec tlv320aic3104 is configured in master mode which can be verified from the DTS file below:-

  sound0: sound0 {
                compatible = "simple-audio-card";
                simple-audio-card,name = "BeagleBoard-X15";
                simple-audio-card,widgets =
                        "Line", "Line Out",
                        "Line", "Line In";
                simple-audio-card,routing =
                        "Line Out",     "LLOUT",
                        "Line Out",     "RLOUT",
                        "MIC2L",        "Line In",
                        "MIC2R",        "Line In";
                simple-audio-card,format = "dsp_b";
                simple-audio-card,bitclock-master = <&sound0_master>;
                simple-audio-card,frame-master = <&sound0_master>;
                simple-audio-card,bitclock-inversion;

                simple-audio-card,cpu {
                        sound-dai = <&mcasp3>;
                };

                sound0_master: simple-audio-card,codec {
                        sound-dai = <&tlv320aic3104>;
                        clocks = <&clkout2_clk>;
                };
        };

Similarly, I tried to configure the tlv320aic3212 audicodec in my custom board in master mode by changing the DTS entry as below.

sound0: sound0 {
                compatible = "simple-audio-card";
                simple-audio-card,name = "BeagleBoard-X15";

                simple-audio-card,format = "dsp_b";
                simple-audio-card,bitclock-master = <&sound0_master>;
                simple-audio-card,frame-master = <&sound0_master>;
                simple-audio-card,bitclock-inversion;

                cpu_dai: simple-audio-card,cpu {
                        sound-dai = <&mcasp3>;
                        clocks = <&clkout2_clk>;
                };

                sound0_master: simple-audio-card,codec {
                        sound-dai = <&tlv320aic3212>;
                        clocks = <&clkout2_clk>;
                };
        };

Upon probing with oscilloscope it was found that not clocks signals were detected. But, when the codec is configured in slave mode, clock signals are detected. 

 What could be the issue in former?? Please help!!!

Regards!