NEC V854 UPD703006 User Manual page 276

32/16-bit single-chip microcontroller hardware
Table of Contents

Advertisement

(b) Operation during communication reservation (when a multi-master is used)
If a slave is selected during communication reservation, when writing a "1" to the WREL bit, write a "0"
to the STT bit at the same time. After that, following stop condition detection, write a "1" to the STT bit
again.
(c) Start operation after communication reservation (when a multi-master is used)
If the stop condition is detected and the start condition is generated after that, after confirming that the
MSTS bit is 1 (master communication state), confirm that the TRC bit is 1 (transmission operation). At
this time, if the TRC bit is 0, set LREL to withdraw from communication, and carry out communication
reservation (STT = 1) again after the stop condition is detected.
(d) STT setting timing (when a multi-master is used)
Arrange the program as shown in Figure 8-24.
Confirmation of SPD
Setting of STT
STT = 0?
MSTS = 1?
Writing of IIC
Start of communication
Caution The period of time from confirmation of SPD until setting of WREL should be within the
following.
High-speed mode : within 17.5 µ s
Standard mode
276
CHAPTER 8 SERIAL INTERFACE FUNCTION
Figure 8-24. STT Setting Timing Procedure
(SPD = 1)
(Start operation time loop)
No
Yes
No
Yes
Setting of STT
Communication reservation
: within 70.0 µ s
User's Manual U11969EJ3V0UM00
Setting of WREL
Communication reservation

Advertisement

Table of Contents
loading

Table of Contents