SlideShare a Scribd company logo
 Introduction to the DMA and DMA controller.
 Need of DMA and DMA controller.
 Working of the DMA and DMA controller.
What is DMA ?
 DMA represents the DIRECT MEMORY
ACCESS. Means there is a direct way to access
the memory not by the help of other device.
 DMA is a feature of computerized system that
allows the certain hardware subsystems to
access main memory independently of CPU.
 Without DMA ,during input/output operation the
whole CPU is occupied for read and write operation
, and is thus unavailable to perform other work.
 With DMA , the CPU does the other operation while
the transfer is in progress.
 DMA is used in intra-chip data transfer in multi-
core processors and also used in disk drive ,
graphic cards, network cards and sound cards.
 A DMA controller can generate memory
addresses and initiate memory read or write
cycles.
 It contains several processor registers that
can be written and read by the CPU.
 The control registers specify the I/O port to
use , the direction of the transfer and the
number of bytes to transfer in one burst.
An entire block of
data is transferred in
one contiguous
sequence.
Once the DMA
controller is granted
access to the
system bus by the
CPU, it transfers all
bytes of data in the
data block .
Burst Mode Cycle Stealing mode
The cycle stealing
mode is used in
systems in which
the CPU should not
be disabled for the
length of time
needed for burst
transfer modes.
In the Cycle stealing
mode , the DMA
controller obtains
access to the system
bus.
Transparent mode
The transparent
mode takes the
most time to
transfer a block of
data , yet it is also
the most efficient
mode in terms of
overall System
performance.
Micro
Processor
Memory
DMA
Controller
Peripheral
Device
Address bus
Data bus
Control bus
Hold
Ack
Hold
Reque
st
Data bus
Control
DMA Request
DMA Ack
DMA and DMA controller

More Related Content

What's hot

Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Mustapha Fatty
 

What's hot (20)

Interrupts
InterruptsInterrupts
Interrupts
 
8086 modes
8086 modes8086 modes
8086 modes
 
Interrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.kInterrupts on 8086 microprocessor by vijay kumar.k
Interrupts on 8086 microprocessor by vijay kumar.k
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transfer
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
 
Data transfer techniques 8085
Data transfer techniques 8085Data transfer techniques 8085
Data transfer techniques 8085
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Timing diagram 8085 microprocessor
Timing diagram 8085 microprocessorTiming diagram 8085 microprocessor
Timing diagram 8085 microprocessor
 
Interrupts and types of interrupts
Interrupts and types of interruptsInterrupts and types of interrupts
Interrupts and types of interrupts
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 

Viewers also liked (11)

Guia de diagnostico de p cs
Guia de diagnostico de p csGuia de diagnostico de p cs
Guia de diagnostico de p cs
 
Problemas 1
Problemas 1Problemas 1
Problemas 1
 
Problemas 2
Problemas 2Problemas 2
Problemas 2
 
Problemas 3
Problemas 3Problemas 3
Problemas 3
 
Hardware - O interior do PC
Hardware - O interior do PCHardware - O interior do PC
Hardware - O interior do PC
 
Montagem e Manutenção de Micros - Aula 17/05 - MEMÓRIAS - HD - SSD - T7006B
Montagem e Manutenção de Micros - Aula 17/05 - MEMÓRIAS - HD - SSD - T7006BMontagem e Manutenção de Micros - Aula 17/05 - MEMÓRIAS - HD - SSD - T7006B
Montagem e Manutenção de Micros - Aula 17/05 - MEMÓRIAS - HD - SSD - T7006B
 
Design and Implementation of an Advanced DMA Controller on AMBA-Based SoC
Design and Implementation of an Advanced DMA Controller on AMBA-Based SoCDesign and Implementation of an Advanced DMA Controller on AMBA-Based SoC
Design and Implementation of an Advanced DMA Controller on AMBA-Based SoC
 
DMA controller intel 8257
DMA controller intel 8257DMA controller intel 8257
DMA controller intel 8257
 
