SH7145F
Asynchronous Serial Data Transmission/Reception
REJ06B0357-0100O/Rev.1.00 March 2004 Page 7 of 17
Table 3 Processing
Software Processing Hardware Processing
(1) RSR_1 receives serial data and transfers it
to RDR_1
(2) Set RDRF flag in SSR_1 to 1
(3) Readd atafrom RDR_1
(4) Clear RDRFflag in SSR_1 to 0
(5) WritereceivedatatoTDR_1
(6) ClearTDRE flag in SSR_1 to 1
(7) — TransferdatafromTDR_1toTSR_1
(8) Set TDRE flag in SSR_1 to 1 and output
transmit data from pin TXD1
(9) RSR_1 receives serial data and transfers it
to RDR_1
(10) Set RDRF flag in SSR_1 to 1
(11) Read data from RDR_1
(12) Clear RDRF flag in SSR_1 to 0
(13) Write receive datato TDR_1
(14) Clear TDRE flag in SSR_1to 1
(15) Transfer data from TDR_1 to TSR_1
(16) Repeat Repeat