[SDK 2.0]ADC demo with DMA support

Document created by Kan_Li Employee on Mar 17, 2017
Version 1Show Document
  • View in full screen mode

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:

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

 

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

 

Hope that helps,

-Kan

1 person found this helpful

Attachments

Outcomes