DMA deals with which address (physical/virtual addresses) ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / gladiator
Slight correction
MMU converts virtual addresses to physical addresses using
help from TLB
Is This Answer Correct ? | 10 Yes | 1 No |
If your database was under a lot of strain, what are the first few things you might consider to speed it up?
Tell me how are macros different from inline functions?
Explain the difference between "set" logic, and "procedural" logic. When would you use each one and why?
How to reduce function call overhead in arm based systems
What does malloc do? What will happen if we have a statement like malloc(sizeof(0));
What are the different types of buses used by the embedded systems?
Who are the gang of four? Why should you care?
Tell me what is microcontroller?
How can you stop your dba from making off with a list of your users’ passwords?
Explain some of the commonly found errors in embedded systems?
Why is it better to use multi-threading polling instead of a single threading model?
Tell me what is top half & bottom half of a kernel?