English
Language : 

HD6417751RBP240V Datasheet, PDF (839/1226 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
17. Smart Card Interface
Start
Initialization
1
Start of reception
2
No
ORER = 0 and PER = 0?
Yes
No
RDRF = 1?
Error handling
3
Yes
Read receive data from
SCRDR1 and clear RDRF flag 4
in SCSSR1 to 0
No
All data received?
5
Yes
Clear RE bit in SCSCR1 to 0 6
End of reception
Figure 17.9 Sample Reception Processing Flowchart
Mode Switching Operation: When switching from receive mode to transmit mode, first confirm
that the receive operation has been completed, then start from initialization, clearing RE to 0 and
setting TE to 1. The RDRF flag or the PER and ORER flags can be used to check that the receive
operation has been completed.
When switching from transmit mode to receive mode, first confirm that the transmit operation has
been completed, then start from initialization, clearing TE to 0 and setting RE to 1. The TEND
flag can be used to check that the transmit operation has been completed.
Rev.4.00 Oct. 10, 2008 Page 739 of 1122
REJ09B0370-0400