Data Transfer Operations - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

24.3.3

Data Transfer Operations

(1) SCI2 Initialization
To carry out data transfer, first initialize the SCI2 using software. Initialization is performed
as described below:
(1) Use PMR2, PMR3, STAR, EDAR and SCR2 to set the pin and transmission mode while
STF of SCSR2 is set to 0.
(2) The SCI2 pin is also used as a port. Switching of a port is performed on PMR.
The SO2 pin allows to select CMOS output or NMOS open drain output on PMR2.
Transfer clock and transfer data intervals can be set on SCR2.
(3) The starting and ending addresses in the transfer data area are set on STAR and EDAR.
If the value of the ending address is smaller than that of the starting address, transfer data
at H'FFD0DF and then return to H'FFD0C0 so that transfer to the ending address can be
carried out as shows in figure 24.4. If the value of the starting address is equal to that of
the ending address is equal, perform one-byte transfer.
Figure 24.4 If The Value of The Ending Address is Smaller Than That of
End
Start
The Starting Address
H' FFD0C0
Ending address
Starting address
H' FFD0DF
Rev. 2.0, 11/00, page 511 of 1037

Advertisement

Table of Contents
loading

Table of Contents