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
How does the interrupt architecture works?
What is equ?
What are some examples of anti-patterns?
How does combination of functions reduce memory reuirement in embedded system?
How are macros different from inline functions?
What is your experience with technical documentation?
What is the difference between unit test and integration test?
Can structures be passed to the functions by value?
What is interrupt latency and how can we decrease it?
Would you call yourself a craftsman (craftsperson) and what does that word mean to you?
Explain how to reduce interrupt latency?
What is inversion of control? How does that relate to dependency injection?
What do you do to stay abreast of the latest technologies and tools?
Discuss the differences between mocks and stubs/fakes and where you might use them (answers aren't that important here, just the discussion that would ensue).
Explain me what are the different types of system involved in embedded system?