Two I2S slave inpute/outputs

omjanger

Well-known member
In the description of the I2S in/out slave objects it is stated that only one input/output object is allowed.
I suspect that is because the audio engine can't run at two different clocks.
But what if I connect two I2S streams from a source that has the same clock? Would that work?
Of course need to redefine some pins etc.
 
Hypothetically, it seems likely to work, if everything uses the same audio sample clock.

The answer is quite hypothetical because the audio library only has a single I2S input and single I2S output which use the same clock pins, so to even attempt this you would be wading into the unknown waters of modifying the library to have I2S slave on the 2nd I2S port. That should be possible with some amount of programming work, but it's a bit more involved than just redefining some pins.
 
Thanks for the quick answer! Then I'll give it a try and see if its doable. Think a Quad I2S input object would be the outcome of this. TBC..
 
Back
Top