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

--------------------~------------- HD68450, HD68450Y DMAC responds the interrupt vector of the channel with the highest priority requesting an interrupt. There are two kinds of the interrupt vectors for each channel: normal (NIV) or error (EIV). lACK is not serviced if the DMAC has not generated IRQ. SI.~·A::II'( (eSR) : f--'O:""""~~,::'.:'..;;:"~s:::,.,'_l (C E R) corll~YI~,sl" (OCR) con~:'::~51.r (OCR) Con~~It.r (SeR) con;rh:~,.t.r (eCR) • Channel Request (REO;; through REO";) Interru~;oVector (EIV) 'nter~:~7~ector (NIV) Input Active low or falling edge Pnorft~nA~isler (CPR) One set per Func~::;':Cod.S (MFC) channel Func,,:UCodes (BFC) I I 0."1(:1 I '"""'0" c....

(DFC) I These lines are the DMA transfer request inputs from the peripheral devices. These lines are falling edge sensitive inputs when the request mode is cycle steal. They are low-level sensitive when the request mode is burst. a. .. T' ..... '., Counter (BTC) I 1- ______ .. ::-~_":-:' .. :_:'--_=_ ..... __:_ .. -'-------___j(MAR) I f-- ______ """"'._._ ... _'_-_-_'_~ ___ ~ ____ _l(DAR) i '-- ______ .... _, .. _'_-_ ... _"'_" ________ -..J(BAR) J Memory Trln,'.r Counter (MTC):

• Channel Acknowledge (ACK;;" through ~) Figure 10 Internal Registers Cene.,1 Control Reglsle, I(GCR) - One pe, DMAC Output Active low • Register Organization These lines indicate to the I/O device requesting a transfer that the request is acknowledged and the transfer is to be per- formed. These lines may be used as a part of the enable circuit for bus interface to the peripheral. The internal register addresses are represented in Table I. Address space not used within the address map is reserved for future expansion. A read from an unused location in the map results in a normal bus cycle with all ones for data.

A write to one of these locations results in a normal bus cycle but no write occurs. Unused bits of the defined registers in Table I read as zeros.

• Peripheral Control Line (PCl o through PCl 3 ) Input/Output Active low Three-statable Table 1 I nternal Register Addressing Assignments Address Bits Register 7 6 5 Channel Status Register c c 0 Channel Error Register c c 0 Device Control Register c c 0 Operation Control Register c c 0 Sequence Control Register c c 0 Channel Control Register c c 0 Memory Transfer Counter c c 0 Memory Address Register c c 0 Device Address Register c c 0 Base Transfer Counter c c 0 Base Address Register c c 0 Normal Interrupt Vector c c 1 Error Interrupt Vector c c 1 Channel PriOrity Register c 1 Memory Function Codes c 1 Device Function Codes c c 1 Base Function Codes c c 1 General Control Register 1 1 1 4 3 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 1 1 1 0 0 0 0 0 1 0 1 1 0 1 1 1 1 2 1 0 Mode 0 0 0 R w* 0 0 1 R 1 0 0 R W 1 0 1 R W 1 1 0 R W 1 1 1 R W 0 1 b R W 1 s R W 1 5 R W 0 b R W 1 s R W 1 0 R W 1 1 R W 1 0 R W 0 0 R W 0 0 R W 0 0 R W 1 1 R W The four lines (pCl o - PCl 3 ) are mUlti-purpose lines which may be individually programmed to be a START output, an Enable Clock input, a READY input, an ABORT input, a STATUS input, or an INTERRUPT input.

• Done ([)"()NE) Input/Output Active low Open Drain As an output, this line is asserted concurrently with the ACKx timing to indicate the last data transfer to the peripheral device. As an input, it allows the peripheral device to request a normal termination of the DMA transfer. 10-Channel ::2.11-Channel ::3. ss ·OO-high-order. 01 -upper middle. 10-lower middle.ll-Iow-order b: O-high-order. 1 -low-order * see Channel Status Register Section cc .OO-Channel :: 0,0 1 -Channel :: 1. • Device Transfer Complete (DTC) Output Active low Three-statable Device Control Register (DCR) The OCR is a device oriented control register.

The XRM bits specifies whether the channel is in burst or cycle steal request mode. The DTYP bits define what type of device is on the channel. If the DTYP bits are programmed to be a HMCS6800 device, the pel definition is ignored and the PCl line is an Enable clock input. If the DTYP bits are programmed to be a device with READ'Y, the PCl definition is ignored and the PCl line is a READY input. The DPS bit defines the port size (eight or sixteen bits) of the peripheral device. (A port size is the largest data which the peripheral device can transfer during a DMA bus cycle.) The PCl bits define the function of the PCl line.

If the This line is asserted when the DMA bus cycle has terminate·d· normally with no exceptions. It may be used to supply the data latch timing to the peripheral device. In this case, data is valid at the falling edge of DTC. • INTERNAL ORGANIZATION The DMAC has four independent DMA channels. Each chan- nel has its own set of channel registers. These registers define and control the activity of the DMAC in processing a channel operation. DTYP bits are programmed to be HMCS6800 device, or Device with ACK and READY, these definitions are ignored. The XRM HITACHI 13