Hi,
is there anyone who has done the same (SPH0645LM4H working with imx6ul). or if anyone can guide for the same It will be really helpful.
Thanks,
Hitesh
both sai and wm8960.c support I2S.
I2C is used for control.
Hi Ankur
I am not aware of SPH0645LM4H linux driver, but if microphone
is connected to codec, one can reuse for example wm8960 or sgtl5000 driver and
add microphone init codes to i2c section of codec driver.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks!
The microphone is a digital microphone and outputs i2s data directly (http://www.knowles.com/kor/content/download/5988/105771/version/4/file/SPH0645LM4H-BRevB.PDF ). The I2S output lines of MIC are connected directly to the SAI interface channel 2. If you would see the datasheet it says that no codec is needed. Hence, in our design we have not used any codecs. Can you get someone to provide us a direction about how this can be achieved?
Hi Ankur
one can reuse existing wm8960 driver, removing specific wm8960
settings.
Best regards
igor
We checked the source code for the driver located at "sound/soc/fsl/imx-wm8960.c". It seems the codec is based on I2C. We are looking for something based on I2S (Inter-IC Sound). Can you please suggest?
Hi Ankur,
Did you get SPH0645LM4H to work, if so can you share it here?
thank you
Hi Niranjan,
Have you figured out a way to implement SPH0645LM4H with connect core 6 ul, If so please share the same. It will be really helpful.
Thanks,
Hitesh