Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Looking for I2C detector HDL code

Status
Not open for further replies.

gis92802

Newbie level 1
Joined
May 24, 2004
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
8
There is no arbitor in my bus design. So before we output data to I2C bus, we have to detect if any other device is using it. Is there anyone that willing to share HDL code of the I2C dector?
 

Re: I2C dectector

Arbitration is used, When Multi Devides are connected to the bus. In your design if you are designning for Multi master then you must do the arbitration process. Master arbitration makes any one Master device to share the bus( if masters are trying to communicate same slave then arbitration takes at data bits). Here slave just watches for start/Repeated start condition if occurs it decodes the address if address matches it will do further data transactions, else pulls up the data line high and waits for the next start or repeated start condition and repets the same process.

I think this gives some idea about what u r looking.
 

Re: I2C dectector

The arbition is achieved by the open-drain SCL & SDA pin, I do not think extra arbitor is needed. You can refer to the I2C spec for detail.
 

I2C dectector

All you need is to one master on the bus, there is no multimaster in I2C, Alos make sure slaves are having different addresses
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top