AnsweredAssumed Answered

I2S fsl_ssi_set_dai_fmt() has no effect

Question asked by Christian Fischer on Apr 3, 2020
Latest reply on Apr 12, 2020 by Wigros Sun

Using an I2S driver without an audio codec initialization we were able to create a soundcard that can be used with alsa (both aplay/arecord are working, audio is transmitted, the sound is "off" though) but are unable to influence the format of the I2S interface.

 

Using debug output I could verify that fsl_ssi_set_dai_fmt() is called during driver initialization with the format parameter I  configured (SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_NB_NF |  SND_SOC_DAIFMT_CBM_CFM) but that doesnt seem to have any effect on the I2S interface of the iMX6.

 

Even if the format parameter isnt configured at all or I switch to Master Mode the I2S interface doesnt change its operation and is still working the same as always.

 

Are there any other steps necessary to ensure that a format change applies properly?

Outcomes