Module Stop Mode Setting; Figure 13.35 Diagram Of Erroneous Operation When Arbitration Is Lost - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

2
I
C bus interface
(Master transmit mode)
Other device
(Master transmit mode)
2
I
C bus interface
(Slave receive mode)

Figure 13.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.
13.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 20, Power-Down Modes.
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.
Rev. 1.00, 05/04, page 347 of 544
DATA3
A
Data contention
DATA4
A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents