English
Language : 

SH7750_08 Datasheet, PDF (879/1162 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 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.7.00 Oct. 10, 2008 Page 795 of 1074
REJ09B0366-0700