FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual

HD68450, HD68450Y ----------------------------------- (2) External Requests If the REQG bits of the OCR indicate that the REQ line generates requests, the transfer requests arc generated exter- nally _ The request line associated with each channel allows the device to externally generate requests for DMA transfers_ When the device wants an operand transferred, it makes a request by asserting the request line. The external request mode is deter- mined by the XRM bits of the OCR, which allows both burst and cycle steal request modes. The burst request mode allows a channel to request the transfer of mUltiple operands using consecutive bus cycles.

The cycle steal request mode allows a channel to request the transfer of a single operand. The followings arc the description of the burst and the cycle steal modes. Burst Request Recognition In the burst request mode, the REQ line is an active low input. The level sampled at the rising edge of the clock. Once the burst request is asserted, it needs to be held low until the first DMA bus cycle starts in order to insure at least one data transfer operation. In order to stop the burst mode transfer after the current bus~le, the REQ line has to be negated one clock before the DTC output clock of this cycle. Refer to Figure 16 or the burst mode timing.

REQ~~~~~----~-----~======~~~~=_ BR BG--~~~-----~--~ BUS ~~~~~::~::~~~::::~~::::J CYClES= BGACK----~~--~~~ ACK _____ +- __ ~~--~~=n~~~~~ DTC ClK MPU cycle -t-- Idle DMA cycle -I- MPU cycle --r- DMA cycle ----t-- Idle or Idle Figure 16 Burst Mode Request Timing (Only one channel is active) Cycle Steal Request Recognition tion terminates or until the device pauses. The device is deter- mined to have paused if it does not make any requests during the next full sample interval. The sample interval counter is free running and is not reset or modified by this mode of operation. The sample interval counter is the same counter that is used for Limited Rate Auto Request and is programmed via the GCR.

Figure 18 shows the request timing in the cycle steal bus hold. If the REQ is inputted during the hold time, the ACK is outputted after a maximum of 7.5 clock cycles from the picked-up clock. On the cycle steal with hold mode, the DMAC will hold the bus even when the transfer count is exhausted and the last data has been transferred. If DMA transfer is requested from other channels during this period, they are executed normally. In the cycle steal request mode, the peripheral device re- quests the DMA transfer by generating an falling edge at the REQ line. TIle REQ line needs to be held "low" for at least 2 clock cycles.

In the cycle steal mode, if the REQ line changes from "Higll" to "Low" between ACK output and one clock be- fore the clock that outputs DTC, then the next DMA transfer is performed without relinquishing the bus. If the bus is not relinquished, then maximum of 5 idle clocks is inserted between bus cycles. Refer to Figure 17 for the request timing of the cycle steal mode. If the XRM bits specify cycle steal with- out hold, the DMAC will relinquish the bus. If the XRM bits specify cycle steal with hold, the DMAC will retain ownership.

The bus is not given up for arbitration until the channel opera- MPU cycle +- Idle micro cleanup DMA cycle MPU cycle or Idle DMA cycle Figure 17 Cycle Steal Mode Request Timing 20 ~HITACHI