Simultaneous audio input/output advice

codesnipe000

New member
I want to simultaneously input data from four I2S microphones while also outputting an audio signal to an amplifier/speaker. I know that I need to use the audio shield to output to the amplifier, but then that will take up one of the I2S lanes, so there wont be enough room for the four I2S microphones, since one I2S lane can only support two microphones.

I am looking for advice on the best way to accomplish my goal using just one Teensy 4.1 and the audio shield. Let me know if my use case is unreasonable, or if any modifications need to be made to achieve the functionality I am looking for.
 
Wire the I2S clock signals to your microphones, but one pair of data signals to pin 6, and the other pair to pin 9. Use the AudioInputI2SHex object in your design, but ignore outputs 1 and 2, as they will be from the audio adaptor’s inputs; output 3 will be the pin 6 / LR low=left microphone, 4 is 6R, 5 is 9L, 6 is 9R.

”Obviously“ keep all wires short, and close to the same length, as some of the signals are very high speed.
 
Back
Top