NEC Renesas V850/SC1 User Manual page 427

32-bit single-chip microcontrollers
Hide thumbs Also See for Renesas V850/SC1:
Table of Contents

Advertisement

(2) Master operations (2)
The following shows the flowchart for master communication when the communication reservation function is
disabled (IICRSVn = 1) and the master operation is started without detecting a stop condition (STCENn = 1).
IICEn = SPIEn = WTIMn = 1
Start IICn write transfer
Start IICn write transfer
Data processing
Remark
n = 0, 1
CHAPTER 11
SERIAL INTERFACE FUNCTION
Figure 11-38. Master Operation Flowchart (2)
START
××H
IICCLn
Transfer clock selection
××H
IICFn
IICFn register setting
××H
IICCn
IICCn register initial setting
No
IICBSYn = 0?
Yes
STTn = 1
Wait time is secured by software
Insert wait
(see Table 11-11)
No
STCFn = 0?
Yes
No
INTIICn = 1?
Yes (address transfer completion)
No (receive)
ACKDn = 1?
Yes
TRCn = 1?
WTIMn = 0
Yes (transmit)
ACKEn = 1
WRELn = 1
Start reception
No
INTIICn = 1?
Yes
INTIICn = 1?
Data processing
No
ACKDn = 1?
Yes
Reception completed?
ACKEn = 0
No
Transfer completed?
(restart)
SPTn = 1
Generate stop condition
User's Manual U15109EJ3V0UD
Master communication is
Stop master communication
stopped because bus is occupied
Generate stop condition
(no slave with matching address)
No
Yes
No
Yes
Yes
End
End
425

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents