We are trying to use a stereo (2 channel) mems microphone over I2S as our input device for audio on a nrf5340_audio DK programmed as a gateway. We started by using a simple overlay file as mentioned in this post nRF5340 Audio Dev Kit - Change Default I2S Pins
&pinctrl { i2s0_default { group1 { psels = <NRF_PSEL(I2S_SCK_M, 1, 11)>, <NRF_PSEL(I2S_SDIN, 0, 14)>, <NRF_PSEL(I2S_LRCK_M, 0, 13)>; }; group2 { psels = <NRF_PSEL(I2S_SCK_M, 1, 11)>, <NRF_PSEL(I2S_SDIN, 0, 14)>, <NRF_PSEL(I2S_LRCK_M, 0, 13)>; }; }; };. We selected I2S as the input source instead of usb by adding
if(CONFIG_AUDIO_DEV EQUAL 2) set(DTC_OVERLAY_FILE "${CMAKE_CURRENT_SOURCE_DIR}/nrf5340_audio_dk_nrf5340.overlay") endif()When building and flashing the .overlay file is found and used correctly. However, the gateway and headset somehow don't sync anymore when this overlay file gets added, led2 doesn't turn on anymore and the feature where btn4 plays a tone on the headset doesn't do anything. We also don't get any audio from the microphones. As a result we went through the firmware architecture again (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf5340_audio/doc/firmware_architecture.html under unicast client i2s) and started by looking through audio_i2s.c however we haven't found anything here that could help us resolve our issue. Could you help us find the source of our issue to change the audio source for the audio application to a mems microphone?