NEC 78K0R/KE3 User Manual page 544

16-bit single-chip microcontrollers
Table of Contents

Advertisement

(When 8-Clock Wait Is Selected for Master, 9-Clock Wait Is Selected for Slave) (2/3)
(2) Data
Processing by master device
IIC0
IIC0
ACKD0
STD0
L
SPD0
L
WTIM0
L
ACKE0
H
MSTS0
H
STT0
L
L
SPT0
Note 1
WREL0
INTIIC0
TRC0
L
Transfer lines
8
9
SCL0
D0
ACK
SDA0
Processing by slave device
IIC0
ACKD0
STD0
L
L
SPD0
WTIM0
H
H
ACKE0
MSTS0
L
STT0
L
SPT0
L
WREL0
L
INTIIC0
TRC0
H
Notes 1. To cancel a master wait state, write "FFH" to IIC0 or set WREL0.
2. Write data to IIC0, not setting WREL0, in order to cancel a wait state during slave transmission.
544
CHAPTER 12 SERIAL INTERFACE IIC0
Figure 12-29. Example of Slave to Master Communication
FFH Note 1
Receiving
1
2
3
4
D7
D6
D5
D4
IIC0
data Note 2
Transmitting
User's Manual U17854EJ9V0UD
IIC0
FFH Note 1
Note 1
5
6
7
8
9
D3
D2
D1
D0
ACK
1
2
3
D7
D6
D5
IIC0
data Note 2

Advertisement

Table of Contents
loading

Table of Contents