SlideShare a Scribd company logo
DMA Controller
Module 5. Input and
output Organization
By
Ananta patekar.
Aditya pokharker.
Shubham kuwar.
Types of data transfer mode
• Programmed I/O
• Interrupt driven I/O
• DMA (Direct Memory Access)
]
Programmed I/O
• Operation:-
1. Address the Device.
2. Check its status.
3. IF ready
perform operation
else
check another device
Interrupt driven I/O
• Operation:-
• Device interrupt’s CPU
• CPU acknowledge the
I/O device.
• CPU perform operation
Direct Memory Access
• Operation:-
• CPU call DMA for
operation
• It will allow the device to
access memory directly.
Need of DMA
• DMA, or Direct Memory Access, is a sub controller
that can access memory in sequential order without
intervention from the processor. DMA is used to
moving around large amounts of data in the
computer without taking time away from the
processor.
• The first major uses of DMA included drive
controllers and sound cards.
Basic operation’s of DMA
• DMA provide direct access to memory.
• For fast operation DMA work as a bus master.
• Direct Memory Access is a method of transferring
data between peripherals and memory without using
the CPU.
DMA Data Transfer
• It is data transfer technique directly between memory
and I/O without CPU intervention.
• Under the supervision of extra hardware called
DMA controller .
• Fastest type of data transfer technique among this
parallel group.
DMA Data Transfer
• 1. The I/O device asserts DRQ signal.
• 2. DMA controller send HOLD signal to
microprocessor
• 3. microprocessor Send HLDA to DMA Controller& DMA
Takes charge of system bus.
• 4. DMA give DMA ACK(back) signal to I/O devices
• 5.now, DMA controller places memory address on address bus
and data bytes from memory transfer to I/O .
• 6.DMA Controller updates memory address register and word
count register.
• 7. when internal count = 0 then DMA Controller sets
HOLD=0
• 8. now processor regain the charge od the system bus which
continues the normal operation.
Types DMA based data transfer
techniques
• Byte /cycle stealing mode.
• Burst /demand mode.
• Continuous / block mode.
Byte /cycle stealing mode.
Burst /demand mode.
Continuous / block mode.
Questions
1) Q. Write short note on DMA/programmed i/o and
interrupt i/o?
M[15]
2) Q. Explain in brief DMA data transfer techniques
with diagram?
M[10 ]
Direct memory access

More Related Content

What's hot

Modes of transfer
Modes of transferModes of transfer
Modes of transfer
Andhra University
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
Shah Ishtiyaq Mehfooze
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
Tuqa Rmahi
 
Computer system bus
Computer system busComputer system bus
Computer system bus
Goran W. Hama Ali
 
Dma transfer
Dma transferDma transfer
Dma transfergmnithya
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
SharmilaChidaravalli
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
Roshan kumar sahu
 
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
MOHIT AGARWAL
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
Deepak John
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer Organization
Om Prakash
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
Mazin Alwaaly
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
PreethiSureshkumar1
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controllerTech_MX
 
Cache memory
Cache memoryCache memory
Cache memoryAnuj Modi
 
ROM(Read Only Memory )
ROM(Read Only Memory )ROM(Read Only Memory )
ROM(Read Only Memory )
rohitladdu
 
Input output interface
Input output interfaceInput output interface
Input output interface
Christ University
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
Ruchi Maurya
 
Direct Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and ImplementationDirect Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and Implementation
Shubham Kumar
 

What's hot (20)

Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Computer system bus
Computer system busComputer system bus
Computer system bus
 
Dma transfer
Dma transferDma transfer
Dma transfer
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
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
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
IO Techniques in Computer Organization
IO Techniques in Computer OrganizationIO Techniques in Computer Organization
IO Techniques in Computer Organization
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Data transferschemes
Data transferschemesData transferschemes
Data transferschemes
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
Cache memory
Cache memoryCache memory
Cache memory
 
ROM(Read Only Memory )
ROM(Read Only Memory )ROM(Read Only Memory )
ROM(Read Only Memory )
 
Input output interface
Input output interfaceInput output interface
Input output interface
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
 
Direct Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and ImplementationDirect Memory Access (DMA)-Working and Implementation
Direct Memory Access (DMA)-Working and Implementation
 

Similar to Direct memory access

DMA Controller Presentation
DMA Controller PresentationDMA Controller Presentation
DMA Controller Presentation
WaddaMalik
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
maliksiddique1
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
JavedIqbal549896
 
A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...
rsaravanakumar13
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
WBUTTUTORIALS
 
Direct Memory Access (DMA).pptx
Direct Memory Access (DMA).pptxDirect Memory Access (DMA).pptx
Direct Memory Access (DMA).pptx
AbidShahriar3
 
RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
RIO DE JENERIO.pptxUIYYGUGUYUYGYGUYGUYGUYUYGUYGUYGUYGYUYG87H3IH8IU34THTGYGUYG...
Kashinathvpillai
 
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhjfathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
fathima.pptxjhvjhvjhvjhvhvjhchvhvjvjhvjhj
Kashinathvpillai
 
