[SDK 2.0]ADC demo with DMA support

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

[SDK 2.0]ADC demo with DMA support

[SDK 2.0]ADC demo with DMA support

This demo is based on adc12_polling example , and so far I just tested it with FRDM-KE15Z, so please download SDK_2.0_FRDM-KE15Z.zip from Welcome to MCUXpresso | MCUXpresso Config Tools before you try that demo.

 

After opening the project, you have to import edma and dmamux driver code as below:

179538_179538.pngpastedImage_2.png

then you may replace adc12_polling.c with the attached one.

 

compiling and run, you may see the console output ADC results like this.

179539_179539.pngpastedImage_3.png

 

Hope that helps,

-Kan

Original Attachment has been moved to: adc12_polling.c.zip

无评分
版本历史
最后更新:
‎03-17-2017 01:02 AM
更新人: