SlideShare a Scribd company logo
1 of 3
NOOR NABI Microprocessors And Microcontrollers 19-TE-28
ASSIGNMENT # 2 Submitted Date: 17-08-2020 Page 1
Q#1. Define the types of mode in DMA?
Types of modes in DMA:
Mainly there are two basic types of modes in DMA which are as follows:
1. Slave Mode 2. Master Mode
1. Slave Mode:
In slave mode, the 82357 monitors the bus and decodes and responds to I/O read and write
commands that addresses its registers.
When DMA is in mode and serving a DMA slave, it works in conjunction with the bus
controller to create bus cycles on the system bus. [3]
2. MasterMode:
In master mode, the DMA controller is either serving a DMA slave’s request for DMA cycles,
generating refresh cycles, or allowing 16-bit ISA master to use the bus via a cascaded signal.
The DMA places addresses and the memory read/write signal on the host CPU bus. [3]
Q#2. Define conceptof Masterand Slave in Microprocessors andexplain when DMA
controllerwill be in Masterand Slave Mode?
Conceptof MasterSlave in DMA:
A system that has more than one processorand in which one of the processorsis designated as
being the master and all other processors are slaves. The master processoris capable of actions
that the slaves cannot perform. [4]
=>
 Communications based on master/slave model occurs in many places. Some examples are
in database replications, devices connected to a bus in a computer.
 Simply, a master is a device or a process that controls other devices or processes. The
direction of the controlalways flows from master to slave.
 Whereas is a device or a process that is controlled by another device or a process. For
example, in database replication, the database considered as the slave will use the updates
recorded in the master database to synchronize its data with the master. [4]
NOOR NABI Microprocessors And Microcontrollers 19-TE-28
ASSIGNMENT # 2 Submitted Date: 17-08-2020 Page 2
Q#3. Define the modes of DMA Operations?
Basically there are several modes of operations in DMA; three of them are as follows:
Single Byte Operation mode:
When the DMA becomes the bus master, it will transfer only ONE BYTE and return the bus
back to the microprocessor.As soonas the microprocessorperforms one bus cycle, DMAC will
once again take the bus back from the microprocessor. [1]
Block TransferOperationMode:
In this mode, the DMAC is programmed to transfer all the bytes in one complete DMA
operation. After a byte is transferred, the CAR and CWCR are adjusted accordingly. The
system bus is returned, only after all the bytes are transferred. [1]
CascadeOperationMode:
In this mode more than one DMA are cascaded together. It is used to increase the number of
devices interfaced to the µP. Here we have one Master DMAC, to which one or more Slave
DMACs are connected. [1]
Q#4. Define the types of DMA Transfer?
There are three modes of DMA which can be defined as:
Burst mode:
In Burst mode the entire block of data is transferred in one continuous 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 before releasing controlof the system buses back to the CPU. [2]
Transparentmode:
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. In transparent mode, the DMA controller
transfers data only when the CPU is performing operations that do not use the system buses. [2]
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 the same way as in burst mode, using the Bus request and Bus
grant signals, which are the two signals controlling the interface between the CPU and the
DMA controller. [2]
NOOR NABI Microprocessors And Microcontrollers 19-TE-28
ASSIGNMENT # 2 Submitted Date: 17-08-2020 Page 3
REFERENCES:
1. https://www.ques10.com/p/32917
2. https://en.wikipedia.org/wiki/Direct_memory_access
3. http://members.tripod.com/
4. http://www.difference.com

More Related Content

What's hot

What's hot (20)

Lecture2
Lecture2Lecture2
Lecture2
 
DDR
DDRDDR
DDR
 
Static routing : Notes
Static routing : NotesStatic routing : Notes
Static routing : Notes
 
DDR SDRAM : Notes
DDR SDRAM : NotesDDR SDRAM : Notes
DDR SDRAM : Notes
 
DDR2 SDRAM
DDR2 SDRAMDDR2 SDRAM
DDR2 SDRAM
 
Dram and its types
Dram and its typesDram and its types
Dram and its types
 
DDR3 SDRAM : Notes
DDR3 SDRAM : NotesDDR3 SDRAM : Notes
DDR3 SDRAM : Notes
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Bilgisayar Mimarisi 03, Feza BUZLUCA
Bilgisayar Mimarisi 03, Feza BUZLUCABilgisayar Mimarisi 03, Feza BUZLUCA
Bilgisayar Mimarisi 03, Feza BUZLUCA
 
Static and Dynamic Read/Write memories
Static and Dynamic Read/Write memoriesStatic and Dynamic Read/Write memories
Static and Dynamic Read/Write memories
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
 
Data recovery glossary u
Data recovery glossary   uData recovery glossary   u
Data recovery glossary u
 
Linux 802.11 subsystem and brcmsmac WLAN driver
Linux 802.11 subsystem and brcmsmac WLAN driverLinux 802.11 subsystem and brcmsmac WLAN driver
Linux 802.11 subsystem and brcmsmac WLAN driver
 
