Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
19672 Discussions

MAX10, Nios 2: Intel FPGA Avalon I2C (Master) example ?

Rodo
New Contributor I
936 Views

Is there a complete example (with buffer connections) of using this IP core in a nios system?

I added the IP core to nios and generated the tri-state buffers with the GPIO Lite core but now I'm lost. The Intel Embedded Peripherals IP User Guide says that I can instantiate these buffers in my top design. I called my bufferes: i2c_scl_buffer and i2c_sda_buffer. I clicked "yes" after making them to add the files to my project. Did that instantiate them already or do I have to do it and if so how? A full example would be nice. All help I get seems to tell me to use opencoreip ... I'm trying to use the intel i2c core and the intel tri-state buffers. Thanks

0 Kudos
10 Replies
ShengN_Intel
Employee
868 Views

Hi,

 

You can try searching throughout the links below:

https://gitlab.devtools.intel.com/users/rfrazer/projects 

https://rocketboards.org/foswiki 

Design Store 

https://1source.intel.com/docs/migration_guide/repo_migration

If still can't find one, may be you can raise a ticket to intel premier support for design example requesting.

 

Best regards,
Sheng

Rodo
New Contributor I
847 Views

@sheng

The first and last links are broken. I checked rocketboards and I found nothing. I know the design store has none because that was the first place I looked. 

I just tried premiersupport.intel.com   and I got the following message:

You don't have Access to IPS.
Please contact the FAE to get access.

No link to how to find the local FAE was given. I'm in Southern California (Los Angeles county). 

Is everything with intel this frustrating?

 

 

ShengN_Intel
Employee
818 Views

@Rodo 

I'll get to internal expert on this to see whether there is any example available or any suggestion. Will come back to you if any feedback from them.

Rodo
New Contributor I
799 Views

@ShengN_Intel:

I appreciate what you're doing. Intel reply to my inquiry is below. I said I was "playing" with the kit because I don't have an active project for a MAX10. I'm a self-employed EE consultant. I'm doing this because a customer asked me about using an FPGA for his design. Right now his design does not need an FPGA but I wanted to be ready if the design grows some more. 

I'm getting the idea that the "Intel FPGA Avalon I2C (Master)" IP core doesn't really work.

Here is the reply from support:

------------------------------------------------------------------------------------------------------------------------------------------

Thank you for contacting Developer Zone support.

We hope you are doing great.

We are sorry for the inconvenience. Unfortunately, your query reached Developer Zone support. The support for this product is provided only in the public forum by the developer community and our tech experts. You can post your query in the below-mentioned link to get further assistance.
 
Community Forum Link: https://community.intel.com/t5/Programmable-Devices/bd-p/programmable-devices
  
We wish to get your query addressed sooner by our community experts. Proceeding further, we are closing this ticket.

--------------------------------------------------------------------------------------------------------------------------------------------

ShengN_Intel
Employee
736 Views

Hi Rodo,

 

There are no examples available for this. What i can suggest is you have to make port interconnection between buffer module added and top module. Make sure the .qip file added as well. Below attached a simple example to show you the port interconnection between sub-module and top module. 

 

Thanks,

Best regards,
Sheng

Rodo
New Contributor I
721 Views

Thanks but I got that part from a reply (comment) to my post at stackoverflow. How to instantiate in verilog : https://stackoverflow.com/questions/20066850/verilog-how-to-instantiate-a-module . It would be more helpful if the example you provided used the actual names for the intel i2c ip core. Curious, why you guys can offer this example but not a complete one? Are there any licensing issues? Thanks anyway.

ShengN_Intel
Employee
703 Views

Hi Rodo,

 

I created another sample file attached below which involves interconnection between Avalon I2C (Master) module with example buffer module (verilog) from manual. Hopefully, you have a better understandings on that.

 

ShengN_Intel
Employee
649 Views

Hi Rodo,

 

Any further update on this?

 

Best regards,
Sheng

p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.

Rodo
New Contributor I
643 Views

@ShengN_Intel

I don't know. I tried to add some code but I think I run out of (internal) RAM so I'm switching to external RAM but I'm having problems getting it to work. I'll go back to I2C when I get the external RAM to work. I suppose you can close this. I'll post a new question if I need to. Thanks.

ShengN_Intel
Employee
636 Views

Hi Rodo,


If so I'll close pending this thread then.

I'll now transition this thread to community support.

If you have a new question, feel free to open a new thread to get the support from Intel experts.


Thank you.


Best regards,

Sheng

p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.


Reply