Hello everyone,
I am working on a project which needs take care of many analog inputs, now I am using the the stupid method : configure to channel X -> wait for interrupt -> change to next channel ...
Is there any example that ADC refreshes certain array frequently without interrupting CPU ??
Best regards,
YANG Hancheng
Solved! Go to Solution.
Hi YANG Hancheng,
We don not have specific example for your environment but there is good appnote that goes over using DMA for reading many ADC channel's.
http://cache.freescale.com/files/32bit/doc/app_note/AN4590.pdf
Regards,
David
I forgot to mention that I am using KDS 3.0.1 with PEx.
Hi YANG Hancheng,
We don not have specific example for your environment but there is good appnote that goes over using DMA for reading many ADC channel's.
http://cache.freescale.com/files/32bit/doc/app_note/AN4590.pdf
Regards,
David
Thanks a lot, I have just successfully configured DMA in ProcessorExpert for 12 channels continuous sampling with the help of your application note. Maybe I will wrote a guide for others.
Regards,
Hancheng
Hi Hancheng,
Congratulations on your efforts!
If you have time to document (and/or share) I am sure others would appreciate and learn from it.
Regards,
David