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 only
I use in order
setBuffer(Bandler, buff, X)
if (flag = 1) // event DMA finish
// Seve Buffet
have you an exemple please?