Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1043 of 1852
Nov 30, 2020
RX23W Group 33. Serial Communications Interface (SCIg, SCIh)
33.4.2 Multi-Processor Serial Data Reception
Figure 33.21 and Figure 33.22 are sample flowcharts of multi-processor data reception. When the SCR.MPIE bit is set
to 1, reading the communication data is skipped until reception of the communication data in which the multi-processor
bit is set to 1. When the communication data in which the multi-processor bit is set to 1 is received, the received data is
transferred to the RDR register (the RDRH and RDRL registers when 9-bit data length is selected). During this time, the
RXI interrupt request is generated. The other operations are the same as the operations in asynchronous mode.
Figure 33.20 is the example of operation for reception.
Figure 33.20 Example of SCI Reception (8-Bit Data/Multi-Processor Bit/1 Stop Bit)
MPIE
0
D0 D1 D7 1 1 0 D0 D1 D7 0 1
MPB
Data (Data1)
MPB
RXI interrupt request
(multi-processor
interrupt) generated
ID1
0 D0 D1 D7 1 1 0 D0 D1 D7 0 1
ID2 Data2ID1
Stop bit
Idle state
(mark state)
Data (ID1)
Start bitStop bitStart bit
RDR value
MPIE = 0
MPIE
RXI interrupt flag
(IRn In ICU
*1
)
RDR value
MPIE = 0
MPIE bit set to 1 again
when the received ID
does not match the ID of
the receiving station itself
RXI interrupt request not
generated. RDR retains
the state.
(a) When the received ID does not match the ID of the receiving station itself
(b) When the received ID matches the ID of the receiving station itself
RDR data read in RXI
interrupt handling
routine
MPB
Data (Data2)
MPB
Stop bit
Idle state
(mark state)
Data (ID2)
Start bitStop bitStart bit
RXI interrupt request
(multi-processor
interrupt) generated
Since the received ID matches
the ID of the receiving station
itself, reception continued and
data received in RXI interrupt
handling routine
MPIE bit set to 1 again
RDR data read in RXI
interrupt handling
routine
RXI interrupt flag
(IRn In ICU
*1
)
Note 1. Refer to section 15, Interrupt Controller (ICUb) for details on the corresponding interrupt vector number.