HD64336901G Renesas Technology, HD64336901G Datasheet - Page 240

no-image

HD64336901G

Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
Rev. 1.00, 11/03, page 212 of 376
[4]
Figure 14.14 Sample Serial Reception Flowchart (Clocked Synchronous Mode)
Yes
No
Read receive data in RDR
Clear OER flag in SSR to 0
Clear RE bit in SCR3 to 0
Read RDRF flag in SSR
Overrun error processing
Read OER flag in SSR
All data received?
Error processing
Start reception
RDRF = 1
OER = 1
<End>
<End>
Yes
No
No
(Continued below)
Error processing
Yes
[1]
[2]
[3]
[4]
[1]
[2]
[3]
[4]
Read the OER flag in SSR to determine if
there is an error. If an overrun error has
occurred, execute overrun error processing.
Read SSR and check that the RDRF flag is
set to 1, then read the receive data in RDR.
When data is read from RDR, the RDRF
flag is automatically cleared to 0.
To continue serial reception, before the
MSB (bit 7) of the current frame is received,
reading the RDRF flag and reading RDR
should be finished. When data is read from
RDR, the RDRF flag is automatically
cleared to 0.
If an overrun error occurs, read the OER
flag in SSR, and after performing the
appropriate error processing, clear the OER
flag to 0. Reception cannot be resumed if
the OER flag is set to 1.

Related parts for HD64336901G