ADC with multi-channel works and DMA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ADC with multi-channel works and DMA

ソリューションへジャンプ
1,257件の閲覧回数
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,026件の閲覧回数
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,026件の閲覧回数
hanchengyang
Contributor II

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

0 件の賞賛
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

1,025件の閲覧回数
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,025件の閲覧回数
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 件の賞賛