Medium Microprocessors & Microcontrollers Memory & I/O
What is DMA and how does it improve system performance?
Answer
DMA (Direct Memory Access) transfers data between memory and peripherals without CPU intervention. The DMA controller handles transfers while CPU executes code. Process: CPU configures DMA (source, destination, count), DMA performs transfer using bus during CPU idle cycles or bus arbitration, DMA signals completion via interrupt. Benefits: Reduces CPU overhead, enables higher throughput, and improves power efficiency. Use cases: ADC buffer filling, UART data transfer, SPI/I2C bulk transfers, and memory-to-memory copying. Modern MCUs have multiple DMA channels with priority and chaining.
IIT Certified
Master These Concepts with IIT Certification
175+ hours of industry projects. Get placed at Bosch, Tata Motors, L&T and 500+ companies.
Relevant for Roles
Embedded Engineer Firmware Developer Hardware Engineer