SlideShare ist ein Scribd-Unternehmen logo
1 von 12
PROGRAMMABLE DMA CONTROLLER 8237
PREPARED BY
B.SARAVANAMANIKANDAN
ASSISTANTPROFESSOR
Kongunadu college of engineering and technology
PIN DIAGRAM
KNCET EEE DEPARTMENT
DIRECT MEMORY ACCESS
• The ability of an I/O sub system is to transfer data to and from
memory subsystem which is used for high speed data transfer.
DMA CONTROLLER
• It is a device that can control data transfer between an I/O
subsystem and a memory subsystem without help of the CPU
DMA OPERATIONS
• Once interface is ready to receive data, DMA request is made.
• Bus request is made by the DMA.
• Bus grant is returned by the processor.
• DMA place address on the address bus.
• DMA request is acknowledged.
• Memory places data on the data bus.
• Interfaces latches data.
• Bus request is dropped and control is returned to the processor.
• Bus grant is dropped b the processor
KNCET EEE DEPARTMENT
Features of 8237
• Enable / Disable control of individual DMA request.
• Four independent DMA cannels-CH0,CH1,CH2 and CH3.
• Independent auto initialization of all channels
• Memory to memory transfer
• Memory block initialization
• Address increment or decrement
• High speed performance transfer up to 1.6
• Directly expandable to any number of channels
• Software DMA requests
• Independent polarity control for DRQ and DACK signals
KNCET EEE DEPARTMENT
BLOCK DIAGRAM
KNCET EEE DEPARTMENT
Block diagram of 8257
Data bus buffer:
• It is a 8 bit bidirectional bus with 8 bit buffer which interfaces the
8257 to the system data bus.
• In slave mode it is used to transfer data between microprocessor and
internal registers of 8257
• In master mode it is used to send higher byte address (A8-A15) on
the data bus.
Read/Write Logic:
• When the microprocessor is programming or reading one of the
internal register of 8257, the Read/Write logic accepts the I/O read or
I/O write signal.
• Decodes the LSB(A0-A3) and either writes the contents of the data
bus into the addressed register
KNCET EEE DEPARTMENT
• During DMA cycle master mode the Read/Write logic generates the
I/O read and memory write (DMA write machine cycle) or I/O write
and Memory read signal which control the data transfer between
peripheral and memory device.
DMA Channels:
• The DMA provides four identical cannels labeled CH0, CH1,CH2 and
CH3.Each channel has two 16 bit register.
i) DMA address register
ii) Terminal Count Register
DMA address register
It specifies the first memory location to be accessed. It is necessary
to load valid memory address in the DMA address register before
channel is enabled.
KNCET EEE DEPARTMENT
Terminal Count Register
• The value loaded into the lower order 14 bits (C10-C0) of TCR
specifies the number of DMA cycles minus (N-1) before TC output is
activated
• For N number of desired DMA cycles it is necessary to load the value
N-1 into the lower order 14 bits of the TCR.
• The MSB 2 bit specifies the type of the operation to be performed.
KNCET EEE DEPARTMENT
Control Logic:
• It controls the sequence of operations during all machine cycles by
generating the appropriate control signals and the 16 bit address
specifies the memory location to be accessed.
• It consist of mode set register and Status
• Mode set register is programmed by the CPU to configure 8257 where as
status is read by the CPU to check which channels have reached the
terminal count condition and status update flag.
Mode Set Register:
LSB 4 bits are enable 4 DMA channels
MSB 4 bits are the enable auto load, TC stop, Extended wire, Rotating
priority
KNCET EEE DEPARTMENT
STATUS REGISTER:
KNCET EEE DEPARTMENT
Priority Resolver:
• It resolves the peripherals request. It can be
programmed to work in two modes either in fixed
mode or rotating priority mode
KNCET EEE DEPARTMENT
KNCET EEE DEPARTMENT

Weitere ähnliche Inhalte

Was ist angesagt?

T-states in microprocessor 8085
T-states in microprocessor 8085T-states in microprocessor 8085
T-states in microprocessor 8085yedles
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Jismy .K.Jose
 
8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijayVijay Kumar
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMAAJAL A J
 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycleutsav_shah
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086Mahalakshmiv11
 
Intel 8257 programmable dma controller
Intel 8257 programmable dma controllerIntel 8257 programmable dma controller
Intel 8257 programmable dma controllerabdulugc
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1deval patel
 
Assemblers: Ch03
Assemblers: Ch03Assemblers: Ch03
Assemblers: Ch03desta_gebre
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIDot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIAmit Kumer Podder
 
Data transfer techniques 8085
Data transfer techniques 8085Data transfer techniques 8085
Data transfer techniques 8085ShivamSood22
 

Was ist angesagt? (20)

DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
 
Direct Memory Access
Direct Memory AccessDirect Memory Access
Direct Memory Access
 
Instruction formats-in-8086
Instruction formats-in-8086Instruction formats-in-8086
Instruction formats-in-8086
 
