Hello Marco,
Thank you very much for sharing this !
It looks that you haven't use Processor Expert to generate the code for ADC using DMA, is that right ?
I have investigated into the components of Processor Expert for KDS and it makes me confusing about the use of it...
First, there are Init_ADC and fsl_adc components for the ADC. One should use fsl_adc to get the code for callback and trigger mode.
But fsl_adc is too simple to init properly the ADC... Init_ADC is suitable for this, but it is not possible to join Init_ADC and fsl_adc together (they share the same peripheral and an issue is generated by PE).
It is like the Processor Expert version for KDS is not finished yet. PE for CodeWarrior is much more advanced... It is possible to set all the parameters in LDD_ADC.
Anyway, I have to go on with my project using KDS and I will write "by hands" the necessary code for the ADC transfert involving DMA.
It is a pity to spend time for this ! And there is no code example for that, and no documentation too...
Thanks again Marco.
Maurice