I am using a microcontroller with only one I2S interface. I am using MAX98357A which has 1 sound chip. There is 1 microphone, SPH0645. Can I connect these ICs to the same line provided that I cannot use them at the same time? Can I then communicate with each of them separately with I2S like below figure?
\$\begingroup\$
\$\endgroup\$
6
-
\$\begingroup\$ We don't know without further info. First of all, which exact MCU that is, and does it have only one data line for input or output, or two data lines for input and output? \$\endgroup\$– JustmeCommented Jul 21, 2023 at 13:09
-
1\$\begingroup\$ electronics.stackexchange.com/questions/521936/… \$\endgroup\$– ConfusedCommented Jul 21, 2023 at 13:14
-
\$\begingroup\$ @Hari A blanket statement of "no" may not apply here. Some MCUs have I2S interfaces for codecs which means they can receive and transmit simultaneously. \$\endgroup\$– JustmeCommented Jul 21, 2023 at 13:29
-
\$\begingroup\$ I am using ESP32WROOM32-E. I know It has two I2S port but other pins are used as different purposes. So, I have only one port. @Justme \$\endgroup\$– FAFİCommented Jul 21, 2023 at 13:52
-
\$\begingroup\$ @FAFİ Yes so how many data pins and into which directions that single I2S port has? \$\endgroup\$– JustmeCommented Jul 21, 2023 at 16:41
|
Show 1 more comment