Can I insert a callback function between DMA descriptor

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

Can I insert a callback function between DMA descriptor

637件の閲覧回数
AmberLin
Contributor II

Hi Community,

I'm using LPC55S28-EVK.

I tried the SDK example lpcxpresso55s28_dma_linked_transfer which is a DMA ping-pong transfer example, and found that it enters callback function when "all" descriptor exhausted.

Is there any method to enter a callback function when each descriptor exhausted? I need to ensure a descriptor is finished and do something before next descriptor start.

 

Best Regards.

Amber Lin.

ラベル(1)
0 件の賞賛
返信
1 返信

619件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @AmberLin 

 

So, how about do not use linked mode,  how add trigger ADC on callback function?

 

BR

Alice

0 件の賞賛
返信