LPC5410x : DMA RELOAD 'self'?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC5410x : DMA RELOAD 'self'?

976 次查看
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 项奖励
回复
1 回复

964 次查看
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 项奖励
回复