Fujitsu MB90480 Series Hardware Manual page 588

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

2
CHAPTER 27 I
C INTERFACE (ONLY MB90485 SERIES)
A sample flow is given below.
* : When "arbitration lost" is detected, the MSS bit is set to "1" and then the AL bit is set to "1"
without fail after the time for three bit data transmission at the I
Example of occurrence for an interrupt (INT bit = 1) upon detection of "AL bit = 1"
When an instruction which generates a start condition is executed (setting the MSS bit to
1) with "bus busy" detected (BB bit = 1) and arbitration is lost, the INT bit interrupt occurs
upon detection of "AL bit = 1".
Figure 27.3-3 Diagram of timing at which an interrupt upon detection of "AL bit = 1" occurs
SCL pin
SDA pin
EN bit
MSS bit
AL bit
BB bit
INT bit
566
Master mode setting
Set the MSS bit in the bus control register (IBCR) to "1".
Wait * for the time of three - bit data transmission at the I
transfer frequency set in the clock control register (ICCR).
BB bit = 0 and AL bit = 1 ?
YES
Set the EN bit to 0 to initialize I
Interrupt in the ninth clock cycle
Start Condition
SLAVE ADDRESS
2
NO
to normal process
2
C
2
C transfer frequency.
ACK
DAT
Clearing the AL bit
by software
Releasing the SCL by clearing
the INT bit by software
C

Advertisement

Table of Contents
loading

Table of Contents