Datasheet

Section 6 Bus Controller (BSC)
Rev. 3.00 Sep. 28, 2009 Page 94 of 710
REJ09B0384-0300
6.2 Bus Arbitration
6.2.1 Overview
The BSC has a bus arbiter that arbitrates bus master operations. There are two bus masters – the
CPU and DTC – that perform read/write operations while they have bus mastership.
6.2.2 Priority of Bus Mastership
Each bus master requests the bus mastership by means of a bus mastership request signal. The bus
arbiter detects the bus mastership request signal from the bus masters, and if a bus request occurs,
it sends a bus mastership request acknowledge signal to the bus master that made the request at the
designated timing. If there are bus requests from more than one bus master, the bus mastership
request acknowledge signal is sent to the one with the highest priority. When a bus master receives
the bus mastership request acknowledge signal, it takes the bus mastership until that signal is
canceled. The order of bus master priority is as follows:
(High) DTC > CPU (Low)
6.2.3 Bus Mastership Transfer Timing
When a bus request is received from a bus master with a higher priority than that of the bus master
that has acquired the bus mastership and is currently operating, the bus mastership is not
necessarily transferred immediately. Each bus master can relinquish the bus mastership at the
timings given below.
(1) CPU
The CPU is the lowest-priority bus master, and if a bus mastership request is received from the
DTC, the bus arbiter transfers the bus mastership to the DTC. The timing for transferring the bus
mastership is as follows:
1. Bus mastership is transferred at a break between bus cycles. However, if bus cycle is executed
in discrete operations, as in the case of a long-word size access, the bus is not transferred at a
break between the operations. For details see section 2.7, Bus States During Instruction
Execution in the H8S/2600 Series, H8S/2000 Series Software Manual.
2. If the CPU is in sleep mode, it transfers the bus mastership immediately.