Introduction of ram ddr3
Introduction of ram ddr3Introduction of ram ddr3
Introduction of ram ddr3
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworld
 
Memory map selection of real time sdram controller using verilog full project...
Memory map selection of real time sdram controller using verilog full project...Memory map selection of real time sdram controller using verilog full project...
Memory map selection of real time sdram controller using verilog full project...
 
L010236974
L010236974L010236974
L010236974
 
SRAM
SRAMSRAM
SRAM
 
GSM Air Interface
GSM Air InterfaceGSM Air Interface
GSM Air Interface
 
Multiple processor (ppt 2010)
Multiple processor (ppt 2010)Multiple processor (ppt 2010)
Multiple processor (ppt 2010)
 

Similar to DMA Controller Modes Of Operation

Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)Zubair Khalid
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)Page Maker
 
Dma data transfer
Dma data transferDma data transfer
Dma data transferchemjor83
 
Dma and dma controller 8237
Dma and dma controller 8237Dma and dma controller 8237
Dma and dma controller 8237Ashwini Awatare
 
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 interfacingDeepak John
 
Computer Organization Video Presentation
Computer Organization Video PresentationComputer Organization Video Presentation
Computer Organization Video PresentationRoshanAmirul
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controllerTech_MX
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA ControllerShivamSood22
 
DMA airctecture.pptx
DMA airctecture.pptxDMA airctecture.pptx
DMA airctecture.pptxsuryansh85
 
Direct Memory Access (DMA).pptx
Direct Memory Access (DMA).pptxDirect Memory Access (DMA).pptx
Direct Memory Access (DMA).pptxAbidShahriar3
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257MdFazleRabbi18
 
Direct memory access
Direct memory accessDirect memory access
Direct memory accessWBUTTUTORIALS
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMAAJAL A J
 

Similar to DMA Controller Modes Of Operation (20)

Direct memory access (dma)
Direct memory access (dma)Direct memory access (dma)
Direct memory access (dma)
 
Direct Memory Access(DMA)
Direct Memory Access(DMA)Direct Memory Access(DMA)
Direct Memory Access(DMA)
 
1 STM32's DMA.ppt
1 STM32's DMA.ppt1 STM32's DMA.ppt
1 STM32's DMA.ppt
 
Dma data transfer
Dma data transferDma data transfer
Dma data transfer
 
DMA operation
DMA operationDMA operation
DMA operation
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Dma and dma controller 8237
Dma and dma controller 8237Dma and dma controller 8237
Dma and dma controller 8237
 
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
 
Computer Organization Video Presentation
Computer Organization Video PresentationComputer Organization Video Presentation
Computer Organization Video Presentation
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
8257 DMA Controller
8257 DMA Controller8257 DMA Controller
8257 DMA Controller
 
DMA airctecture.pptx
DMA airctecture.pptxDMA airctecture.pptx
DMA airctecture.pptx
 
Direct Memory Access (DMA).pptx
Direct Memory Access (DMA).pptxDirect Memory Access (DMA).pptx
Direct Memory Access (DMA).pptx
 
Es notes unit 2
Es notes unit 2Es notes unit 2
Es notes unit 2
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
Direct Memory Access ppt
Direct Memory Access pptDirect Memory Access ppt
Direct Memory Access ppt
 
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
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMA
 

More from Noor Nabi

Cooperative Spectrum Sensing in Cognitive Radio
Cooperative Spectrum Sensing in Cognitive RadioCooperative Spectrum Sensing in Cognitive Radio
Cooperative Spectrum Sensing in Cognitive RadioNoor Nabi
 
Calling Procedure and Channel Mapping in GSM Network
Calling Procedure and Channel Mapping in GSM Network Calling Procedure and Channel Mapping in GSM Network
Calling Procedure and Channel Mapping in GSM Network Noor Nabi
 
The substitute communication media(dilemma)
The substitute communication media(dilemma)The substitute communication media(dilemma)
The substitute communication media(dilemma)Noor Nabi
 
IoT based Tracking System
IoT based Tracking SystemIoT based Tracking System
IoT based Tracking SystemNoor Nabi
 
LAN ARCHITECTURE (LAN Network Design)
LAN ARCHITECTURE (LAN Network Design)LAN ARCHITECTURE (LAN Network Design)
LAN ARCHITECTURE (LAN Network Design)Noor Nabi
 
Transmission Impairment (Attenuation, Distortion, Noise)
Transmission Impairment (Attenuation, Distortion, Noise)Transmission Impairment (Attenuation, Distortion, Noise)
Transmission Impairment (Attenuation, Distortion, Noise)Noor Nabi
 
Purpose of Writing (Inform,Entertain,Persuade)
Purpose of Writing (Inform,Entertain,Persuade)Purpose of Writing (Inform,Entertain,Persuade)
Purpose of Writing (Inform,Entertain,Persuade)Noor Nabi
 
8085 Pin Configuration
8085 Pin Configuration8085 Pin Configuration
8085 Pin ConfigurationNoor Nabi
 

