Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - i2c opencores

 
Thread Tools Search this Thread
Old 05-04-2005, 04:34 PM   #1
Default i2c opencores


Hi,

has anybody successfully used this core? What I need to do seems to me
really really simple: configure a couple of settings of a transceiver
(operation frequency, transmitting mode, etc.). I was asked to do this
with a i2c bus.

I'm stuck creating the test bench just to do some read/write test. Has
anybody a simple testbench example?

Help.

Tomas


Tomas
  Reply With Quote
Old 05-04-2005, 05:45 PM   #2
Eric
 
Posts: n/a
Default Re: i2c opencores
If you have a copy of Circuit Cellar

ISSUE 176
March 2005
Control an FPGA with I2C, by Roberto Ferrabone, p. 60

There is a good I2C test bench written in VHDL. This article also has a
very good description of the I2C protocol.

It is worth the $5 to get the back issue in print.

www.circuitcellar.com


Eric



Eric
  Reply With Quote
Old 05-19-2005, 03:08 PM   #3
nigel.gunton@uwe.ac.uk
 
Posts: n/a
Default Re: i2c opencores
On Wed, 4 May 2005, Tomas wrote:

>
>
> Hi,
>
> has anybody successfully used this core? What I need to do seems to me
> really really simple: configure a couple of settings of a transceiver
> (operation frequency, transmitting mode, etc.). I was asked to do this
> with a i2c bus.
>
> I'm stuck creating the test bench just to do some read/write test. Has
> anybody a simple testbench example?
>
> Help.
>
> Tomas
>

Hi,
I don't have a test bench but we have used it successfully with
serial Ram, an ultrasonic rangefinder & compass module all on the same i2c
bus.

Synthesised with quartus IIv3.0 to an apex20ke & nios, also to same device
in a 'pure' hardware (no processor) design. The latter was for an
autonomous mobile robot.

There are a couple of gotchas with using it, took a logic analyzer to find
them.

mail me if you need the details.

nigel g.


--
Nigel Gunton Phone : +44/0 117 32 83167 /"\
Senior Lecturer, School of Electrical & Computer Engineering, \ /
CEMS, University of the West of England, Bristol. X
ASCII Ribbon Campaign against HTML email & microsoft attachments / \


nigel.gunton@uwe.ac.uk
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46