R01UH0822EJ0100 Rev.1.00
Page 653 of 1041
Jul 31, 2019
RX13T Group
23. Serial Communications Interface (SCIg, SCIh)
23.4.2
Multi-Processor Serial Data Reception
and
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 RDR (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.
is the example of operation for reception.
Figure 23.19
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
Data2
ID1
Stop bit
Idle state
(mark state)
Data (ID1)
Start bit
Stop bit
Start 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 bit
Stop bit
Start 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 14, Interrupt Controller (ICUb) for details on the corresponding interrupt vector number.