Hi Giovanni Grondona,
Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
The ADC is an exception, it use a trigger instead of a DMA request, so that's reason of choosing the kDMA_MemoryToMemory instead of kDMA_PeripheralToMemory.
However I'd like to say that demo is not strict, as you mentioned, the address of destination should keep same.
The demo is used to illustrate the ADC work with the DMA, meanwhile in the code, the initialization of the DMA would be done again and again after DMA transfer completes in the while loop, and according to testing result, this drawback is tolerable and it doesn't bring some huge errors either.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------