Specifications
RX62N Group, RX621 Group RIIC Multi-Master Communication
R01AN0630EJ0100 Rev.1.00 Page 13 of 23
Sep 27, 2011
3.7.5 RIIC Initialization
Figure 6 shows the flowchart for RIIC initialization.
RIIC Initialization
Set the communication bit rate
Set up RIIC interrupts
Switch to the I
2
C transfer operation
enabled state
return
Reset the I
2
C module internally
Set the slave address
Set up ICU interrupts
Set SCL and SDA ports
Set the address format
(7-bit address format)
Set up arbitration lost detection
Set up timeout detection
Set the master mode communication
result to before communication start
Clear the communication
in progress flag
Figure 6 RIIC Initialization
3.7.6 Start Slave Mode Operation
Figure 7 shows the flowchart for starting slave mode operation.
Figure 7 Starting Slave Mode Operation