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.

I2C arbitraion for multimastervdesign

Status
Not open for further replies.

Mkanimozhi

Full Member level 4
Joined
Aug 8, 2007
Messages
193
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
3,445
I2C arbitraion

Hi Friends,
I am involving in I2C with multimaster design , i don't know how to perform the arbitration process, i have gone through the open source code, but it's not understandable, can any one tell or provide me any sample code for I2C arbitration .


Regards,
Kanimozhi.M
 

I2C arbitraion for multi-master design

Hi Kanimozhi,

can you please eloborate your question.
 

Re: I2C arbitraion for multi-master design

Because any device can hold the clock low, and all devices have to release and wait for the rising clock edge, any number of masters can try to access the buss at the same (bit) time.

The masters are not aware that another device is active at the same time (another master slowing the clk is indistinguishable from a slow slave slowing the clock.)

The only way to notice is on the data wire: If a master device intended to send a '1' bit but sees a '0', someone else must be actively driving data to a '0'. The master sending '1' will abort until the other's transaction is done. The master sending a '0' will never know that another device was there.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top