T-states in microprocessor 8085
T-states in microprocessor 8085T-states in microprocessor 8085
T-states in microprocessor 8085
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
Dma
DmaDma
Dma
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay8254 Programmable Interval Timer by vijay
8254 Programmable Interval Timer by vijay
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMA
 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycle
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086
 
Intel 8257 programmable dma controller
Intel 8257 programmable dma controllerIntel 8257 programmable dma controller
Intel 8257 programmable dma controller
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
DMA presentation [By- Digvijay]
DMA presentation [By- Digvijay]DMA presentation [By- Digvijay]
DMA presentation [By- Digvijay]
 
Assemblers: Ch03
Assemblers: Ch03Assemblers: Ch03
Assemblers: Ch03
 
Unit 5
Unit 5Unit 5
Unit 5
 
Dot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPIDot Matrix LED Interfacing using 8255 PPI
Dot Matrix LED Interfacing using 8255 PPI
 
Data transfer techniques 8085
Data transfer techniques 8085Data transfer techniques 8085
Data transfer techniques 8085
 
Interface
InterfaceInterface
Interface
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 

Ähnlich wie Programmable dma controller 8237

Ppt micro fianle (1)
Ppt micro fianle (1)Ppt micro fianle (1)
Ppt micro fianle (1)Pavni Gairola
 
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
 
Intel 8257 programmable dma controller
Intel 8257 programmable dma controllerIntel 8257 programmable dma controller
Intel 8257 programmable dma controllerafzal ahmad
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257MdFazleRabbi18
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Dma and dma controller 8237
Dma and dma controller 8237Dma and dma controller 8237
Dma and dma controller 8237Ashwini Awatare
 
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 ControllerMuhammed Afsal Villan
 
8251 -USART.pptx
8251 -USART.pptx8251 -USART.pptx
8251 -USART.pptxVikasMahor3
 
MPI UNIT 4 - (Introduction to DMA and ADC)
MPI UNIT 4 - (Introduction to DMA and ADC)MPI UNIT 4 - (Introduction to DMA and ADC)
MPI UNIT 4 - (Introduction to DMA and ADC)RaviKiranVarma4
 
UNIT 2 8086 System Bus Structure.pptx
UNIT 2 8086 System Bus Structure.pptxUNIT 2 8086 System Bus Structure.pptx
UNIT 2 8086 System Bus Structure.pptxGowrishankar C
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-IIIDr.YNM
 
eMMC Embedded Multimedia Card overview
eMMC Embedded Multimedia Card overvieweMMC Embedded Multimedia Card overview
eMMC Embedded Multimedia Card overviewVijayGESYS
 
24. direct memory access
24. direct memory access24. direct memory access
24. direct memory accesssandip das
 
8251 a usart programmable communication interface(1)
8251 a usart   programmable communication interface(1)8251 a usart   programmable communication interface(1)
8251 a usart programmable communication interface(1)divyangpit
 
Direct Memory Access_Unit 5.pptx
Direct Memory Access_Unit 5.pptxDirect Memory Access_Unit 5.pptx
Direct Memory Access_Unit 5.pptxGovindJha93
 
3 ijcmes dec-2015-27-simulation of 8257 direct memory access controller (dma)...
3 ijcmes dec-2015-27-simulation of 8257 direct memory access controller (dma)...3 ijcmes dec-2015-27-simulation of 8257 direct memory access controller (dma)...
3 ijcmes dec-2015-27-simulation of 8257 direct memory access controller (dma)...INFOGAIN PUBLICATION
 

Ähnlich wie Programmable dma controller 8237 (20)

Ppt micro fianle (1)
Ppt micro fianle (1)Ppt micro fianle (1)
Ppt micro fianle (1)
 
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
 
Intel 8257 programmable dma controller
Intel 8257 programmable dma controllerIntel 8257 programmable dma controller
Intel 8257 programmable dma controller
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
DMA
DMADMA
DMA
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
Dma and dma controller 8237
Dma and dma controller 8237Dma and dma controller 8237
Dma and dma controller 8237
 
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
 
8251 -USART.pptx
8251 -USART.pptx8251 -USART.pptx
8251 -USART.pptx
 
MPI UNIT 4 - (Introduction to DMA and ADC)
MPI UNIT 4 - (Introduction to DMA and ADC)MPI UNIT 4 - (Introduction to DMA and ADC)
MPI UNIT 4 - (Introduction to DMA and ADC)
 
UNIT 2 8086 System Bus Structure.pptx
UNIT 2 8086 System Bus Structure.pptxUNIT 2 8086 System Bus Structure.pptx
UNIT 2 8086 System Bus Structure.pptx
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-III
 
eMMC Embedded Multimedia Card overview
eMMC Embedded Multimedia Card overvieweMMC Embedded Multimedia Card overview
eMMC Embedded Multimedia Card overview
 
24. direct memory access
24. direct memory access24. direct memory access
24. direct memory access
 
