MB95630H Series
506
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-1v0-E
CHAPTER 24 I
2
C BUS INTERFACE
24.6 Operations and Setting Procedure Example
■
General Call Address
A general call address consists of the start address byte (0x00) and the second address byte that
follows. To use a general call address, you must set IBCR1n:GACKE=1 before the
acknowledge of the first byte general call address. In addition, the acknowledgment for the
second address byte can be controlled as shown below.
Figure 24.6-2 General Call Operation
If this module sends a general call address at the same time as another device, you can
determine whether the module successfully seized control of the bus by checking whether
arbitration lost was detected when the second address byte was transferred. If arbitration lost
was detected, the module goes to slave mode and continues to receive data from the master.
Fir
s
t-
b
yte gener
a
l c
a
ll
a
ddre
ss
S
econd-
b
yte gener
a
l c
a
ll
a
ddre
ss
ACK
ACK/NACK
S
l
a
ve mode
(
a
) Gener
a
l c
a
ll oper
a
tion in
s
l
a
ve mode
M
as
ter mode
(
b
) Gener
a
l c
a
ll oper
a
tion in m
as
ter mode (
S
t
a
rt from GACKE = 1 with no AL.)
M
as
ter mode
(c) Gener
a
l c
a
ll oper
a
tion in m
as
ter mode (
S
t
a
rt from GACKE = 1 with AL gener
a
ted
b
y
s
econd
a
ddre
ss
.)
M
as
ter mode
(d) Gener
a
l c
a
ll oper
a
tion in m
as
ter mode (
S
t
a
rt from GACKE = 0 with no AL.)
M
as
ter mode
(e) Gener
a
l c
a
ll oper
a
tion in m
as
ter mode (
S
t
a
rt from GACKE = 0 with AL gener
a
ted
b
y
s
econd
a
ddre
ss
.)
GACKE=1
GACKE=1
GACKE=0
GACKE=0
ACK :
Acknowledgment
NACK : No
a
cknowledgment
GCA :
Gener
a
l c
a
ll
a
ddre
ss
AL :
Ar
b
itr
a
tion lo
s
t
When IBCR1n:GACKE = 1,
ACK i
s
given
a
nd IB
S
Rn:GCA i
s
s
et.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
S
et IBCR0n:INT
S
= 1.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
Re
a
d IB
S
Rn:LRB.
IBCR1n:INT i
s
s
et
a
t
8
th
S
CLn
↓
.
Re
a
d IDDRn
a
nd control ACK/NACK
b
y IBCR1n:DACKE.
To re
a
d IB
S
Rn:LRB,
s
et INT
S
= 0.
IBCR1n:INT i
s
s
et
a
t
8
th
S
CLn
↓
.
Re
a
d IDDRn
a
nd control ACK/NACK
b
y IBCR1n:DACKE.
To re
a
d IB
S
Rn:LRB,
s
et INT
S
= 0.
ACK i
s
given
a
nd IB
S
Rn:GCA i
s
s
et.
ACK i
s
given
a
nd IB
S
Rn:GCA i
s
s
et.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
S
et IBCR0n:INT
S
= 1
a
nd GACKE = 0.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
S
et IBCR0n:INT
S
= 1
a
nd GACKE = 0.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
Re
a
d IB
S
Rn:LRB.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
Re
a
d IB
S
Rn:LRB.
IBCR1n:INT i
s
s
et
a
t
8
th
S
CLn
↓
.
Re
a
d IDDRn
a
nd control ACK/NACK
b
y IBCR1n:DACKE.
To re
a
d IB
S
Rn:LRB,
s
et INT
S
= 0.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
Re
a
d IB
S
Rn:LRB.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
Re
a
d IB
S
Rn:LRB.
IBCR1n:INT i
s
s
et
a
t
8
th
S
CLn
↓
.
S
et INT
S
= 0 to re
a
d IB
S
Rn:LRB.
AL i
s
gener
a
ted
b
y
s
econd
a
ddre
ss
a
nd
s
witche
s
to
s
l
a
ve mode.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
S
et IBCR0n:INT
S
= 1.
ACK i
s
not given
a
nd IB
S
Rn:GCA i
s
not
s
et.
IBCR1n:INT i
s
s
et
a
t 9th
S
CLn
↓
.
S
et IBCR0n:INT
S
= 1.
ACK i
s
not given
a
nd IB
S
Rn:GCA i
s
not
s
et.
AL i
s
gener
a
ted
b
y
s
econd
a
ddre
ss
, IB
S
Rn:GCA i
s
s
et,
a
nd
s
witche
s
to
s
l
a
ve mode.
IBCR1n:INT i
s
s
et
a
t
8
th
S
CLn
↓
.
To re
a
d IB
S
Rn:LRB,
s
et INT
S
= 0.
GCA i
s
cle
a
red.
Fir
s
t-
b
yte gener
a
l c
a
ll
a
ddre
ss
S
econd-
b
yte gener
a
l c
a
ll
a
ddre
ss
ACK
ACK/NACK
Fir
s
t-
b
yte gener
a
l c
a
ll
a
ddre
ss
S
econd-
b
yte gener
a
l c
a
ll
a
ddre
ss
ACK
ACK/NACK
Fir
s
t-
b
yte gener
a
l c
a
ll
a
ddre
ss
S
econd-
b
yte gener
a
l c
a
ll
a
ddre
ss
NACK
ACK/NACK
Fir
s
t-
b
yte gener
a
l c
a
ll
a
ddre
ss
S
econd-
b
yte gener
a
l c
a
ll
a
ddre
ss
NACK
ACK/NACK