Electrumpet The microphone will be close to P1.1. I might be able to do it with headers bend in such a way that a super small breakout board with the microphone can be connected to a PCB board directly without wires.
Sounds close enough for I2S. On the Bela side, if you use an I2S microphone you'll need as a preparatory step to apply this patch to /opt/bb.org-overlays and then do make && make install and reboot:
diff --git a/src/arm/BB-BELA-00A1.dts b/src/arm/BB-BELA-00A1.dts
index 305e2c3..535f986 100644
--- a/src/arm/BB-BELA-00A1.dts
+++ b/src/arm/BB-BELA-00A1.dts
@@ -20,6 +20,7 @@
target = <&ocp>;
__overlay__ {
P2_26_pinmux { status = "disabled"; };
+ P2_28_pinmux { status = "disabled"; };
P2_30_pinmux { status = "disabled"; };
P2_32_pinmux { status = "disabled"; };
P2_34_pinmux { status = "disabled"; };
@@ -74,6 +75,7 @@
* runtime and manage the conflict with CTAG pins */
/* For AXR0 on P9.30 we do something similar so that it can be used
* for SPI */
+ 0x1a8 0x28 /* mcasp0_axr1, P2_28 | MODE0 | INPUT_NOPUPD */
>;
};
Wire your microphone with the LRCLK/WCLK from P1.33, the BCLK from P1.36, and put the data line into P2.28.
Then you should run your project with the added command line option --board BelaMiniMultiI2s and you should have 4 inputs and 4 outputs in your project, with the Bela inputs and outputs on channels 0 and 2 and your microphone input on channel 1 or 3. Remaining channels are unused.
I don't have specific microphone recommendations, though, unfortunately, neither I2S or analog output.