82C237
address. Hold Acknowledge (HLDA) and Address Enable
(AEN) are “ORed” together to insure that the DMA controller
does not have bus contention with the microprocessor.
Application Information
Figure 7 shows an application for a DMA system utilizing the
82C237 DMA controller and the 80C88 Microprocessor. In
this application, the 82C237 DMA controller is used to
Operation
improve system performance by allowing an I/O device to A DMA request (DREQ) is generated by the I/O device. After
transfer data directly to or from system memory.
receiving the DMA request, the DMA controller will issue a
Hold request (HRQ) to the processor. The system busses
are not released to the DMA controller until a Hold Acknowl-
edge signal is returned to the DMA controller from the
80C88 processor. After the Hold Acknowledge has been
received, addresses and control signals are generated by
the DMA controller to accomplish the DMA transfers. Data is
transferred directly from the I/O device to memory (or vice
versa) with IOR and MEMW (or MEMR and IOW) being
active. Note that data is not read into or driven out of the
DMA controller in I/O-to-memory or memory-to-I/O data
transfers.
Components
The system clock is generated by the 82C84A clock driver
and is inverted to meet the clock high and low times required
by the 82C237 DMA controller. The four OR gates are used
to support the 80C88 Microprocessor in minimum mode by
producing the control signals used by the processor to
access memory or I/O. A decoder is used to generate chip
select for the DMA controller and memory. The most signifi-
cant bits of the address are output on the address/data bus.
Therefore, the 82C82 octal latch is used to demultiplex the
V
CC
MEMCS
HLDA
DECODER
82C237
ADDRESS BUS
82C84A
OR
CLK
CS
EOP
AX
HLDA
HRQ
82C85
HLDA
ALE
AD0
STB
OE
ADSTB
IOR
IOW
CLK
AEN
OE
82C82
STB
82C82
V
MEMR
MEMW
HRQ
CC
AD7
M/IO
RD
A0-7
DATA BUS
ADDRESS BUS
DATA BUS
DB0-7 DREQ0
V
WR MN/MX
80C88
DACK
CC
47KΩ
MEMR
CS
DREQ
MEMW
IOR
MEMORY
I/O
DEVICE
MEMCS
MEMR
MEMW
IOR
IOW
IOW
NOTE: The address lines need pull-up resistors.
FIGURE 7. APPLICATION FOR DMA SYSTEM
4-162