amitk3553
Advanced Member level 4
- Joined
- Jul 20, 2012
- Messages
- 117
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- DELHI, INDIA
- Activity points
- 1,982
Keep in mind: the priority is set by the rule: the master who send out the first "1'b0" will get the bus. Take the before example for example. M0 want to r/w S2 and M1 want to r/w S1.
Then, at bit7, the arbitration is done, and M0 get the IIC bus. Then the data transfer between M0 and S2 will finish.
And M1 will retry the transfer (betweeen S1) later.
There's no principle difference between data and address bits, both are just bits transmitted on SDA. The arbitration mechanism hits on the first bit mismatch, when both masters are sending different addresses, this happens already in the address phase of the protocol.
k thanks..
The one who sent out the first bit data with value 1'b0.
For example: M0 and M1.
M0 send bits: 1 1 0 0 1 0 0 0
M1 send bits: 1 1 0 0 1 0 1 0
For the first 6 bits, they send the same data, arbitration is still go on.
For bit 7, M0 will get the the IIC bus as it send out "0", and M0 will go on the send the remain bits. While M1 will abort this transaction and try it later.
Same scheme as before. 0 is dominant, 1 is rezessive.
Same scheme as before. 0 is dominant, 1 is rezessive.
You'll notice that priority in bus arbitration is verbosely discussed in the I2C specification.At one time only one master will be active. there is no priority concept.. completely software configurations. the master who sends out the start bit first will get the BUS and bus will be blocked and all others acting as slave now...
At one time only one master will be active. there is no priority concept.. completely software configurations. the master who sends out the start bit first will get the BUS and bus will be blocked and all others acting as slave now...
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?