DMA deals with which address (physical/virtual addresses) ?
Answer Posted / embeddedmatters
DMA 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.
Is This Answer Correct ? | 26 Yes | 3 No |
Post New Answer View All Answers
Tell me what are the different types of customizations that is used with the “volatile” keyword?
What are the uses of the keyword volatile?
What is a semaphore? What are the different types of semaphore?
How can you reduce memory requirements in embedded systems?
Explain what are the essential components of embedded system?
What's the difference between unit test and integration test?
What is rtos in an embedded system?
What trade offs do you have for resource contention?
What is the need for having multibyte data input and output buffers in case of device ports?
What is continuous integration? Have you used it and why is it important?
Tell me can you have constant volatile variables?
Write a constant time consuming statement lot finding out if a given number is a power of 2?
Explain the difference between "set" logic, and "procedural" logic.
Explain me what are the rules followed by mutexes?
What is interrupt latency and how can we decrease it?