Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHelp with my NIOS2 i2C interface
Hi all,
as part of my finalproject in my electronic engineering studys, i am supposed to have a NIOS2with multymaster, multyslave I2C components. On the SPOC i sawthere is no such interface. Does anyone have a verilog/vhdl code for such aninterface? Can someone give me help with what direction should i carry on myresearc regarding this issue?6 Replies
- Altera_Forum
Honored Contributor
You can find it from alterawiki.
- Altera_Forum
Honored Contributor
Thanks for your help. I saw this page but to my best understanding, it works with wishbone, and I think i need for the NIOS Avalon.
Am I right? if i use a code from opencore do i need to publish my code? - Altera_Forum
Honored Contributor
Hi,
does this reference design not fit your needs? http://www.altera.com/support/refdesigns/sys-sol/indust_mil/ref-i2c.html Greets - Altera_Forum
Honored Contributor
Thanks. Do i get there the design verilog/vhdl code?
I did not quite understand what does this I2C Controller Reference Design mean. Is it a board? Is it a SW tool? Can I play around with the code? Many thanks in advance. - Altera_Forum
Honored Contributor
Hi,
a reference design is a vhdl/verilog design you can use in your application for free. Greets - Altera_Forum
Honored Contributor
--- Quote Start --- Thanks for your help. I saw this page but to my best understanding, it works with wishbone, and I think i need for the NIOS Avalon. Am I right? if i use a code from opencore do i need to publish my code? --- Quote End --- Someone has ported the opencores i2c masteer to Avalon bus.You can use it directely. http://www.alterawiki.com/wiki/i2c_(opencores)