R01UH0822EJ0100 Rev.1.00
Page 685 of 1041
Jul 31, 2019
RX13T Group
23. Serial Communications Interface (SCIg, SCIh)
23.7.5
Operation in Master Transmission (Simple I
2
C Mode)
and
show examples of operations in master transmission and
is a flowchart
showing the procedure for data transmission. Refer to
for more information on the STI interrupt.
When 10-bit slave addresses are in use, steps [3] and [4] in
In simple I
2
C mode, the transmit data empty interrupt (TXI) is generated when communication of one frame is
completed, unlike the TXI interrupt request generation timing during clock synchronous transmission.
Figure 23.51
Example 1 of Operations for Master Transmission in Simple I
2
C-bus Mode
(with 7-Bit Slave Addresses, Transmission Interrupts, and Reception Interrupts in Use)
When the SIMR2.IICINTM bit is set to 0 (use ACK/NACK interrupts) during master transmission, the DTC is activated
by the ACK interrupt as the trigger and necessary number of data bytes are transmitted. When the NACK is received,
error processing, such as transmission stop and retransmission, is performed by the NACK interrupt as the trigger.
Figure 23.52
Example 2 of Operations for Master Transmission in Simple I
2
C-bus Mode
(with 7-Bit Slave Addresses, ACK Interrupts, and NACK Interrupts in Use)
TXI interrupt flag
(IRn in the ICU*
1
)
SSDAn
SSCLn
Generation of STI interrupt
STI interrupt flag
(IRn in the ICU*
1
)
Acceptance of request
Generation of TXI interrupt request
Acceptance of TXI interrupt request
Generation of TXI interrupt request
Generation of request
D7
D6
D1
D0
ACK
D7
D6
D1
D0
Slave address (7 bits)
W#
Transmitted data
Start condition
Stop condition
SISR.IICACKR flag
Reception of ACK
Reception of ACK
Reception of NACK
ACK/NACK
Note1.
Refer to section 14, Interrupt Controller (ICUb) for details on the corresponding interrupt vector number.
TXI interrupt flag
(IRn in the ICU*
1
)
SSDAn
SSCLn
RXI interrupt flag
(IRn in the ICU*
1
)
Generation of RXI interrupt request
D7
D6
D1
D0
ACK
D7
D6
D1
D0
NACK
Slave address (7 bits)
W#
Transmitted data
Start condition
Stop condition
Generation of STI interrupt request
STI interrupt flag
(IRn in the ICU*
1
)
Acceptance of STI interrupt request
Generation of STI interrupt request
Acceptance or RXI interrupt request
Generation of TXI interrupt request
Acceptance of TXI
interrupt request
Note1.
Refer to section 14, Interrupt Controller (ICUb) for details on the corresponding interrupt vector number.