LPC5410x : DMA RELOAD 'self'?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC5410x : DMA RELOAD 'self'?

974件の閲覧回数
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 返信

962件の閲覧回数
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 件の賞賛
返信