Fujitsu 8FX Hardware Manual page 528

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

2
CHAPTER 24 I
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.
Slave mode
First-byte general call address
(a) General call operation in slave mode
Master mode
First-byte general call address
GACKE=1
(b) General call operation in master mode (Start from GACKE = 1 with no AL.)
Master mode
First-byte general call address
GACKE=1
(c) General call operation in master mode (Start from GACKE = 1 with AL generated by second address.)
Master mode
First-byte general call address
GACKE=0
(d) General call operation in master mode (Start from GACKE = 0 with no AL.)
Master mode
First-byte general call address
GACKE=0
(e) General call operation in master mode (Start from GACKE = 0 with AL generated by second address.)
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.
506
Figure 24.6-2 General Call Operation
ACK
Second-byte general call address
IBCR1n:INT is set at 9th SCLn .
Set IBCR0n:INTS = 1.
When IBCR1n:GACKE = 1,
ACK is given and IBSRn:GCA is set.
ACK
Second-byte general call address
IBCR1n:INT is set at 9th SCLn .
Set IBCR0n:INTS = 1 and GACKE = 0.
ACK is given and IBSRn:GCA is set.
ACK
Second-byte general call address
IBCR1n:INT is set at 9th SCLn .
Set IBCR0n:INTS = 1 and GACKE = 0.
ACK is given and IBSRn:GCA is set.
NACK
Second-byte general call address
IBCR1n:INT is set at 9th SCLn .
Set IBCR0n:INTS = 1.
ACK is not given and IBSRn:GCA is not set.
NACK
Second-byte general call address
IBCR1n:INT is set at 9th SCLn .
Set IBCR0n:INTS = 1.
ACK is not given and IBSRn:GCA is not set.
FUJITSU SEMICONDUCTOR LIMITED
MB95630H Series
ACK/NACK
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.
ACK/NACK
IBCR1n:INT is set at 9th SCLn .
Read IBSRn:LRB.
GCA is cleared.
IBCR1n:INT is set at 8th SCLn .
To read IBSRn:LRB, set INTS = 0.
ACK/NACK
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.
AL is generated by second address and switches to slave mode.
ACK/NACK
IBCR1n:INT is set at 9th SCLn .
Read IBSRn:LRB.
IBCR1n:INT is set at 8th SCLn .
Set INTS = 0 to read IBSRn:LRB.
ACK/NACK
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.
AL is generated by second address, IBSRn:GCA is set,
and switches to slave mode.
ACK
NACK : No acknowledgment
GCA
AL
MN702-00009-2v0-E
: Acknowledgment
: General call address
: Arbitration lost

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents