Possible Board I2C Conflict

jgavlik

  • Sr. Member
  • ****
    • Posts: 68
    • View Profile
Will the following 2 boards conflict with one another on the I2C bus without changing address resistors (i.e....out of the box)?

 Dual Motor TinyShield  ASD2302-R-C

 Wireling Adapter TinyShield  ASD2022

Thanks,
John


lennevia

  • Administrator
  • Hero Member
  • *****
    • Posts: 437
    • View Profile
John,

No, they will not conflict with each other out of the box. The Wireling Adapter TinyShield (ASD2022) Mux chip uses address 0x70 and the Dual Motor TinyShield (ASD2302-R-C) uses address 0x62. I checked this by looking at the header files of the respective libraries:
https://github.com/TinyCircuits/TinyCircuits-ATtiny841-Library/blob/master/MotorDriver.h
https://github.com/TinyCircuits/TinyCircuits-Wireling-Lib/blob/master/Wireling.h

Internally, we've made sure that none of the I2C addresses for our products conflict with each other, but we haven't done a very good job of communicating that externally. I've realized we do not have the Wireling Adapter TinyShield listed in the compatibility matrix (https://learn.tinycircuits.com/TinyDuino_Overview/#tinyshield-compatibility), oops! I will add that to the list of things to change. In the meantime, I've listed the I2C addresses of the boards on the product pages for anyone else looking into this use case.

I hope that helps!

Best,
RĂ©na




 

SMF spam blocked by CleanTalk