SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Downloaden Sie, um offline zu lesen
Content
Introduction
What is DMA?
Applications
DMA Channels
Different Modes of DMA operation
Types
DMA Signals
Advantages
Disadvantages
Conclusion
References
Introduction
In many I/O interfacing applications and certainly in data acquisition systems, it is often
necessary to transfer data to or from an interface at data rates higher than those possible
using simple programmed I/O loops.
Microprocessor controlled data transfers within the PC (using the IN (port) and OUT
(port) instructions) require a significant amount of CPU time and are performed at a
significantly reduced data rate.
Further to this, the CPU cannot perform any other processing during program
controlled I/0 operations.
What is DMA ?
The transfer of data between a fast storage device such as magnetic disk and memory is often
limited by the speed of the CPU .
Removing the CPU from the path and letting the peripheral device manage the memory buses
directly would improve the speed of transfer this transfer technique is called Direct
memory access(DMA).
DMA has been a built-in feature of PC architecture since the introduction of the
original IBM PC.
PC-based DMA was used for floppy disk I/O in the original PC and for hard disk
I/O in later versions.
PC-based DMA technology, along with high-speed bus technology, is driven by
data storage, communications, and graphics needs-all of which require the highest
rates of data transfer between system memory and I/O devices.
DMA Channels
The 8237 DMA controller provided by IBM
It includes four independent channels and may be expanded to any
number of channels by cascading additional controller chips.
In the IBM architecture, two DMA controllers are used. One DMA
controller is used for byte transfers, and the second DMA controller
is user for word (16-bit) transfers.
(International Business Machines) is a peripheral interface circuit for
allowing peripheral devices to directly transfer data to or from main
memory.
There are three different modes of DMA operations:
• Continuous DMA
• Cycle stealing
• interleaved DMA
Types
Bus-master DMA devices are by far the most common type of
DMA devices on Windows systems. A bus-master DMA device contains all the
electronics and logic necessary to take control of, or "master," the bus on which it is
located and to autonomously transfer data between the device's buffer and the host's
system memory.
Bus-Master DMA Devices
System DMA devices are vestiges of the original IBM PC design.
These devices rely on a DMA controller chip on the motherboard to
perform data transfers.
System DMA Devices
DMA Signals
DREQO-DREQ3-DMA Request: These are four independent, asynchronous input
Signals to the DMA channels through peripherals such as floppy disks and the hard
disk.
DACKO-DACK3-DMA Acknowledge: These are output lines to inform the
individual peripheral that a DMA is granted, DREQ and DACK are equivalent to
handshake signals in I/O devices.
O AEN and ADSTB-Additives Enable and Address Length:
These are active high output signals that are used to latch a high-order
address byte to generate a 16-bit address.
Advantages
DMA is fast because a dedicated piece of hardware transfers data from one computer
location to another and only one or two bus read/write cycles are required per piece of
data transferred.
DMA is usually required to achieve maximum data transfer speed, and thus is useful for
high speed data acquisition devices.
DMA also minimizes latency in servicing a data acquisition device because the dedicated
hardware responds more quickly than interrupts, and transfer time is short.
Disadvantages
Cost of DMA hardware
DMA is useful only for DATA commands. All non-data commands have to be
executed by CPU.
Data has to be stored in continuous locations in memory.
CPU's intervention is required for initializing
DMA logic for every continuous data block transfer. In other words, DATA
CHAINING is not possible.
Conclusion
National Instruments uses DMA hardware and software technology to achieve high
throughput rates as well as to increase system utilization.
These achievements are accomplished by using a background mechanism of data
transfer that minimizes CPU usage.
Data acquisition users are highly aware of the advantages of background data
acquisition, and DMA solutions have been very popular.
Lab Driver double-buffered data acquisition features are
References
www.oeclib.in
www.google.com
www.wikipedia.com
ppppptttt.pdf

Weitere ähnliche Inhalte

Ähnlich wie ppppptttt.pdf (20)

Cpi unit 01
Cpi unit 01Cpi unit 01
Cpi unit 01
 
DMA presentation [By- Digvijay]
DMA presentation [By- Digvijay]DMA presentation [By- Digvijay]
DMA presentation [By- Digvijay]
 
Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
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
 
