Renesas Hitachi H8S/2194 Series Hardware Manual page 507

16-bit single-chip microcomputer
Table of Contents

Advertisement

Initialization
Start transmission
Read TDRE flag in SSR1
TDRE=1
Yes
Write transmit data to TDR1
and set MPBT bit in SSR1
Clear TDRE flag to 0
Transmission end?
Yes
Read TEND flag in SSR1
TEND=1
Yes
Break output?
Yes
Clear PDR to 0 and set PCR to 1
Clear TE bit in SCR1 to 0
< End >
Figure 23.10 Sample Multiprocessor Serial Transmission Flowchart
Rev. 2.0, 11/00, page 480 of 1037
SCI1 initialization:
[1]
[1]
The SO1 pin is automatically designated as
the transmit data output pin.
SCI1 status check and transmit data write:
[2]
Read SSR1 and check that the TDRE flag
is set to 1, then write transmit data to
[2]
TDR1. Set the MPBT bit in SSR1 to 0 or 1.
Finally, clear the TDRE flag to 0.
No
Serial transmission continuation procedure:
[3]
To continue serial transmission, be sure to
read 1 from the TDRE flag to confirm that
writing is possible, then write data to TDR1,
and then clear the TDRE flag to 0.
Break output at the end of serial
[4]
transmission:
To output a break in serial transmission, set
the port PCR to 1, clear PDR to 0, then
clear the TE bit in SCR1 to 0.
No
[3]
No
No
[4]

Advertisement

Table of Contents
loading

Table of Contents