MB95630H Series
506
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-2v0-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.
First-byte general call address
Second-byte general call address
ACK
ACK/NACK
Slave mode
(a) General call operation in slave mode
Master mode
(b) General call operation in master mode (Start from GACKE = 1 with no AL.)
Master mode
(c) General call operation in master mode (Start from GACKE = 1 with AL generated by second address.)
Master mode
(d) General call operation in master mode (Start from GACKE = 0 with no AL.)
Master mode
(e) General call operation in master mode (Start from GACKE = 0 with AL generated by second address.)
GACKE=1
GACKE=1
GACKE=0
GACKE=0
ACK :
Acknowledgment
NACK : No acknowledgment
GCA :
General call address
AL :
Arbitration lost
When IBCR1n:GACKE = 1,
ACK is given and IBSRn:GCA is set.
IBCR1n:INT is set at 9th SCLn
↓
.
Set IBCR0n:INTS = 1.
IBCR1n:INT is set at 9th SCLn
↓
.
Read IBSRn:LRB.
IBCR1n:INT is set at 8th SCLn
↓
.
Read IDDRn and control ACK/NACK by IBCR1n:DACKE.
To read IBSRn:LRB, set INTS = 0.
IBCR1n:INT is set at 8th
SCLn
↓
.
Read IDDRn and control ACK/NACK by IBCR1n:DACKE.
To read IBSRn:LRB, set INTS = 0.
ACK is given and IBSRn:GCA is set.
ACK is given and IBSRn:GCA is set.
IBCR1n:INT is set at 9th SCLn
↓
.
Set IBCR0n:INTS = 1 and GACKE = 0.
IBCR1n:INT is set at 9th
SCLn
↓
.
Set IBCR0n:INTS = 1 and GACKE = 0.
IBCR1n:INT is set at 9th SCLn
↓
.
Read IBSRn:LRB.
IBCR1n:INT is set at 9th
SCLn
↓
.
Read IBSRn:LRB.
IBCR1n:INT is set at 8th
SCLn
↓
.
Read IDDRn and control ACK/NACK by IBCR1n:DACKE.
To read IBSRn:LRB, set INTS = 0.
IBCR1n:INT is set at 9th
SCLn
↓
.
Read IBSRn:LRB.
IBCR1n:INT is set at 9th
SCLn
↓
.
Read IBSRn:LRB.
IBCR1n:INT is set at 8th SCLn
↓
.
Set INTS = 0 to read IBSRn:LRB.
AL is generated by second address and switches to slave mode.
IBCR1n:INT is set at 9th
SCLn
↓
.
Set IBCR0n:INTS = 1.
ACK is not given and IBSRn:GCA is not set.
IBCR1n:INT is set at 9th
SCLn
↓
.
Set IBCR0n:INTS = 1.
ACK is not given and IBSRn:GCA is not set.
AL is generated by second address, IBSRn:GCA is set,
and switches to slave mode.
IBCR1n:INT is set at 8th SCLn
↓
.
To read IBSRn:LRB, set INTS = 0.
GCA is cleared.
First-byte general call address
Second-byte general call address
ACK
ACK/NACK
First-byte general call address
Second-byte general call address
ACK
ACK/NACK
First-byte general call address
Second-byte general call address
NACK
ACK/NACK
First-byte general call address
Second-byte general call address
NACK
ACK/NACK
Summary of Contents for 8FX
Page 2: ......
Page 4: ......
Page 8: ...iv ...
Page 18: ...xiv ...
Page 22: ...xviii ...
Page 650: ......