English
Language : 

SH7032 Datasheet, PDF (432/687 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 13 Serial Communication Interface (SCI)
Initialization
(1)
Start transmitting and receiving
Read TDRE bit in SSR
(2)
No
TDRE = 1?
Yes
Write transmit data to TDR
and clear TDRE bit in
SSR to 0
Read ORER bit in SSR
ORER = 1?
No
Yes
(3)
Error handling
Read RDRF bit in SSR
(4)
No
RDRF = 1?
Yes
Read receive data in
RDR and clear RDRF bit
(5)
in SSR to 0
No
Total
count transmitted and
received?
Yes
Clear TE and RE bits in
SCR to 0
Transmitting/receiving ends
Note: When switching from transmitting or receiving to simultaneous transmitting and receiving,
clear both the TE bit and the RE bit to 0, then set both this to 1 simultaneously.
Figure 13.20 Sample Flowchart for Serial Transmitting and Receiving
Rev. 7.00 Jan 31, 2006 page 406 of 658
REJ09B0272-0700