LPC5410x : DMA RELOAD 'self'?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC5410x : DMA RELOAD 'self'?

602 Views
BTaylor
Contributor III

When setting up a DMA channel descriptor, is there any reason that you cannot use the 'next' field of the descriptor to point back to itself so that the descriptor reloads itself every time it is exhausted? Is this the recommended way to achieve this type of 'self reloading' behavior?

For example:

DMA_CHDESC_T dmaDesc;
...
dmaDesc.next = DMA_ADDR(&dmaDesc);
0 Kudos
1 Reply

590 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @BTaylor,

I think a better approach for this is using a ping-pong transfer. For more information about this check the 12.5.4  section of the reference manual and the following community post.

Best Regards,

Alexis Andalon

0 Kudos