coadma-150401131446-conversion-gate01.pptx
coadma-150401131446-conversion-gate01.pptxcoadma-150401131446-conversion-gate01.pptx
coadma-150401131446-conversion-gate01.pptx
Kashinathvpillai
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacing
Deepak John
 
I/o management and disk scheduling .pptx
I/o management and disk scheduling .pptxI/o management and disk scheduling .pptx
I/o management and disk scheduling .pptx
webip34973
 
Ch 7 io_management & disk scheduling
Ch 7 io_management & disk schedulingCh 7 io_management & disk scheduling
Ch 7 io_management & disk scheduling
madhuributani
 
computer system structure
computer system structurecomputer system structure
computer system structure
HAMZA AHMED
 
ch -6 IO.pptx
ch -6 IO.pptxch -6 IO.pptx
ch -6 IO.pptx
GadisaKanchora1
 
I/O systems chapter 12 OS
I/O systems chapter 12 OS I/O systems chapter 12 OS
I/O systems chapter 12 OS
ssuser45ae56
 
Unit v: Device Management
Unit v: Device ManagementUnit v: Device Management
Unit v: Device Management
Arnav Chowdhury
 
I/O Management
I/O ManagementI/O Management
I/O Management
Keyur Vadodariya
 
1 q.pdf
1 q.pdf1 q.pdf
1 q.pdf
Abishek86232
 

Similar to Direct memory access (20)

DMA Controller Presentation
DMA Controller PresentationDMA Controller Presentation
DMA Controller Presentation
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...A transfer from I/O device to memory requires the execution of several instru...
A transfer from I/O device to memory requires the execution of several instru...
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
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
 
Module 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacingModule 3 special purpose programmable devices and their interfacing
Module 3 special purpose programmable devices and their interfacing
 
I/o management and disk scheduling .pptx
I/o management and disk scheduling .pptxI/o management and disk scheduling .pptx
I/o management and disk scheduling .pptx
 
07 input output
07 input output07 input output
07 input output
 
Ch 7 io_management & disk scheduling
Ch 7 io_management & disk schedulingCh 7 io_management & disk scheduling
Ch 7 io_management & disk scheduling
 
computer system structure
computer system structurecomputer system structure
computer system structure
 
ch -6 IO.pptx
ch -6 IO.pptxch -6 IO.pptx
ch -6 IO.pptx
 
ppppptttt.pdf
ppppptttt.pdfppppptttt.pdf
ppppptttt.pdf
 
I/O systems chapter 12 OS
I/O systems chapter 12 OS I/O systems chapter 12 OS
I/O systems chapter 12 OS
 
Unit v: Device Management
Unit v: Device ManagementUnit v: Device Management
Unit v: Device Management
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
1 q.pdf
1 q.pdf1 q.pdf
1 q.pdf
 

Recently uploaded

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 

Recently uploaded (20)

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 

Direct memory access

  • 1. DMA Controller Module 5. Input and output Organization By Ananta patekar. Aditya pokharker. Shubham kuwar.
  • 2. Types of data transfer mode • Programmed I/O • Interrupt driven I/O • DMA (Direct Memory Access) ]
  • 3. Programmed I/O • Operation:- 1. Address the Device. 2. Check its status. 3. IF ready perform operation else check another device
  • 4. Interrupt driven I/O • Operation:- • Device interrupt’s CPU • CPU acknowledge the I/O device. • CPU perform operation
  • 5. Direct Memory Access • Operation:- • CPU call DMA for operation • It will allow the device to access memory directly.
  • 6. Need of DMA • DMA, or Direct Memory Access, is a sub controller that can access memory in sequential order without intervention from the processor. DMA is used to moving around large amounts of data in the computer without taking time away from the processor. • The first major uses of DMA included drive controllers and sound cards.
  • 7. Basic operation’s of DMA • DMA provide direct access to memory. • For fast operation DMA work as a bus master. • Direct Memory Access is a method of transferring data between peripherals and memory without using the CPU.
  • 8. DMA Data Transfer • It is data transfer technique directly between memory and I/O without CPU intervention. • Under the supervision of extra hardware called DMA controller . • Fastest type of data transfer technique among this parallel group.
  • 10. • 1. The I/O device asserts DRQ signal. • 2. DMA controller send HOLD signal to microprocessor • 3. microprocessor Send HLDA to DMA Controller& DMA Takes charge of system bus. • 4. DMA give DMA ACK(back) signal to I/O devices • 5.now, DMA controller places memory address on address bus and data bytes from memory transfer to I/O . • 6.DMA Controller updates memory address register and word count register. • 7. when internal count = 0 then DMA Controller sets HOLD=0 • 8. now processor regain the charge od the system bus which continues the normal operation.
  • 11. Types DMA based data transfer techniques • Byte /cycle stealing mode. • Burst /demand mode. • Continuous / block mode.
  • 15. Questions 1) Q. Write short note on DMA/programmed i/o and interrupt i/o? M[15] 2) Q. Explain in brief DMA data transfer techniques with diagram? M[10 ]