Renesas H8S/2100 Series Hardware Manual page 509

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

(3)
Data Transmission
Figure 16.8 shows an example of the data transmission flowchart.
Transmission/reception standby
Read CTS flag in FMSR
Read THRE flag in FLSR
Write transmit data to transmit FIFO
All data written
(End of transmission or transmission standby)
Figure 16.8 Example of Data Transmission Flowchart
No
CTS = 1
Yes
No
THRE = 1
Yes
i ← 0
[3]
i ← i + 1
No
Yes
Section 16 Serial Communication Interface with FIFO (SCIF)
[1] Confirm that the CTS flag in FMSR is 1.
[2] Confirm that the THRE flag in FLSR is 1 to
ensure that the transmit FIFO is empty.
[3] Write up to 16 bytes of transmit data in the
[1]
transmit FIFO. If the transmit data is 17 bytes
or more, return to step [2] to write transmit
data in the transmit FIFO again.
[4] When all of the data has been written, go
to the transmission/reception standby flow.
[2]
Yes
i < 16?
[4]
Rev. 1.00 May 09, 2008 Page 483 of 954
No
REJ09B0462-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents