Forum Discussion
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
Occasional 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
- gomezramones
New Contributor
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.
- Mengzhe
Occasional Contributor
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.