Download Print this page

Renesas H8S Family Hardware Manual page 581

Advertisement

(3)
Data Transmission
Figure 15.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 15.8 Example of Data Transmission Flowchart
No
CTS = 1
Yes
No
THRE = 1
Yes
i ← 0
[3]
i ← i + 1
No
Yes
Section 15 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 Mar. 12, 2008 Page 533 of 1178
No
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472