Im currently working on a project for school, my teammates and I are getting stuck.
We want to use two gpio pins of the de2-115 as a sda and scl pin. We don't have that much time to code our own I2C protocol in VHDL. Therefore we want to use the Qsys tool in Quartus. We are all beginners of this tool and can't seem to get it working. Is there some tutorial or pdf file to use Qsys and set up I2C in Qsys.
Hello Arie, sorry for the late response,
There's a wiki where you can find and work with an I2C wrapper attached in the link , you can follow the wiki, then when you finish those steps you need to add to your Quartus project with the following steps.
(1) Put I2c_opencores_12.0 in your Quartus installation directory->ip directory.
(2) Open Qsys
(3) You will see I2C Master(opencores.org) component.You can find it in Interface Protocols->Serial->I2C Master.
I just saw that it uses a wishbone interface. But our teacher told us to work with a avalon memory mapped interface. Do you have some kind of documentation with that too?
There ir a guide that explains the avalon memory interface with your board on the following link , let me know if it works for you.