English
Language : 

HD6433832S Datasheet, PDF (297/560 Pages) Renesas Technology Corp – single-chip microcomputers
Receiving: Figure 10.19 shows a typical flow chart for receiving data. After SCI3 initialization,
follow the procedure below.
Start
1
Read bit OER in SSR
Yes
OER = 1?
No
1. Read bit OER in the serial status register (SSR)
to determine if an error has occurred. If an
overrun error has occurred, overrun error
processing is executed.
2
Read bit RDRF in SSR
No
RDRF = 1?
Yes
2. Read the serial status register (SSR), and after
confirming that bit RDRF = 1, read received
data from the receive data register (RDR).
When data is read from RDR, RDRF is
automatically cleared to 0.
Read received data in RDR
3. To continue receiving data, read bit RDRF and
read the received data in RDR before the MSB
4 Overrun error processing
(bit 7) of the present frame is received.
When data is read from RDR, RDRF is
Continue
Yes
3
receiving?
automatically cleared to 0.
No
Clear bit RE in SCR3 to 0
End
4. When an overrun error occurs, read bit OER in
SSR. After the necessary error processing,
be sure to clear OER to 0.
Data receiving cannot be resumed while bit
OER is set to 1.
Start overrun
4
processing
Overrun error
processing
Clear bit OER in
SSR to 0
End overrun
error processing
Figure 10.19 Typical Data Receiving Flow Chart in Synchronous Mode
282