8251 a usart programmable communication interface(1)
8251 a usart   programmable communication interface(1)8251 a usart   programmable communication interface(1)
8251 a usart programmable communication interface(1)
 
Direct Memory Access_Unit 5.pptx
Direct Memory Access_Unit 5.pptxDirect Memory Access_Unit 5.pptx
Direct Memory Access_Unit 5.pptx
 
8279nptel
8279nptel 8279nptel
8279nptel
 
3 ijcmes dec-2015-27-simulation of 8257 direct memory access controller (dma)...
3 ijcmes dec-2015-27-simulation of 8257 direct memory access controller (dma)...3 ijcmes dec-2015-27-simulation of 8257 direct memory access controller (dma)...
3 ijcmes dec-2015-27-simulation of 8257 direct memory access controller (dma)...
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 

Mehr von saravanamanikandan02 (6)

8051 port configuration
8051 port configuration8051 port configuration
8051 port configuration
 
Timers of 8051
Timers of 8051Timers of 8051
Timers of 8051
 
DATA TRANSFER SCHEMES OF 8085
DATA TRANSFER SCHEMES OF 8085DATA TRANSFER SCHEMES OF 8085
DATA TRANSFER SCHEMES OF 8085
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Machine cycles
Machine cyclesMachine cycles
Machine cycles
 
Usart 8251
Usart 8251Usart 8251
Usart 8251
 

Kürzlich hochgeladen

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
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
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 

Kürzlich hochgeladen (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
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...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 

Programmable dma controller 8237

  • 1. PROGRAMMABLE DMA CONTROLLER 8237 PREPARED BY B.SARAVANAMANIKANDAN ASSISTANTPROFESSOR Kongunadu college of engineering and technology
  • 3. DIRECT MEMORY ACCESS • The ability of an I/O sub system is to transfer data to and from memory subsystem which is used for high speed data transfer. DMA CONTROLLER • It is a device that can control data transfer between an I/O subsystem and a memory subsystem without help of the CPU DMA OPERATIONS • Once interface is ready to receive data, DMA request is made. • Bus request is made by the DMA. • Bus grant is returned by the processor. • DMA place address on the address bus. • DMA request is acknowledged. • Memory places data on the data bus. • Interfaces latches data. • Bus request is dropped and control is returned to the processor. • Bus grant is dropped b the processor KNCET EEE DEPARTMENT
  • 4. Features of 8237 • Enable / Disable control of individual DMA request. • Four independent DMA cannels-CH0,CH1,CH2 and CH3. • Independent auto initialization of all channels • Memory to memory transfer • Memory block initialization • Address increment or decrement • High speed performance transfer up to 1.6 • Directly expandable to any number of channels • Software DMA requests • Independent polarity control for DRQ and DACK signals KNCET EEE DEPARTMENT
  • 6. Block diagram of 8257 Data bus buffer: • It is a 8 bit bidirectional bus with 8 bit buffer which interfaces the 8257 to the system data bus. • In slave mode it is used to transfer data between microprocessor and internal registers of 8257 • In master mode it is used to send higher byte address (A8-A15) on the data bus. Read/Write Logic: • When the microprocessor is programming or reading one of the internal register of 8257, the Read/Write logic accepts the I/O read or I/O write signal. • Decodes the LSB(A0-A3) and either writes the contents of the data bus into the addressed register KNCET EEE DEPARTMENT
  • 7. • During DMA cycle master mode the Read/Write logic generates the I/O read and memory write (DMA write machine cycle) or I/O write and Memory read signal which control the data transfer between peripheral and memory device. DMA Channels: • The DMA provides four identical cannels labeled CH0, CH1,CH2 and CH3.Each channel has two 16 bit register. i) DMA address register ii) Terminal Count Register DMA address register It specifies the first memory location to be accessed. It is necessary to load valid memory address in the DMA address register before channel is enabled. KNCET EEE DEPARTMENT
  • 8. Terminal Count Register • The value loaded into the lower order 14 bits (C10-C0) of TCR specifies the number of DMA cycles minus (N-1) before TC output is activated • For N number of desired DMA cycles it is necessary to load the value N-1 into the lower order 14 bits of the TCR. • The MSB 2 bit specifies the type of the operation to be performed. KNCET EEE DEPARTMENT
  • 9. Control Logic: • It controls the sequence of operations during all machine cycles by generating the appropriate control signals and the 16 bit address specifies the memory location to be accessed. • It consist of mode set register and Status • Mode set register is programmed by the CPU to configure 8257 where as status is read by the CPU to check which channels have reached the terminal count condition and status update flag. Mode Set Register: LSB 4 bits are enable 4 DMA channels MSB 4 bits are the enable auto load, TC stop, Extended wire, Rotating priority KNCET EEE DEPARTMENT
  • 11. Priority Resolver: • It resolves the peripherals request. It can be programmed to work in two modes either in fixed mode or rotating priority mode KNCET EEE DEPARTMENT