xMega DMA

real application

Marco
Benutzer
Avatar
Gender: n/a
Location: Italy
Posts: 270
Registered: 10 / 2004
Subject:

xMega DMA

 · 
Posted: 10.07.2012 - 16:24  ·  #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
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: xMega DMA

 · 
Posted: 12.07.2012 - 15:30  ·  #2
Hello Marco,

it seems that nobody has any XMega DMA experiences.

rolf
Marco
Benutzer
Avatar
Gender: n/a
Location: Italy
Posts: 270
Registered: 10 / 2004
Subject:

Re: xMega DMA

 · 
Posted: 12.07.2012 - 17:06  ·  #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
Gender:
Location: Belgrade, Serbia
Age: 53
Homepage: rs.linkedin.com/in…
Posts: 653
Registered: 07 / 2002
Subject:

Re: xMega DMA

 · 
Posted: 15.07.2012 - 00:55  ·  #4
Marco
Benutzer
Avatar
Gender: n/a
Location: Italy
Posts: 270
Registered: 10 / 2004
Subject:

Re: xMega DMA

 · 
Posted: 15.07.2012 - 10:14  ·  #5
Thank you Avra !
useful pieces of code...
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   92   106 · Page-Gen-Time: 0.04708s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI