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

Thread: 4-Channel Audio with Rev D2 audio shield

  1. #1
    Junior Member
    Join Date
    Apr 2020
    Posts
    3

    4-Channel Audio with Rev D2 audio shield

    I searched the forum but didn't find an answer to this question.

    It looks like the connection to the I2C address line was removed between Rev D and Rev D2. In that case, how do you communicate with the second audio shield?

    Thanks.

  2. #2
    Junior Member
    Join Date
    Apr 2020
    Posts
    3
    Sorry, just read the note below the schematic for Rev D2 that says the I2C address is not configurable because of the change from 32-pin to 20-pin SGTL5000.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    27,656
    You would need to wire the 2nd board's SDA & SCL signals to a different I2C port.

    Later in 2023 we'll get the 32 pin chips and start making Rev D again.

  4. #4
    Junior Member
    Join Date
    Apr 2020
    Posts
    3
    Right, thanks, Paul.
    I happen to have an unused Rev D, so I'll use that as the (address + 1) board.

  5. #5
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    4,384
    If you aren't changing things all that often via I2C, another option is to use an I2C multiplexer. You would have to not connect pins 18/19 directly to the Teensy from the audio shield, and connect each board to a separate I2C setup. I don't recall if the software has the ability to use a 2nd I2C bus or not.

  6. #6
    Senior Member h4yn0nnym0u5e's Avatar
    Join Date
    Apr 2021
    Location
    Cambridgeshire, UK
    Posts
    614
    Quote Originally Posted by MichaelMeissner View Post
    I don't recall if the software has the ability to use a 2nd I2C bus or not.
    If my PR https://github.com/PaulStoffregen/Audio/pull/439, posted 2022-06-11, ever gets merged, then it will have…

Posting Permissions

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