I would like to interface external mic/microphone on VIM3L. So far the connection is as shown in figure.
INMP441 MEMS pin Description:
SCK: Serial data clock for I2S interface
WS: Serial data word selection for I2S interface
L/R: Left/Right channel selection.
When set to low, the microphone outputs a signal on the left channel of the I2S frame.
When set to high level, the microphone outputs signals on the right channel
SD: Serial data output of the I2S interface.
VCC: Input power, 1.8V to 3.3V.
GND: power ground
I am not sure where to connect WS pin on VIM3. Moreover how can we detect any of the microphone through I2S (terminal or any Library for test). I am using Ubuntu xfce 18.04. Any suggestion please.
Well I am very beginner in the Linux system, after this connections I tried to capture an audio samples (Using aplay and arecord)and found out that there was no sound card entry in cat /proc/asound/cards directory, I guess I have to write driver or modify in ALSA driver as per my understanding(pls correct if I’m wrong).
ALSA driver version is k4.9.206. in my system (Ubuntu 18.04 xfce)
So far I have been referring to this docs but seems a bit difficult to understand -
I see in alsamixer that I2S device was not detected.
Please help me with what I am missing, I am also open for any other solution for microphone.