Module Stop Mode Setting; Figure 16.35 Diagram Of Erroneous Operation When Arbitration Is Lost - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

2
Section 16 I
C Bus Interface (IIC)
2
I
C bus interface
(Master transmit mode)
Other device
(Master transmit mode)
2
I
C bus interface
(Slave receive mode)

Figure 16.35 Diagram of Erroneous Operation when Arbitration is Lost

Though it is prohibited in the normal I
bit is erroneously set to 1 and a transition to master mode is occurred during data transmission
or reception in slave mode. In multi-master mode, pay attention to the setting of the MST bit
when a bus conflict may occur. In this case, the MST bit in the ICCR register should be set to
1 according to the order below.
A. Make sure that the BBSY flag in the ICCR register is 0 and the bus is free before setting
the MST bit.
B. Set the MST bit to 1.
C. To confirm that the bus was not entered to the busy state while the MST bit is being set,
check that the BBSY flag in the ICCR register is 0 immediately after the MST bit has been
set.
Note: Above restriction can be cleared by setting bits FNC1 and FNC0 in the ICXR register.
16.6.1

Module Stop Mode Setting

The IIC operation can be enabled or disabled using the module stop control register. The initial
setting is for the IIC operation to be halted. Register access is enabled by canceling module stop
mode. For details, see section 24, Power-Down Modes.
Rev. 3.00 Jul. 14, 2005 Page 580 of 986
REJ09B0098-0300
S
SLA
R/W
A
Transmit data match
Transmit timing match
S
SLA
R/W
A
S
SLA
R/W
A
• Receive address is ignored
2
C protocol, the same problem may occur when the MST
• Arbitration is lost
• The AL flag in ICSR is set to 1
DATA1
Transmit data does not match
DATA2
A
SLA
R/W
A
• Automatically transferred to slave
receive mode
• Receive data is recognized as an
address
• When the receive data matches to
the address set in the SAR or SARX
2
register, the I
C bus interface operates
as a slave device.
DATA3
A
Data contention
DATA4
A

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents