Introduction to Direct Memory Access (DMA)

preview_player
Показать описание
We've learned how interrupts relieve the CPU of the burden of polling, but what about the data transfer? A DMA will handle that for us. This lesson shows how.

Takeaways: At the completion of this lesson, each student should be able to:
• explain the benefits of direct memory access (DMA),
• describe the process of cycle stealing,
• explain how a cache supports the use of DMA,
• list the four things the DMA needs to complete a transfer, and
• show how different DMA configurations affect the number of memory cycles stolen per data element transfer.

#dma #io #bus
Рекомендации по теме
Комментарии
Автор

Just discovered this channel. Awesome. You're a very good teacher, thank you.

Harko
Автор

Very cool overview about what DMA is! Easy to understand explanation

thuantta
Автор

Wish I found your videos sooner! Good stuff

wtfitsdrewbritton
Автор

Excellent teaching : the what and the why...thanks !

kyrilkaplan
Автор

Excellent video, keep up the good work!

radioactivepeter
Автор

So as I understand, these functions (DMA Channels) are fixed and connected to specific/predefined interfaces like timers, UART or SPI and can be configured only with corresponding interface in order to decries clock cycles for data transfer. In other words I can't choose any random interface on software level and say ok, now do data transfer for ADC for example (if there is no DMA Channel for it).
I think I got it. Thank you.

goodwill
Автор

But sir here we use the arrays that are a run-time storage right, here it's possible for that

subashsuresh
Автор

why DMA have number of channels? Do they help to increase the speed of transfer?

natrua