R01UH0092EJ0110 Rev.1.10
Page 568 of 807
Jul 31, 2012
M16C/64C Group
25. Multi-master I
2
C-bus Interface
When arbitration lost is detected:
•
The AL bit in the S10 register becomes 1 (arbitration lost detected)
•
Internal SDA output becomes high. (SDAMM released)
•
The I
2
C interface enters the slave receive mode
The TRX bit in the S10 register is 0 (receive mode).
The MST bit in the S10 register is 0 (slave mode).
In order to set the AL bit to 0 again after arbitration lost is detected, set a value to the S00 register.
When arbitration lost is detected during slave address transmission, the I
2
C interface automatically
enters slave receive mode and receives the slave address sent from another master. When the ALS bit
in the S1D0 register is 0 (addressing format), the slave address comparison result is determined by
reading bits ADR0 and AAS in the S10 register.
When arbitration lost is detected during data transmission, the I
2
C interface automatically enters slave
receive mode.
Also, when arbitration lost is detected, the TRX bit becomes 0 (receive mode) even when the bit after
the slave address is 1 (read). Therefore, read the S00 register after arbitration lost is detected. When bit
0 in the S00 register is 1, write 4Fh (slave transmit mode) to the S10 register and execute slave
transmission.
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...