For faster navigation, this Iframe is preloading the Wikiwand page for DMA (informàtica).

DMA (informàtica)

DMA (Direct Memory Access) o Accés directe a memòria, és un mètode de transferència de dades que permet a qualsevol perifèric (port E/S, UART, ADC, disc dur, etc) d'accedir a la memòria RAM del sistema electrònic sense haver d'emprar el microprocessador.[1]D'aquesta manera s'aconsegueix major velocitat d'accés i alhora alliberar el microprocessador per a altres tasques. Una transferència DMA consisteix principalment a copiar un bloc de memòria d'un dispositiu a un altre.[2]

Molts sistemes de maquinari empren el sistema DMA, incloent-hi els controladors d'unitat de disc, targetes gràfiques, targetes de so, targetes Ethernet, targetes Wi-Fi, etc.

Modes d'operació

[modifica]

Mode ràfega

[modifica]

El bloc de memòria és transferit d'un sol cop. És el mètode més ràpid però durant la transferència la CPU resta inactiva.

Mode robatori de cicle

[modifica]

El bloc de memòria és transferit byte a byte, o sigui, la CPU i el DMA s'alternen l'accés als busos del sistema. Aquest mètode no és tan ràpid com el mode ràfega.

Mode transparent

[modifica]

El bloc de memòria és transferit quan la CPU no necessita els busos del sistema. Aquest mètode no ocupa temps de CPU però la transferència pot ser la més lenta.

Exemples de bus que empren DMA

[modifica]

Referències

[modifica]
  1. «Informació sobre el bus DMA» (en anglès). Arxivat de l'original el 2020-09-18. [Consulta: 28 novembre 2016].
  2. «Introducció al DMA» (en anglès). [Consulta: 28 novembre 2016].
{{bottomLinkPreText}} {{bottomLinkText}}
DMA (informàtica)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?