unable to get I2c interface working on XLR8

Forums Forums General unable to get I2c interface working on XLR8

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2137
    tholler
    Participant

    I’m using the XLR8 board as a I2C Master to send a byte of data to the I2C Slave (Arduino Uno).
    The I2C Slave is not getting data from the I2C Master.
    Wiring:
    I have the (SDA) XLR8 pin A4 connected to Arduino pin A4.
    (SCL) XLR8 pin A5 connected to Arduino pin A5.
    (GND) XLR8 GND connected to Arduino GND.

    I connected up a logic analyzer to SDA and SCL.
    The logic analyzer doesn’t show SDA or SCL toggling when the I2C Master is sending data.

    Is there any special setup that I need to do to get I2C working on the XLR8 board?

    #2143
    MattWeber
    Participant

    We don’t have A4/A5 shorted to SDA/SCL like an Arduino Uno does. The advantage of keeping them separate is that with XLR8 you can have I2C devices on SDA/SCL and still have A4/A5 available to use as analog or digital IOs for other purposes. But it does mean that you have to connect to the actual SDA/SCL pins for your I2C function. If necessary, there are spots on the board where you could solder bridge or populate a 0-ohm resistor to connect SDA/SCL to A4/A5, but that’s not the default configuration.
    Thanks,
    Matt

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.