HD6433935 Hitachi, HD6433935 Datasheet - Page 303

no-image

HD6433935

Manufacturer Part Number
HD6433935
Description
8-Bit MICROCONTROLLER
Manufacturer
Hitachi
Datasheet
Figure 10-10 shows an example of a flowchart for data reception. This procedure should be
followed for data reception after initializing SCI3.
1
2
3
Receiving
PER, FER in SSR
Figure 10-10 Example of Data Reception Flowchart (Asynchronous Mode)
Read bit RDRF
Read bits OER,
Clear bit RE to
Continue data
Read receive
OER + PER
data in RDR
+ FER = 1?
RDRF = 1?
reception?
0 in SCR3
in SSR
Start
End
No
Yes
No
4
Receive error
processing
Yes
No
Yes
(A)
1.
2.
3.
Read bits OER, PER, and FER in the
serial status register (SSR) to determine
if there is an error. If a receive error has
occurred, execute receive 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.
reading of bit RDRF and RDR before
receiving the stop bit of the current
frame. When the data in RDR is read,
bit RDRF is cleared to 0 automatically.
When continuing data reception, finish
291

Related parts for HD6433935