AnsweredAssumed Answered

command for ADC in DMA

Question asked by Massimiliano Cialdi on Nov 9, 2015
Latest reply on Nov 11, 2015 by jeremyzhou

hallo,

 

I use Kinetis K64, and I need to send command to ADC by DMA.

I found some app note and quick guide that explain how to do:

 

adc-dma.png

 

If the command buffer is in RAM, it seems that DMA can access it and correctly transfer those commands in ADCx_SC1A.

 

Instead, if that buffer is in flash (ie. const declaration) it doesn't works:

adc-dma-flash.png

 

I cannot figure out why.

 

any suggestion?

 

best regards

Max

Outcomes