Communication Operations; Master Operation Flowchart - NEC V850/SB1 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

10.3.14 Communication operations

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

V850/sb2

Table of Contents