Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Two I2S slave inpute/outputs

  1. #1
    Member
    Join Date
    Nov 2015
    Location
    Norway
    Posts
    77

    Two I2S slave inpute/outputs

    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.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,223
    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.

  3. #3
    Member
    Join Date
    Nov 2015
    Location
    Norway
    Posts
    77
    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..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •