AnsweredAssumed Answered

What is the most efficient way to perform bulk DMA transfers from the ADC on the K64?

Question asked by Alistair Lowe on Dec 17, 2015
Latest reply on Dec 18, 2015 by Alistair Lowe

Hi guys,


I'm wishing to sample audio at 20KHz on a single 16-bit ADC channel. I would like to gather, in RAM, 64 to 128 samples (128B to 256B) before raising an interrupt from the DMA to trigger an FFT. What's the most efficient/effective way (energy and least CPU interruption) to configure the DMA to achieve this?


i.e. Is this a 128 minor loop iteration or 2 minor and 64 major loops scenario etc?


Many thanks