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
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