Is there a lib for using ADC for MKW2x ?

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

Is there a lib for using ADC for MKW2x ?

792 次查看
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

标记 (2)
0 项奖励
回复
1 回复

645 次查看
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 项奖励
回复