UNIT 3b
UNIT 3b
Programmable
Microprocessors Interfaces: 8255,
8253/54, 8251, 8259,
Overview of DMA &
DMA controller, ADC
and DAC interfacing
8255 is a programmable I/O device that acts as interface between peripheral devices
and the microprocessor for parallel data transfer.
Direct memory access (DMA) is a method that allows an
input/output (I/O) device to send or receive data directly to or
from the main memory, bypassing the CPU to speed up
memory operations. The process is managed by a chip known
as a DMA controller.
Each of four channels of 8257 has a pair of two registers,
The priority resolver resolves the priority of the four DMA channels
depending upon whether normal priority or rotating priority is
programmed. When the fixed priority mode (normal) is selected, then
DRQ0 has the highest priority and DRQ3 has the lowest priority among
them.
These are bidirectional, data lines which are used to interface the system
bus with the internal data bus of DMA controller. In the Slave mode, it
carries command words to 8257 and status word from 8257. In the master
mode, these lines are used to send higher byte of the generated address to
the latch. This address is further latched using ADSTB signal.
HRQ: it is connected with HOLD input of the CPU.
ADSTB: Address Strobe Output Signal (like ALE signal 0f 8085)
This signal is used to convert the higher byte of the memory address generated by the
DMA controller into the latches.
Chip-Select
This is an active-low chip select line that enables the read/write operations from/to
8257, in slave mode. In the master mode, it is automatically disabled to prevent he
chip from getting selected (by CPU) while performing the DMA operation.
READY
This is an active-high asynchronous input used to stretch memory read and write
cycles of 8257 by inserting wait states. This is used while interfacing slower
peripherals.
What is PIC 8259?
Why is it required?