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)

8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
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
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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.
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 

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)