More from Noor Nabi (8)

Cooperative Spectrum Sensing in Cognitive Radio
Cooperative Spectrum Sensing in Cognitive RadioCooperative Spectrum Sensing in Cognitive Radio
Cooperative Spectrum Sensing in Cognitive Radio
 
Calling Procedure and Channel Mapping in GSM Network
Calling Procedure and Channel Mapping in GSM Network Calling Procedure and Channel Mapping in GSM Network
Calling Procedure and Channel Mapping in GSM Network
 
The substitute communication media(dilemma)
The substitute communication media(dilemma)The substitute communication media(dilemma)
The substitute communication media(dilemma)
 
IoT based Tracking System
IoT based Tracking SystemIoT based Tracking System
IoT based Tracking System
 
LAN ARCHITECTURE (LAN Network Design)
LAN ARCHITECTURE (LAN Network Design)LAN ARCHITECTURE (LAN Network Design)
LAN ARCHITECTURE (LAN Network Design)
 
Transmission Impairment (Attenuation, Distortion, Noise)
Transmission Impairment (Attenuation, Distortion, Noise)Transmission Impairment (Attenuation, Distortion, Noise)
Transmission Impairment (Attenuation, Distortion, Noise)
 
Purpose of Writing (Inform,Entertain,Persuade)
Purpose of Writing (Inform,Entertain,Persuade)Purpose of Writing (Inform,Entertain,Persuade)
Purpose of Writing (Inform,Entertain,Persuade)
 
8085 Pin Configuration
8085 Pin Configuration8085 Pin Configuration
8085 Pin Configuration
 

Recently uploaded

VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 

Recently uploaded (20)

VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 

DMA Controller Modes Of Operation

  • 1. NOOR NABI Microprocessors And Microcontrollers 19-TE-28 ASSIGNMENT # 2 Submitted Date: 17-08-2020 Page 1 Q#1. Define the types of mode in DMA? Types of modes in DMA: Mainly there are two basic types of modes in DMA which are as follows: 1. Slave Mode 2. Master Mode 1. Slave Mode: In slave mode, the 82357 monitors the bus and decodes and responds to I/O read and write commands that addresses its registers. When DMA is in mode and serving a DMA slave, it works in conjunction with the bus controller to create bus cycles on the system bus. [3] 2. MasterMode: In master mode, the DMA controller is either serving a DMA slave’s request for DMA cycles, generating refresh cycles, or allowing 16-bit ISA master to use the bus via a cascaded signal. The DMA places addresses and the memory read/write signal on the host CPU bus. [3] Q#2. Define conceptof Masterand Slave in Microprocessors andexplain when DMA controllerwill be in Masterand Slave Mode? Conceptof MasterSlave in DMA: A system that has more than one processorand in which one of the processorsis designated as being the master and all other processors are slaves. The master processoris capable of actions that the slaves cannot perform. [4] =>  Communications based on master/slave model occurs in many places. Some examples are in database replications, devices connected to a bus in a computer.  Simply, a master is a device or a process that controls other devices or processes. The direction of the controlalways flows from master to slave.  Whereas is a device or a process that is controlled by another device or a process. For example, in database replication, the database considered as the slave will use the updates recorded in the master database to synchronize its data with the master. [4]
  • 2. NOOR NABI Microprocessors And Microcontrollers 19-TE-28 ASSIGNMENT # 2 Submitted Date: 17-08-2020 Page 2 Q#3. Define the modes of DMA Operations? Basically there are several modes of operations in DMA; three of them are as follows: Single Byte Operation mode: When the DMA becomes the bus master, it will transfer only ONE BYTE and return the bus back to the microprocessor.As soonas the microprocessorperforms one bus cycle, DMAC will once again take the bus back from the microprocessor. [1] Block TransferOperationMode: In this mode, the DMAC is programmed to transfer all the bytes in one complete DMA operation. After a byte is transferred, the CAR and CWCR are adjusted accordingly. The system bus is returned, only after all the bytes are transferred. [1] CascadeOperationMode: In this mode more than one DMA are cascaded together. It is used to increase the number of devices interfaced to the µP. Here we have one Master DMAC, to which one or more Slave DMACs are connected. [1] Q#4. Define the types of DMA Transfer? There are three modes of DMA which can be defined as: Burst mode: In Burst mode the entire block of data is transferred in one continuous 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 before releasing controlof the system buses back to the CPU. [2] Transparentmode: 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. In transparent mode, the DMA controller transfers data only when the CPU is performing operations that do not use the system buses. [2] 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 the same way as in burst mode, using the Bus request and Bus grant signals, which are the two signals controlling the interface between the CPU and the DMA controller. [2]
  • 3. NOOR NABI Microprocessors And Microcontrollers 19-TE-28 ASSIGNMENT # 2 Submitted Date: 17-08-2020 Page 3 REFERENCES: 1. https://www.ques10.com/p/32917 2. https://en.wikipedia.org/wiki/Direct_memory_access 3. http://members.tripod.com/ 4. http://www.difference.com