Forum Discussion

fedecive's avatar
fedecive
Icon for New Contributor rankNew Contributor
4 years ago
Solved

Integrating I2C slave to Avalon MM Master bridge

Hi,

I am integrating the I2C slave to Avalon MM Master bridge IP inside my project for Cyclone 10 LP but it is still unclear how this IP works.

Here you can find the SignalTap attached to both I2C lanes and Avalon MM Master signals. From the host side I am sending the device address (0x55 selected in the qsys parameter of the IP), 4 byte address (0x0000000A) and one byte of data (0x01). Also considering 4 byte of data (0x00000001) the behavior is the same.

As you can see, the IP correctly acknowledges the master communication but the Avalon MM address and data are not correctly set, as well as the write signal.

In the following image, you can see the qsys settings for the I2C slave to Avalon MM Master bridge IP:

Which is the correct data that I have to send via I2C? I have to write the following data into the Avalon MM via I2C:

Avalon MM address: 0x0000000A

Avalon MM data to write: 0x00000001

Thank you.

  • Hi Sheng,

    yes, I was able to resolve the issue. We can close the thread.

    Thank you.

4 Replies

    • abdul_ali's avatar
      abdul_ali
      Icon for New Contributor rankNew Contributor

      Hi there I have been reading that page on the guide but still confused on how the final packet of data will look like. I am trying to send the packet from the system console and confused on how to define the address.

  • fedecive's avatar
    fedecive
    Icon for New Contributor rankNew Contributor

    Hi Sheng,

    yes, I was able to resolve the issue. We can close the thread.

    Thank you.