Forum Discussion

gomezramones's avatar
gomezramones
Icon for New Contributor rankNew Contributor
3 years ago

I2C Max10

Hi, I am trying to communicate my FPGA to ADXL345 using I2C protocol. There is an example or guide to start the communication in a Max10? Also I have other question, I created my Qsys file to use Avalon I2C (Master) Intel FPGA IP and I notice there is CSR register which has ADD[3..0] / Write / Read / writeaddres[31..0] / readaddress[31..0]. So my question is when do I use this CSR register? Does the slave unit require CSR pin as well to able to use this control register?

3 Replies

  • Mengzhe's avatar
    Mengzhe
    Icon for Occasional Contributor rankOccasional Contributor

    Hi,


    I found no specific example for I2C connection of MAX10 with peripheral device offered​, but you can search for related info from FPGA Design Store | Intel.

    And Avalon interface is for inner communication for different part in FPGA, not for peripheral connection.


    BR,

    Mengzhe


  • Thank you for the response. Do you have any guide about how to use that avalon interface? Because I have been reading Embedded Peripherals IP User Guide but it doesn't explain deeply the I2C CSR interface.