Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

I2C Max10

gomezramones
Novice
1,241 Views

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?

0 Kudos
3 Replies
Mengzhe
Employee
1,218 Views

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


0 Kudos
gomezramones
Novice
1,204 Views

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. 

0 Kudos
Mengzhe
Employee
1,162 Views

Please refer to this design and let me know if you have any questions.

MAX 10 - I2C Remote System Update Example (intel.com)

In this example, we use I2C to communication with external device for RSU.


0 Kudos
Reply