Texas Instruments MSP430x1xx User Manual page 325

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

Arbitration
If two or more master transmitters simultaneously start a transmission on the
bus, an arbitration procedure is invoked. Figure 15−10 illustrates the
arbitration procedure between two devices. The arbitration procedure uses
the data presented on SDA by the competing transmitters. The first master
transmitter that generates a logic high is overruled by the opposing master
generating a logic low. The arbitration procedure gives priority to the device
that transmits the serial data stream with the lowest binary value. The master
transmitter that lost arbitration switches to the slave receiver mode, and sets
the arbitration lost flag ALIFG. If two or more devices send identical first bytes,
arbitration continues on the subsequent bytes.
Figure 15−10. Arbitration Procedure Between Two Master Transmitters
Bus Line
SCL
Data From
Device #1
Data From
Device #2
Bus Line
SDA
If the arbitration procedure is in progress when a repeated START condition
or STOP condition is transmitted on SDA, the master transmitters involved in
arbitration must send the repeated START condition or STOP condition at the
same position in the format frame. Arbitration is not allowed between:
-
-
-
n
1
0
1
0
1
A repeated START condition and a data bit
A STOP condition and a data bit
A repeated START condition and a STOP condition
USART Peripheral Interface, I
2
I
Device #1 Lost Arbitration
and Switches Off
0
0
1
0
0
1
2
C Module Operation
1
1
C Mode
15-11

Advertisement

Table of Contents
loading

Table of Contents