hd66100 Renesas Electronics Corporation., hd66100 Datasheet - Page 308

no-image

hd66100

Manufacturer Part Number
hd66100
Description
H8/3867 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
hd66100F
Manufacturer:
HIT
Quantity:
1 810
Part Number:
hd66100F
Manufacturer:
SW
Quantity:
1 815
Part Number:
hd66100F
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
• Receiving
Figure 10.13 shows an example of a flowchart for data reception. This procedure should be
followed for data reception after initializing SCI3.
Figure 10.13 Example of Data Reception Flowchart (Synchronous Mode)
1
2
3
Read bit RDRF
Clear bit RE to
Continue data
Read bit OER
Read receive
data in RDR
RDRF = 1?
reception?
0 in SCR3
OER = 1?
in SSR
in SSR
Start
End
No
Yes
No
4
Overrun error
processing
Yes
No
Yes
4
Clear bit OER to
error processing
error processing
End of overrun
Overrun error
Start overrun
processing
0 in SSR
1.
2.
3.
4.
Read bit OER in the serial status register
(SSR) to determine if there is an error.
If an overrun error has occurred, execute
overrun error processing.
Read SSR and check that bit RDRF is
set to 1. If it is, read the receive data in
RDR. When the RDR data is read, bit
RDRF is cleared to 0 automatically.
When continuing data reception, finish
reading of bit RDRF and RDR before
receiving the MSB (bit 7) of the current
frame. When the data in RDR is read,
bit RDRF is cleared to 0 automatically.
If an overrun error has occurred, read bit
OER in SSR, and after carrying out the
necessary error processing, clear bit OER
to 0. Reception cannot be resumed if bit
OER is set to 1.
293

Related parts for hd66100