Interface To Bus Master - Hitachi H8S/2646 Hardware Manual

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

16.3

Interface to Bus Master

ADDRA to ADDRD are 16-bit registers, and the data bus to the bus master is 8 bits wide.
Therefore, in accesses by the bus master, the upper byte is accessed directly, but the lower byte is
accessed via a temporary register (TEMP).
A data read from ADDR is performed as follows. When the upper byte is read, the upper byte
value is transferred to the CPU and the lower byte value is transferred to TEMP. Next, when the
lower byte is read, the TEMP contents are transferred to the CPU.
When reading ADDR. always read the upper byte before the lower byte. It is possible to read only
the upper byte, but if only the lower byte is read, incorrect data may be obtained.
Figure 16-2 shows the data flow for ADDR access.
Upper byte read
Bus master
(H'AA)
Lower byte read
Bus master
(H'40)
Figure 16-2 ADDR Access Operation (Reading H'AA40)
Bus interface
ADDRnH
(H'AA)
Bus interface
ADDRnH
(H'AA)
Module data bus
TEMP
(H'40)
ADDRnL
(H'40)
(n = A to D)
Module data bus
TEMP
(H'40)
ADDRnL
(H'40)
(n = A to D)
597

Advertisement

Table of Contents
loading

Table of Contents