Hitachi F-ZTAT H8/3039 Series Hardware Manual page 415

Single-chip microcomputer
Table of Contents

Advertisement

Serial Data Reception: Data reception in Smart Card mode uses the same processing procedure
as for the normal SCI. Figure 12-6 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 flag is set, perform
the appropriate receive error processing, then clear both the ORER and the PER flag to 0.
[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.
No
No
406
Start
Initialization
Start reception
ORER = 0 and
PER = 0
Yes
RDRF=1?
Yes
Read RDR and clear
RDRF flag in SSR to 0
All data received?
Yes
Clear RE bit to 0
Figure 12-6 Example of Reception Processing Flow
No
Error processing

Advertisement

Table of Contents
loading

This manual is also suitable for:

F-ztat h8/3039F-ztat h8/3038F-ztat h8/3037F-ztat h8/3036

Table of Contents