Can I insert a callback function between DMA descriptor

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

Can I insert a callback function between DMA descriptor

250 Views
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.

Labels (1)
0 Kudos
1 Reply

232 Views
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 Kudos