Dear all
My codec is wm8962. I changed the codec to slave mode. However, by measuring MCLK is 24M, BCLK is 2.8M, FS is 44K. My question is as follows:
1. Where does the BCLK signal generate 2.8M of code?
2. Can I change the BCLK signal to 1.3M?
Please give me advice? Thanks.
My code is modified as follows:
dts
&ssi2 {
-- fsl,mode = "i2s-slave";
++ fsl,mode = "i2s-master";
status = "okay";
};
"Playback", "CPU-Playback",
"ASRC-Capture", "CPU-Capture",
"CPU-Capture", "Capture";
-- mux-int-port = <2>;
-- mux-ext-port = <3>;
++ mux-int-port = <3>;
++ mux-ext-port = <2>;
hp-det-gpios = <&gpio7 8 1>;
mic-det-gpios = <&gpio1 9 1>;
};
code
-- dai_format = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM;
++ dai_format = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS;
I send a patch to you for your case, get SSI to work in master mode ans wm8962 as slave. hope helpful for you
No sound captured with SGTL5000 on i.MX6 in I²S master mode - Patchwork