English
Language : 

SH7708 Datasheet, PDF (401/625 Pages) Renesas Technology Corp – SuperH™ RISC engine
Start transmission/reception
Read TDRE bit in SCSSR
(1)
No
TDRE = 1?
Yes
Write transmission data to SCTDR
and clear TDRE bit in SCSSR to 0
Read ORER bit in SCSSR
Yes
ORER = 1?
No
(2)
Error handling
Read RDRF bit in SCSSR
(3)
No
RDRF = 1?
Yes
Read receive data of SCRDR (4)
and clear RDRF bit in SCSSR to 0
No
All data
transmitted/received?
Yes
Clear TE and RE bits
in SCSCR to 0
End transmission/reception
Note: When switching from transmitting or receiving to simultaneous transmitting
and receiving, simultaneously clear TE and RE to 0, then simultaneously
set TE and RE to 1.
Figure 13.20 Sample Flowchart for Serial Transmitting
387