Rev. 1.0, 03/01, page 171 of 280
No
<End>
Yes
Start transmission
Read TDRE flag in SSR
[1]
Write transmit data to TDR
No
Yes
No
Yes
Read TEND flag in SSR
[2]
No
Yes
[3]
Clear PDR to 0 and
set PCR to 1
Clear TE bit in SCR3 to 0
TDRE = 1
All data transmitted?
TEND = 1
Break output?
[1] Read SSR and check that the
TDRE flag is set to 1, then write
transmit data to TDR and clear the
TDRE flag to 0. Checking and
clearing of the TDRE flag is
automatic.
[2] To continue serial transmission,
read 1 from the TDRE flag to
confirm that writing is possible,
then write data to TDR, and then
clear the TDRE flag to 0. Checking
and clearing of the TDRE flag is
automatic.
[3] To output a break in serial
transmission, set PCR to 1 and
PDR to 0, clear TXD in PMR1 to 0,
then clear the TE bit in SCR3 to 0.
Figure 13-6 Sample Serial Transmission Flowchart
Summary of Contents for H8/3670F-ZTAT HD64F3670
Page 2: ...Rev 2 0 03 01 page ii of xxiv ...
Page 4: ...Rev 2 0 03 01 page iv of xxiv ...
Page 14: ...Rev 2 0 03 01 page xiv of xxiv ...
Page 20: ...Rev 1 0 03 01 page xx of xxiv ...
Page 24: ...Rev 1 0 03 01 page xxiv of xxiv ...
Page 78: ...Rev 1 0 03 01 page 54 of 280 ...
Page 112: ...Rev 1 0 03 01 page 88 of 280 ...
Page 248: ...Rev 1 0 03 01 page 224 of 280 ...