Reference System Specifics
XAPP979 (v1.0) February 26, 2007
www.xilinx.com
4
R
Figure 6
shows the acknowledge bit on the IIC bus.
Figure 7
shows bus arbitration of two masters. The IIC bus is a multi-master bus. Masters
monitor the IIC bus to determine if the bus is active. The bus is inactive when SCL and SDA are
high for a bus free period tBUF of 1.3 us (FAST) or 4.7 us (STD). If two or more masters
monitoring the IIC bus determine that the bus is free and begin a bus transaction
simultaneously, the IIC bus is arbitrated to determine which master owns the bus. The IIC is a
wired AND bus. This means that the bus is HIGH unless any component is driving it LOW.
Masters monitor the bus even after they have started a transaction as the master. If a master is
not driving the IIC bus low and the bus is low, the master knows that another master is driving
the IIC bus. If a master cannot get the SDA or SCL to go high it loses arbitration. When a master
loses arbitration, it stops transmission. The master driving the bus with the last low when the
other master(s) drives high becomes the master of the bus.
Reference
System
Specifics
In addition to the PowerPC405 processor and OPB IIC, this system includes DDR and BRAM
memory on the PLB, and a UART and interrupt controller on the OPB.
Figure 1
provides the
block diagram.
Table 1
provides the address map of the ML403 XC4VFX12. This is in the
system.mhs.
Figure 6: Acknowledge on the IIC Bus
Figure 7: Arbitration of two Masters
1
2
8
9
Clock p
u
l
s
e for
a
cknowledgment
S
X979_06_012907
S
TART
condition
Not
a
cknowledge
Acknowledge
D
a
t
a
o
u
tp
u
t
b
y tr
a
n
s
mitter
D
a
t
a
o
u
tp
u
t
b
y receiver
S
CL from
m
as
ter
M
as
ter 1
M
as
ter 2
S
DA
S
CL
S
X979_07_012907