8086 addressing modes
8086 addressing modes8086 addressing modes
8086 addressing modes
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMA
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 

Similar to DMA and DMA controller

RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
Kashinathvpillai
 
discuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdfdiscuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdf
info998421
 

Similar to DMA and DMA controller (20)

Direct Memory Access (DMA).pptx
Direct Memory Access (DMA).pptxDirect Memory Access (DMA).pptx
Direct Memory Access (DMA).pptx
 
RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
 
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhjfathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
 
coadma-150401131446-conversion-gate01.pptx
coadma-150401131446-conversion-gate01.pptxcoadma-150401131446-conversion-gate01.pptx
coadma-150401131446-conversion-gate01.pptx
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
 
Direct Memory Access ppt
Direct Memory Access pptDirect Memory Access ppt
Direct Memory Access ppt
 
DMA presentation [By- Digvijay]
DMA presentation [By- Digvijay]DMA presentation [By- Digvijay]
DMA presentation [By- Digvijay]
 
DMA airctecture.pptx
DMA airctecture.pptxDMA airctecture.pptx
DMA airctecture.pptx
 
ppppptttt.pdf
ppppptttt.pdfppppptttt.pdf
ppppptttt.pdf
 
Aryan_camemoryhierchyandmanagements.pptx
Aryan_camemoryhierchyandmanagements.pptxAryan_camemoryhierchyandmanagements.pptx
Aryan_camemoryhierchyandmanagements.pptx
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Direct memory access (DMA) is a function that allows an inputoutput.pdf
Direct memory access (DMA) is a function that allows an inputoutput.pdfDirect memory access (DMA) is a function that allows an inputoutput.pdf
Direct memory access (DMA) is a function that allows an inputoutput.pdf
 
H n q & a
H n q & aH n q & a
H n q & a
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
discuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdfdiscuss the drawbacks of programmed and interrupt driven io and des.pdf
discuss the drawbacks of programmed and interrupt driven io and des.pdf
 
3. Component of computer - System Unit ( CSI-321)
3. Component of computer - System Unit  ( CSI-321) 3. Component of computer - System Unit  ( CSI-321)
3. Component of computer - System Unit ( CSI-321)
 
Internal components technical
Internal components technicalInternal components technical
Internal components technical
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 

DMA and DMA controller

  • 1.  Introduction to the DMA and DMA controller.  Need of DMA and DMA controller.  Working of the DMA and DMA controller.
  • 2. What is DMA ?  DMA represents the DIRECT MEMORY ACCESS. Means there is a direct way to access the memory not by the help of other device.  DMA is a feature of computerized system that allows the certain hardware subsystems to access main memory independently of CPU.
  • 3.  Without DMA ,during input/output operation the whole CPU is occupied for read and write operation , and is thus unavailable to perform other work.  With DMA , the CPU does the other operation while the transfer is in progress.  DMA is used in intra-chip data transfer in multi- core processors and also used in disk drive , graphic cards, network cards and sound cards.
  • 4.  A DMA controller can generate memory addresses and initiate memory read or write cycles.  It contains several processor registers that can be written and read by the CPU.  The control registers specify the I/O port to use , the direction of the transfer and the number of bytes to transfer in one burst.
  • 5. An entire block of data is transferred in one contiguous sequence. Once the DMA controller is granted access to the system bus by the CPU, it transfers all bytes of data in the data block . Burst Mode Cycle Stealing mode The cycle stealing mode is used in systems in which the CPU should not be disabled for the length of time needed for burst transfer modes. In the Cycle stealing mode , the DMA controller obtains access to the system bus. Transparent mode The transparent mode takes the most time to transfer a block of data , yet it is also the most efficient mode in terms of overall System performance.
  • 6. Micro Processor Memory DMA Controller Peripheral Device Address bus Data bus Control bus Hold Ack Hold Reque st Data bus Control DMA Request DMA Ack