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

Thread: Audio adapter and RTC

  1. #1
    Junior Member
    Join Date
    Jan 2016
    Posts
    14

    Audio adapter and RTC

    Both use SDA & SCL. Is there a proper way to use both?

  2. #2
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,831

    Cool

    Both use SDA and SCL as the i2c bus #0. I2c is a shared bus, and as long as every device on the bus uses a different address and meet the various electrical requirements like relatively short cables, same voltages, etc., everything is fine.

    Lets see, the Audio Adapter has 2 i2c devices (SGTL5000 with address 0x0A and WM8731 with address 0x1A). DS3231 real time clocks typically use 0x68 for the RTC, and 0x50-0x57 for EEPROM. So they should work together.

  3. #3
    Junior Member
    Join Date
    Jan 2016
    Posts
    14
    Thanks for the info.

Posting Permissions

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