PCI-SIO4 User Manual
General Standards Corporation
8302A Whitesburg Drive Huntsville, AL 35802, Phone: (256) 880-8787
48
3.4
LOCAL DMA REGISTERS
The Local DMA registers are used to setup the DMA transfers to and from the on-board FIFOs. Since the
PCI/PMC-HPDI32 is half-duplex (data is only transferred in one direction at a time), only DMA Channel 0
is used.
Table 3.4-1: DMA Registers
PCI
CFG
Addr
Local
Offset
Addr
PCI/Local
Writable
Register Name
Value after
Reset
0x80
0x100
Y
DMA Channel 0 Mode Register
0x00000003
0x84
0x104
Y
DMA Channel 0 PCI Address Register
0x00000000
0x88
0x108
Y
DMA Channel 0 Local Address Register
0x00000000
0x8C
0x10C
Y
DMA Channel 0 Transfer Byte Count Register
0x00000000
0x90
0x110
Y
DMA Channel 0 Descriptor Pointer Register
0x00000000
0x94
0x114
Y
DMA Channel 1 Mode Register (Unused)
0x00000003
0x98
0x118
Y
DMA Channel 1 PCI Address Register (Unused)
0x00000000
0x9C
0x11C
Y
DMA Channel 1 Local Address Register (Unused)
0x00000000
0xA0
0x120
Y
DMA Channel 1 Transfer Byte Count Register (Unused)
0x00000000
0xA4
0x124
Y
DMA Channel 1 Descriptor Pointer Register (Unused)
0x00000000
0xA8
0x128
Y
DMA Channel 1Command/Status Register
DMA Channel 0 Command/Status Register
0x00000010
0xAC
0x12C
Y
DMA Mode/ Arbitration Register
0x00000000
0xB0
0x130
Y
DMA Threshold Register
0x00000000
3.4.1
DMA
C
HANNEL
0
M
ODE
R
EGISTER
:
(PCI
0
X
80)
D1:0
Local Bus Width
00 = 8 bit DMA transfer width
01 = 16 bit DMA transfer width
10/11 = 32 bit DMA transfer width
D5:2
Internal Wait States (Unused)
D6
Ready Input Enable
Note: This bit should always be set to ‘1’ (Ready Input Enabled).
D7
Bterm# Input Enable (Unused)
Note: This bit should always be set to ‘0’ (BTERM# Disabled).
D8
Local Burst Enable
Note: If Burst enabled, the user must ensure FIFO will not become empty (read) or full
(write) during the burst access. For Demand Mode DMA, this means the Almost
Empty/Almost Full flags should be set to a value of at least 8.
D9
Chaining Enable
A ‘1’ indicates chaining mode is enabled.
For chaining mode, the DMA source address, destination address and byte count are
loaded from memory in PCI Space.
D10
Done Interrupt Enable
A ‘1’ enables interrupt when DMA done.
Note:
If DMA clear count mode is enabled, the interrupt won’t occur until the byte count
is cleared.