CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U13850EJ6V0UD
391
(3) Slave operation
The following shows an example of the slave communication flowchart.
Figure 10-41. Slave Operation Flowchart
IICCn
←
XXH
IICEn = 1
WRELn = 1
Start reception
START
ACKEn = 0
Data processing
Data processing
LRELn = 1
No
Yes
No
No
No (receive)
STOP (stop condition detection)
No
No
No
No
Yes
No
Yes
Yes
Yes (transmit)
Yes
START
(restart detection)
Yes
Yes
WTIMn = 0
ACKEn = 1
INTIICn = 1?
Yes
Bus
participates in
communication?
Transfer completed?
INTIICn = 1?
WTIMn = 1
Start IICn write transfer
INTIICn = 1?
EXCn = 1?
COIn = 1?
TRCn = 1?
ACKDn = 1?
START
or
STOP
End
Remark
n = 0, 1
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...