RX610 Group
20. Serial Communications Interface (SCI)
R01UH0032EJ0120 Rev.1.20
Page 657 of 1006
Feb 20, 2013
Yes
No
Initialization
Start data reception
No
Yes
Clear bits RIE and RE in SCR to 0
Error processing
(Continued below)
Read receive data in RDR
No
Yes
ORER in SSR = 1
RXI interrupt
All data received
Read ORER flag in SSR
Error processing
Clear ORER flag in SSR to 0
Overrun error processing
*
[ 1 ]
[ 2 ]
[ 1 ] SCIn initialization:
Set the port to be used as the RxDn pin to an input
port.
[ 2 ] [ 3 ] Receive error processing:
If a receive error occurs, read the ORER flag in SSR,
perform the relevant error processing, and then clear
the ORER flag to 0. Data reception cannot be
resumed while the ORER flag is set to 1.
[ 4 ] Read the receive data in RDR once upon accepting
an RXI interrupt request.
[ 5 ] Serial reception continuation procedure:
To continue serial reception, before the MSB (bit 7) of
the current frame is received, finish reading the
receive data in RDR. The RDR data can also be read
by initiating the DMAC or DTC when an RXI interrupt
request is accepted.
[ 3 ]
[ 4 ]
[ 5 ]
[ 3 ]
Note:
*
Read the RDR register.
End
End
Figure 20.18 Example of Serial Reception Flowchart (Clock Synchronous Mode)
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...