DMA airctecture.pptx
DMA airctecture.pptxDMA airctecture.pptx
DMA airctecture.pptx
 
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
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
Dma
DmaDma
Dma
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
DMA
DMADMA
DMA
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecture
 
07 Input Output
07  Input  Output07  Input  Output
07 Input Output
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
DMA_document__1696148675.pdf
DMA_document__1696148675.pdfDMA_document__1696148675.pdf
DMA_document__1696148675.pdf
 
Modes of transfer
Modes of transferModes of transfer
Modes of transfer
 
DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
 
Computer hardware ppt1
Computer hardware ppt1Computer hardware ppt1
Computer hardware ppt1
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 

Kürzlich hochgeladen

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Kürzlich hochgeladen (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

ppppptttt.pdf

  • 1.
  • 2. Content Introduction What is DMA? Applications DMA Channels Different Modes of DMA operation Types DMA Signals Advantages Disadvantages Conclusion References
  • 3. Introduction In many I/O interfacing applications and certainly in data acquisition systems, it is often necessary to transfer data to or from an interface at data rates higher than those possible using simple programmed I/O loops. Microprocessor controlled data transfers within the PC (using the IN (port) and OUT (port) instructions) require a significant amount of CPU time and are performed at a significantly reduced data rate. Further to this, the CPU cannot perform any other processing during program controlled I/0 operations.
  • 4. What is DMA ? The transfer of data between a fast storage device such as magnetic disk and memory is often limited by the speed of the CPU . Removing the CPU from the path and letting the peripheral device manage the memory buses directly would improve the speed of transfer this transfer technique is called Direct memory access(DMA).
  • 5. DMA has been a built-in feature of PC architecture since the introduction of the original IBM PC. PC-based DMA was used for floppy disk I/O in the original PC and for hard disk I/O in later versions. PC-based DMA technology, along with high-speed bus technology, is driven by data storage, communications, and graphics needs-all of which require the highest rates of data transfer between system memory and I/O devices.
  • 6. DMA Channels The 8237 DMA controller provided by IBM It includes four independent channels and may be expanded to any number of channels by cascading additional controller chips. In the IBM architecture, two DMA controllers are used. One DMA controller is used for byte transfers, and the second DMA controller is user for word (16-bit) transfers. (International Business Machines) is a peripheral interface circuit for allowing peripheral devices to directly transfer data to or from main memory.
  • 7. There are three different modes of DMA operations: • Continuous DMA • Cycle stealing • interleaved DMA
  • 8. Types Bus-master DMA devices are by far the most common type of DMA devices on Windows systems. A bus-master DMA device contains all the electronics and logic necessary to take control of, or "master," the bus on which it is located and to autonomously transfer data between the device's buffer and the host's system memory. Bus-Master DMA Devices System DMA devices are vestiges of the original IBM PC design. These devices rely on a DMA controller chip on the motherboard to perform data transfers. System DMA Devices
  • 9. DMA Signals DREQO-DREQ3-DMA Request: These are four independent, asynchronous input Signals to the DMA channels through peripherals such as floppy disks and the hard disk. DACKO-DACK3-DMA Acknowledge: These are output lines to inform the individual peripheral that a DMA is granted, DREQ and DACK are equivalent to handshake signals in I/O devices. O AEN and ADSTB-Additives Enable and Address Length: These are active high output signals that are used to latch a high-order address byte to generate a 16-bit address.
  • 10. Advantages DMA is fast because a dedicated piece of hardware transfers data from one computer location to another and only one or two bus read/write cycles are required per piece of data transferred. DMA is usually required to achieve maximum data transfer speed, and thus is useful for high speed data acquisition devices. DMA also minimizes latency in servicing a data acquisition device because the dedicated hardware responds more quickly than interrupts, and transfer time is short.
  • 11. Disadvantages Cost of DMA hardware DMA is useful only for DATA commands. All non-data commands have to be executed by CPU. Data has to be stored in continuous locations in memory. CPU's intervention is required for initializing DMA logic for every continuous data block transfer. In other words, DATA CHAINING is not possible.
  • 12. Conclusion National Instruments uses DMA hardware and software technology to achieve high throughput rates as well as to increase system utilization. These achievements are accomplished by using a background mechanism of data transfer that minimizes CPU usage. Data acquisition users are highly aware of the advantages of background data acquisition, and DMA solutions have been very popular. Lab Driver double-buffered data acquisition features are