1/1
I2C
by jstewa04 on Feb 21, 2015 |
jstewa04
Posts: 1 Joined: Oct 6, 2014 Last seen: Mar 11, 2015 |
||
Hi, I am trying to use an OpenRISC architechecture for a project but need to implement I2C. Is there any I2C library and/or code floating around out there?
|
RE: I2C
by Sushant_Ranjan on Feb 22, 2015 |
Sushant_Ranjan
Posts: 1 Joined: Feb 17, 2015 Last seen: Oct 21, 2016 |
||
Have you tried to google for help????
|
RE: I2C
by btremaine on May 4, 2015 |
btremaine
Posts: 1 Joined: Jan 27, 2015 Last seen: May 4, 2015 |
||
Did you look at the OpenCore I2C project by Herveille, Richard ?
It is a Wishbone interface to a I2C master. I'm in the process of using it for a FPGA to I2C I/O. My FPGA interface is a muxed parallel address/data with an ALE and CS, so it works fairly easily with Wishbone. I'm still in the hardware debug phase. The simulation and synthesis looks okay so far. |
RE: I2C
by bilal2228 on May 24, 2017 |
bilal2228
Posts: 7 Joined: May 17, 2017 Last seen: Feb 26, 2019 |
||
Did you look at the OpenCore I2C project by Herveille, Richard ?
It is a Wishbone interface to a I2C master. I'm in the process of using it for a FPGA to I2C I/O. My FPGA interface is a muxed parallel address/data with an ALE and CS, so it works fairly easily with Wishbone. I'm still in the hardware debug phase. The simulation and synthesis looks okay so far. Can you guide me about how to get wave for I2C. i got sequence in modelsim but wave is not forming. |
RE: I2C
by dgisselq on May 27, 2017 |
dgisselq
Posts: 247 Joined: Feb 20, 2015 Last seen: Oct 24, 2024 |
||
If you use this Wishbone controlled I2C core, you can just type "make" in the project directory and (assuming you have Verilator installed) it should build VCD files for you which you can then view with GTKwave.
Dan |
1/1