[SDK 2.0]ADC demo with DMA support

cancel
Showing results for 
Search instead for 
Did you mean: 

[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

Version history
Revision #:
1 of 1
Last update:
‎03-17-2017 01:02 AM
Updated by: