Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

i2c with DE2-115

Altera_Forum
Honored Contributor II
2,049 Views

Hello All, 

 

I found this link http://www.alterawiki.com/wiki/i2c_(opencores) where there is an i2c core available (I have Quartus 12.1). But I failed to see any documentation on how to build a qsys component from this so that I can use it in Nios 2. Can some one please point me to the steps I need to take to achieve this? 

 

Thanks so much for your time! 

 

Best regards,
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,118 Views

Custom component that you can use in Qsys is already created for I2C Controller.You just need to give the path for i2c_opencores_hw.tcl in Qsys.Follow the steps given below.

0 Kudos
Altera_Forum
Honored Contributor II
1,118 Views

Thanks zoomkrupesh,  

 

Please let me know where is this "Follow the steps given below.".. 

 

Thanks!
0 Kudos
Altera_Forum
Honored Contributor II
1,118 Views

Sorry I forgot to add the stpes. 

 

Steps are given below. 

 

(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. 

 

Regards, 

 

Krupesh
0 Kudos
Altera_Forum
Honored Contributor II
1,118 Views

Thanks Krupesh.. It worked for me!

0 Kudos
Reply