ADC with multi-channel works and DMA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ADC with multi-channel works and DMA

跳至解决方案
1,258 次查看
hanchengyang
Contributor II

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

标签 (1)
1 解答
1,027 次查看
DavidS
NXP Employee
NXP Employee

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

在原帖中查看解决方案

4 回复数
1,027 次查看
hanchengyang
Contributor II

I forgot to mention that I am using KDS 3.0.1 with PEx.

0 项奖励
1,028 次查看
DavidS
NXP Employee
NXP Employee

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

1,026 次查看
hanchengyang
Contributor II

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

0 项奖励
1,026 次查看
DavidS
NXP Employee
NXP Employee

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

0 项奖励