SlideShare a Scribd company logo
1 of 7
 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

Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & InterrruptsSharmilaChidaravalli
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architectureprasadpawaskar
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organizationMazin Alwaaly
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram descriptionAkhil Singal
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Urvashi Singh
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086saurav kumar
 
8086 pin details
8086 pin details8086 pin details
8086 pin detailsAJAL A J
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transferpriya Nithya
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086j4jiet
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architectureFaisal Hussain
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controllerabhikalmegh
 

What's hot (20)

Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Dma
DmaDma
Dma
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Memory mapping
Memory mappingMemory mapping
Memory mapping
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram description
 
Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086Assembler directives and basic steps ALP of 8086
Assembler directives and basic steps ALP of 8086
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transfer
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
 
Direct Memory Access ppt
Direct Memory Access pptDirect Memory Access ppt
Direct Memory Access ppt
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Interrupts of microprocessor 8085
Interrupts of microprocessor  8085Interrupts of microprocessor  8085
Interrupts of microprocessor 8085
 

Viewers also liked

Hardware - O interior do PC
Hardware - O interior do PCHardware - O interior do PC
Hardware - O interior do PCobscure
 
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 - T7006BAlexandre Da Silva Azevedo
 
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 SoCRabindranath Tagore University, Bhopal
 
DMA controller intel 8257
DMA controller intel 8257DMA controller intel 8257
DMA controller intel 8257Daniel Ilunga
 
8086 addressing modes
8086 addressing modes8086 addressing modes
8086 addressing modesj4jiet
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMAAJAL A J
 

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

Direct Memory Access (DMA).pptx
Direct Memory Access (DMA).pptxDirect Memory Access (DMA).pptx
Direct Memory Access (DMA).pptxAbidShahriar3
 
DMA airctecture.pptx
DMA airctecture.pptxDMA airctecture.pptx
DMA airctecture.pptxsuryansh85
 
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.pdfaptex1
 
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.pdfinfo998421
 
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) ghayour abbas
 
Internal components technical
Internal components technicalInternal components technical
Internal components technicalLiamSewell
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257MdFazleRabbi18
 
DMA_document__1696148675.pdf
DMA_document__1696148675.pdfDMA_document__1696148675.pdf
DMA_document__1696148675.pdfmadhav590273
 
DMA Versus Polling or Interrupt Driven I/O
DMA Versus Polling or Interrupt Driven I/ODMA Versus Polling or Interrupt Driven I/O
DMA Versus Polling or Interrupt Driven I/Osathish sak
 
System components presentation
System components presentationSystem components presentation
System components presentationLewisa2011
 

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
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
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
 
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_document__1696148675.pdf
DMA_document__1696148675.pdfDMA_document__1696148675.pdf
DMA_document__1696148675.pdf
 
DMA Versus Polling or Interrupt Driven I/O
DMA Versus Polling or Interrupt Driven I/ODMA Versus Polling or Interrupt Driven I/O
DMA Versus Polling or Interrupt Driven I/O
 
Dma
DmaDma
Dma
 
System components presentation
System components presentationSystem components presentation
System components presentation
 
about architecture.......................
about architecture.......................about architecture.......................
about architecture.......................
 
1 STM32's DMA.ppt
1 STM32's DMA.ppt1 STM32's DMA.ppt
1 STM32's DMA.ppt
 
07 Input Output
07  Input  Output07  Input  Output
07 Input Output
 

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