SlideShare a Scribd company logo
1 of 6
Download to read offline
Direct memory Access
• DMA is an abbreviation of direct memory access.
• DMA is a method of data transfer between main memory and
peripheral devices.
• The hardware unit that controls the DMA transfer is a OMA
controller.
• DMA controller transfers the data to and from memory without
the participation of the processor.
CPU
-------.--------
llendaddc uaaoA
•
I
I
I
I
I
I
I
I
eouroe end deatlnaUon t----+----t
endnumbwoAbylas
lotrac...,
OMA
Acknowledge
Requeat bus
NOllfyCPua,
CDfttpll■u,
• The processor provides the start address and the word
count of the data block which is transferred to or from
memory to the DMA controller and frees the bus for DMA
controller to transfer the block of data.
• DMA controller transfers the data block at the faster rate as
data is directly accessed by 1/0 devices and is not required
to pass through the processor which save the clock cycles.
OMA Block diagram
- - ,~ ---,
' ' '
,
RD WR RS DS -
-
Data Data Address Control
counter register register logic
. BG BR INTR
.,
,._;"' ~
OMA
HLDA HOLD
Processor -
-
DMAREQ
-
-
DMAACK
INTR
.
'
1/0device&
0 1
a
D ta~ I
a
Addressbos
nlrolbus
Co
• OMA controller transfers the block of data to and from memory
in three modes
• Single transfer mode
• Block transfer mode
• Demand or burst transfer mode
• OMA can be configured in various ways it can be a part of
individual 1/0 devices, or all the peripherals attached to the
system may share the same OMA controller.
FIGURE Three methods (MODES) ofDMA
ooeratlon: (a) bvte: (b) burst: (c) block.
Rc111c,t
tootnil uf
')~cm
t,,.1,c,
'lrun,rcr
IIIK' h)IC'
Rchn4uih
con1ml1u
m11:n,pru.:a,or
( 0)
Rcquc,1
c11n1111I ol
,y,tcm
1-<u,c)
lr.in,lcr
one h)h:
Rclinqu1-h
control 10
m1croprocc,~
(b)
Rcc1uc,1
control ol
•)•IC'ttl
t>t1,c,
fr11n,tcr
ClllC h)IC
(c)

More Related Content

Similar to 1 q.pdf

Similar to 1 q.pdf (20)

DMA operation
DMA operationDMA operation
DMA operation
 
I/O Interfaces: Bridging the Digital and Physical Worlds
I/O Interfaces: Bridging the Digital and Physical WorldsI/O Interfaces: Bridging the Digital and Physical Worlds
I/O Interfaces: Bridging the Digital and Physical Worlds
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
07 input output
07 input output07 input output
07 input output
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
Programmable dma controller 8237
Programmable dma controller 8237Programmable dma controller 8237
Programmable dma controller 8237
 
DMA
DMADMA
DMA
 
Lecture 39
Lecture 39Lecture 39
Lecture 39
 
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
 
ppppptttt.pdf
ppppptttt.pdfppppptttt.pdf
ppppptttt.pdf
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Direct Memory Access ppt
Direct Memory Access pptDirect Memory Access ppt
Direct Memory Access ppt
 
Direct memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA ControllerDirect memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA Controller
 
DMA Controller Presentation
DMA Controller PresentationDMA Controller Presentation
DMA Controller Presentation
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMA
 
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...
 
DMA
DMADMA
DMA
 
07 input output
07 input output07 input output
07 input output
 
Basic computer architecture
Basic computer architectureBasic computer architecture
Basic computer architecture
 

Recently uploaded

An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

1 q.pdf

  • 1. Direct memory Access • DMA is an abbreviation of direct memory access. • DMA is a method of data transfer between main memory and peripheral devices. • The hardware unit that controls the DMA transfer is a OMA controller. • DMA controller transfers the data to and from memory without the participation of the processor.
  • 2. CPU -------.-------- llendaddc uaaoA • I I I I I I I I eouroe end deatlnaUon t----+----t endnumbwoAbylas lotrac..., OMA Acknowledge Requeat bus NOllfyCPua, CDfttpll■u,
  • 3. • The processor provides the start address and the word count of the data block which is transferred to or from memory to the DMA controller and frees the bus for DMA controller to transfer the block of data. • DMA controller transfers the data block at the faster rate as data is directly accessed by 1/0 devices and is not required to pass through the processor which save the clock cycles.
  • 4. OMA Block diagram - - ,~ ---, ' ' ' , RD WR RS DS - - Data Data Address Control counter register register logic . BG BR INTR ., ,._;"' ~ OMA HLDA HOLD Processor - - DMAREQ - - DMAACK INTR . ' 1/0device& 0 1 a D ta~ I a Addressbos nlrolbus Co
  • 5. • OMA controller transfers the block of data to and from memory in three modes • Single transfer mode • Block transfer mode • Demand or burst transfer mode • OMA can be configured in various ways it can be a part of individual 1/0 devices, or all the peripherals attached to the system may share the same OMA controller.
  • 6. FIGURE Three methods (MODES) ofDMA ooeratlon: (a) bvte: (b) burst: (c) block. Rc111c,t tootnil uf ')~cm t,,.1,c, 'lrun,rcr IIIK' h)IC' Rchn4uih con1ml1u m11:n,pru.:a,or ( 0) Rcquc,1 c11n1111I ol ,y,tcm 1-<u,c) lr.in,lcr one h)h: Rclinqu1-h control 10 m1croprocc,~ (b) Rcc1uc,1 control ol •)•IC'ttl t>t1,c, fr11n,tcr ClllC h)IC (c)