I need to connect both an i2s mic and i2s output amp to build a device that simultaneously receives and emits sound. Can both be connected simultaneously? Thanks, Eric
If they have unique I2C addresses, very probably. To be sure, examine the data sheets for the devices. At least on of the devices must have pullup resistors installed or you need to provide the pullup resistors from SDA to Vcc and from SCL to Vcc yourself.
I2C is a bus](I2C - SparkFun Learn) meant to connect many (up to 127, theoretically) devices in parallel.
The ESP32 has two channels: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/i2s.html.
The Teensy boards are used with audio, but that is often used with more powerful processors.
The Teensy Audio library can do multiple simultaneously input and outputs: https://www.pjrc.com/teensy/td_libs_Audio.html
The ATSAMD21 in the Arduino Zero has also two devices: https://microchipdeveloper.com/32arm:samd21-i2s-overview
But I don't understand that and I don't know an example with input and output, sorry.
I'm guessing "simultaneously" is not working with one bus, then.