209
7679H–CAN–08/08
AT90CAN32/64/128
Figure 18-8.
Arbitration Between two Masters
Note that arbitration is not allowed between:
• A REPEATED START condition and a data bit
• A STOP condition and a data bit
• A REPEATED START and a STOP condition
It is the user software’s responsibility to ensure that these illegal arbitration conditions never
occur. This implies that in multi-master systems, all data transfers must use the same composi-
tion of SLA+R/W and data packets. In other words: All transmissions must contain the same
number of data packets, otherwise the result of the arbitration is undefined.
18.5
Overview of the TWI Module
The TWI module is comprised of several submodules, as shown in
drawn in a thick line are accessible through the AVR data bus.
SDA
from
Master A
SDA
from
Master B
SDA
Line
Synchronized
SCL
Line
START
Master A loses
Arbitration,
SDA
A
SDA
Содержание AVR AT90CAN128
Страница 414: ...414 7679H CAN 08 08 AT90CAN32 64 128 32 2 QFN64...
Страница 415: ...415 7679H CAN 08 08 AT90CAN32 64 128...