Curious about using one I2S port for input and output (i2s-i2s example) #851
-
I read this two example. streams-i2s-i2s, streams-i2s-i2s-2.
I am curious what is implication of this. Further more, what is possible disadvantages of using a single port? Somethings in my mind:
It will be very helpful if anyone let me know some possible problems with using one port for both input and output. Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I am not aware of any disadvantages: The only reason for using 2 ports would be if you need to use a different sampling rate or different bits_per sample. |
Beta Was this translation helpful? Give feedback.
I am not aware of any disadvantages: The only reason for using 2 ports would be if you need to use a different sampling rate or different bits_per sample.
The solution with one single port is e.g. used in all ESP32 based audio boards: the AudioKit or Lyrat,...