English
Language : 

SH7014 Datasheet, PDF (395/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
12. Serial Communication Interface (SCI)
Initialization
1
Start transmitting/receive
Read TDRE bit in SSR
2
No
TDRE = 1?
Yes
Write transmission data in TDR
and clear TDRE bit of SSR to 0
Read ORER bit of SSR
ORER = 1?
No
Read RDRF bit of SSR
Yes
3
Error handling
4
No
RDRF = 1?
Yes
Read receive data of RDR,
and clear RDRF bit of SSR to 0 5
No
All
data transmitted/and
received
Yes
Clear TE and RE bits of SCR to 0
End transmission/reception
Figure 12.20 Sample Flowchart for Serial Transmission
Rev.5.00 Sep. 27, 2007 Page 361 of 716
REJ09B0398-0500