AnsweredAssumed Answered

"automatic" DMA re-start after major loop completion (major loop linking on itself)

Question asked by felix B. on Aug 18, 2017
Latest reply on Sep 11, 2017 by felix B.

Hi All,

I use a FRDM-K64F board with kinetis SDK 2.2. I would like to fill continuously a circular 16 Bytes buffer with ADC data with a first DMA process. I used a second DMA channel triggered by the minor loop of the first DMA in order to change the ADC multiplexer setting after each ADC conversion.

As I need a continuous data acquisition, I linked my first DMA channel (major loop) to itself. After major loop completion, the DMA engine reload the settings, but don’t start by himself. I need to issue a EDMA_StartTransfer command (in the interrupt routine) to restart the first DMA.

My question is : Is that possible to set the DMA engine so that the first DMA re-start automatically, (i.e. without issuing the EDMA_StartTransfer command in the interrupt routine)

Thanks for you answer