HD6433682 ETC, HD6433682 Datasheet - Page 295

no-image

HD6433682

Manufacturer Part Number
HD6433682
Description
Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Manufacturer
ETC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433682A45HV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6433682C74HV
Manufacturer:
HITACHI/日立
Quantity:
20 000
Table 16.6 SSR Status Flags and Receive Data Handling
Note: * The RDRF flag retains the state it had before data reception.
RDRF*
1
0
0
1
1
0
1
(A)
Yes
No
Figure 16.8 Sample Serial Reception Data Flowchart (Asynchronous Mode)(1)
OER
1
0
0
1
1
0
1
SSR Status Flag
Read receive data in RDR
Clear RE bit in SCR3 to 0
Read RDRF flag in SSR
Read OER, PER, and
OER+PER+FER = 1
All data received?
FER flags in SSR
Start reception
RDRF = 1
FER
0
1
0
1
0
1
1
<End>
Yes
No
No
PER
0
0
1
0
1
1
1
(Continued on next page)
Error processing
[1]
Yes
[2]
[3]
Receive Data
Lost
Transferred to RDR
Transferred to RDR
Lost
Lost
Transferred to RDR
Lost
[4]
[1] Read the OER, PER, and FER flags in
[2] Read SSR and check that RDRF = 1,
[3] To continue serial reception, before the
[4] If a receive error occurs, read the OER,
The RDRF flag is cleared automatically.
SSR to identify the error. If a receive
error occurs, performs the appropriate
error processing.
then read the receive data in RDR.
The RDRF flag is cleared automatically.
stop bit for the current frame is
received, read the RDRF flag and read
RDR.
PER, and FER flags in SSR to identify
the error. After performing the
appropriate error processing, ensure
that the OER, PER, and FER flags are
all cleared to 0. Reception cannot be
resumed if any of these flags are set to
1. In the case of a framing error, a
break can be detected by reading the
value of the input port corresponding to
the RxD pin.
Rev. 3.00, 05/03, page 265 of 472
Receive Error Type
Overrun error
Framing error
Parity error
Overrun error + framing error
Overrun error + parity error
Framing error + parity error
Overrun error + framing error +
parity error

Related parts for HD6433682