xMega DMA

real application

Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

xMega DMA

 · 
Gepostet: 10.07.2012 - 16:24 Uhr  ·  #1
Hi all,

I'd like know if the xmega DMA can be really useful in my application.

I need fill a ram area with the values read from an I2C pheripheral
while the cpu should be free to execute other tasks.

I think the pheriperal-to-memory mode should be the one to be used,
but I have read that meanwhile the DMA is working (filling the ram), the cpu running other tasks cannot access different ram areas...

But I think that almost any task need to deal with ram,
So, where is the real advantage of the DMA mode
if a concurrent ram access is not possible ?

Thanks for your comments,
Marco
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: xMega DMA

 · 
Gepostet: 12.07.2012 - 15:30 Uhr  ·  #2
Hello Marco,

it seems that nobody has any XMega DMA experiences.

rolf
Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Re: xMega DMA

 · 
Gepostet: 12.07.2012 - 17:06 Uhr  ·  #3
:-) Hi Rolf
I know it's not a common problem, but I have received some answers on AVRFreaks.

Thanks anyway
Marco
Avra
Schreiberling
Avatar
Geschlecht:
Herkunft: Belgrade, Serbia
Alter: 54
Homepage: rs.linkedin.com/in…
Beiträge: 653
Dabei seit: 07 / 2002
Betreff:

Re: xMega DMA

 · 
Gepostet: 15.07.2012 - 00:55 Uhr  ·  #4
Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Re: xMega DMA

 · 
Gepostet: 15.07.2012 - 10:14 Uhr  ·  #5
Thank you Avra !
useful pieces of code...
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 14 · Cache Hits: 14   92   106 · Page-Gen-Time: 0.039502s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI