AnsweredAssumed Answered

[MK10fxxx - Processor expert] ADC_LDD + DMAChannel_LDD

Question asked by LOIC R on Jun 23, 2017
Latest reply on Jul 3, 2017 by Alice_Yang

Hi everybody

 

I try to implement ADC with DMA with processor expert.

 

I would measure analog input X Time.

 

I initialize an array of int (int buff[X])

 

I would like to take X measures and DMA store these in buff (one short).

 

today, I find how store 1 measure on the buff[0] only

 

I use in order

While

{

setBuffer(Bandler, buff, X)

setLoopMeasure

vTaskDelay

if (flag = 1) // event DMA finish

   //conversion finish

   // Seve Buffet

)

have you an exemple please?

 

vest regards

Outcomes