MB95630H Series
MN702-00009-1v0-E
FUJITSU SEMICONDUCTOR LIMITED
509
CHAPTER 24 I
2
C BUS INTERFACE
24.6 Operations and Setting Procedure Example
•
Conditions (2) in which no interrupt is generated due to arbitration lost
If the program enables I
2
C bus interface operation (by setting the ICCRn:EN bit to "1") and
triggers a start condition (by setting the IBCR1n:MSS bit to "1") when the I
2
C bus is in use by
another master.
This is because, as shown in Figure 24.6-4, this I
2
C bus interface cannot detect the start
condition (IBSRn:BB = 0) if another master starts communications on the I
2
C bus when the
operation of this I
2
C bus interface has been disabled (ICCRn:EN = 0).
Figure 24.6-4 Timing Diagram with No Interrupt Generated with IBCR0n:ALF = 1
If this situation can occur, use the following procedure to set up the module from the software.
1. Trigger a start condition from the program (by setting the IBCR1n:MSS bit to "1").
2. Check the IBCR0n:ALF and IBSRn:BB bits in the arbitration lost interrupt.
If IBCR0n:ALF = 1 and IBSRn:BB = 0, clear the IBCR0n:ALF bit to "0".
If IBCR0n:ALF = 1 and IBSRn:BB = 1, clear the IBCR0n:ALE bit to "0" and perform
control as normal. (Normal control means writing "0" to the IBCR1n:INT bit in the INT
interrupt to clear IBCR0n:ALF to "0".)
In other cases, perform control as normal (Normal control means writing "0" to the
IBCR1n:INT bit in the INT interrupt to clear IBCR0n:ALF.)
0
0
D
a
t
a
S
l
a
ve
a
ddre
ss
S
top
condition
IBCR1n:INT
b
it interr
u
pt
doe
s
not occ
u
r in 9th clock cycle.
S
t
a
rt condition
S
CLn pin
S
DAn pin
ICCRn:EN
IBCR1n:M
SS
IBCR0n:ALF
IB
S
Rn:BB
IBCR1n:INT
ACK
ACK
Содержание MB95630H Series
Страница 2: ......
Страница 4: ......
Страница 8: ...iv ...
Страница 20: ...xvi ...
Страница 106: ...MB95630H Series 86 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 6 I O PORT 6 2 Configuration and Operations ...
Страница 282: ...MB95630H Series 262 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E CHAPTER 14 LIN UART 14 8 Notes on Using LIN UART ...
Страница 642: ...MB95630H Series 622 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 1v0 E APPENDIX A Instruction Overview A 5 Instruction Map ...
Страница 644: ......