DMA deals with which address (physical/virtual addresses)?
Submitted by: AdministratorDMA deals with Physical addresses.
Only when CPU accesses addresses it refers to MMU(Memory
Management Unit) and MMU converts the Physical address to
Virtual address.
But, DMA controller is a device which directly drives the
data and address bus during data transfer. So, it is purely
Physical address. (It never needs to go through MMU &
Virtual addresses).
That is why when writing the device drivers, the physical
address of the data buffer has to be assigned to the DMA.
Submitted by: Administrator
Only when CPU accesses addresses it refers to MMU(Memory
Management Unit) and MMU converts the Physical address to
Virtual address.
But, DMA controller is a device which directly drives the
data and address bus during data transfer. So, it is purely
Physical address. (It never needs to go through MMU &
Virtual addresses).
That is why when writing the device drivers, the physical
address of the data buffer has to be assigned to the DMA.
Submitted by: Administrator
Read Online Embedded System Job Interview Questions And Answers
Top Embedded System Questions
☺ | While writing interrupt handlers (ISR), which are points needed to be considered? |
☺ | Can we use semaphore or mutex or spin lock in interrupt context in linux kernel? |
☺ | Write a code in C / Verilog to implement a basic FIR filter? |
☺ | DMA deals with which address (physical/virtual addresses)? |
Top Computer Embedded Systems Categories
☺ | DSP Interview Questions. |
☺ | Embedded System Interview Questions. |
☺ | Very-large-scale integration (VLSI) Interview Questions. |
☺ | 86 Family Interview Questions. |