H8S-2350 RENESAS [Renesas Technology Corp], H8S-2350 Datasheet - Page 666

no-image

H8S-2350

Manufacturer Part Number
H8S-2350
Description
16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 14 Smart Card Interface
Serial Data Reception
Data reception in Smart Card mode uses the same processing procedure as for the normal SCI.
Figure 14.7 shows an example of the transmission processing flow.
[1] Perform Smart Card interface mode initialization as described above in Initialization.
[2] Check that the ORER flag and PER flag in SSR are cleared to 0. If either is set, perform the
[3] Repeat steps [2] and [3] until it can be confirmed that the RDRF flag is set to 1.
[4] Read the receive data from RDR.
[5] When receiving data continuously, clear the RDRF flag to 0 and go back to step [2].
[6] To end reception, clear the RE bit to 0.
Rev. 3.00 Sep 15, 2006 page 632 of 988
REJ09B0330-0300
appropriate receive error processing, then clear both the ORER and the PER flag to 0.
No
No
Figure 14.7 Example of Reception Processing Flow
RDRF flag in SSR to 0
Read RDR and clear
All data received?
Clear RE bit to 0
ORER = 0 and
Start reception
Initialization
RDRF = 1?
PER = 0
Start
Yes
Yes
Yes
No
Error processing

Related parts for H8S-2350