English
Language : 

SH7604 Datasheet, PDF (395/633 Pages) Hitachi Semiconductor – Hardware Manual
Start transmission/reception
Read TDRE bit in SSR
1
No
TDRE = 1?
Yes
Write transmit data to TDR
and clear TDRE bit in SSR to 0
Read ORER bit in SSR
Yes
ORER = 1?
No
2
Error handling
Read RDRF bit in SSR
3
No
RDRF = 1?
Yes
Read receive data in RDR
and clear RDRF bit in SSR to 0 4
No
All data
transmitted/received?
Yes
Clear TE and RE bits
in SCR to 0
End transmission/reception
Note: When switching from transmitting or receiving to simultaneous transmitting and receiving,
clear both TE and RE to 0, then set both TE and RE to 1.
Circled numbers refer to the preceding description of the procedure in the text.
Figure 13.20 Sample Flowchart for Serial Transmitting
379