CHAPTER 16 I
2
C BUS
User’s Manual U16896EJ2V0UD
520
Figure 16-16. Master Operation in Multimaster System (3/3)
Write IIC0
WTIM0 = 1
WREL0 = 1
Read IIC0
ACKE0 = 1
WTIM0 = 0
WTIM0 = WREL0 = 1
ACKE0 = 0
Write IIC0
Yes
TRC0 = 1?
Restarted?
MSTS0 = 1?
Communication start
(address, transfer direction specification)
Transmission start
No
Yes
Waiting for data
transmission
Reception start
Yes
No
INTIIC0
interrupt occurred?
Yes
No
Transfer completed?
Waiting for ACK detection
Yes
No
INTIIC0
interrupt occurred?
Waiting for data transmission
Not in communication
Yes
No
INTIIC0
interrupt occurred?
No
Yes
ACKD0 = 1?
No
Yes
No
C
2
Yes
MSTS0 = 1?
No
Yes
Transfer completed?
No
Yes
ACKD0 = 1?
No
2
Yes
MSTS0 = 1?
No
2
Waiting for ACK detection
Yes
No
INTIIC0
interrupt occurred?
Yes
MSTS0 = 1?
No
C
2
Yes
EXC0 = 1 or COI0 = 1?
No
1
2
SPT0 = 1
STT0 = 1
Slave operation
END
Communication processing
Communication processing
Remarks 1.
Conform the transmission and reception formats to the specifications of the product in
communication.
2.
When using the V850ES/KE1+ as the master in the multimaster system, read the IICS0.MSTS0
bit for each INTIIC0 interrupt occurrence to confirm the arbitration result.
3.
When using the V850ES/KE1+ as the slave in the multimaster system, confirm the status using
the IICS0 and IICF0 registers for each INTIIC0 interrupt occurrence to determine the next
processing.
Содержание V850ES/KE1+
Страница 2: ...User s Manual U16896EJ2V0UD 2 MEMO...