Is there a lib for using ADC for MKW2x ?

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a lib for using ADC for MKW2x ?

214 Views
HG
Contributor I

Hi all,

I need to use the analog to digital converter (ADC) for MKW21D256.

I didn't find the library platform (ADC_Interface.h) using beekit 3.0.2 for Kinetis...

Where can i find this library for MKW21D256 platform ?

And if it does not exist, how i should use ADC easly in C ? (are there examples ?)

Best regards

Tags (2)
0 Kudos
1 Reply

67 Views
AngelC
Senior Contributor I

Dear Herve,

You could download the Kinetis SDK for K21 and KW2x devices. There you will find some examples of ADC module usage.

Link: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K21D50M&fpsp=1&tab=Design_Tools_T...

Please notice you may use these functions as reference only. One thing you could do is to manually migrate the functions to the KW2x project and re-name any typedefs, variables or definitions as expected by the KW2x project.

Regards,

AngelC

0 Kudos