CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U13850EJ4V0UM
303
10.3.14 Communication operations
(1)
Master operations
The following is a flow chart of the master operations.
Figure 10-28. Master Operation Flow Chart
Remark
n = 0, 1
IICCLn
←
××
H
Select transfer clock.
IICCn
←
××
H
IICEn = SPIEn = WTIMn = 1
Start IICn write transfer.
Start IICn write transfer.
WRELn = 1
Start reception.
Generate stop condition.
(no slave with matching address)
Generate restart condition
or stop condition.
START
Data processing
Data processing
ACKEn = 0
No
Yes
No
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
INTIICn = 1?
WTIMn = 0
ACKEn = 1
INTIICn = 1?
Transfer completed?
INTIICn = 1?
ACKDn = 1?
TRCn = 1?
INTIICn = 1?
ACKDn = 1?
; Stop condition detection
; Address transfer completion
No (receive)
Yes (transmit)