ADC configuration and result of conversion

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

ADC configuration and result of conversion

715 次查看
rodrigocorrêa
Contributor II

I'm working on a project that basically consists in making the energy measurement using the MCU MCF51EM256. So I need to set up at least two channels of ADC and have access to the results of measurements to make calculations of energy and power.

 

 

Someone could teach me how to make this setting the ADCs and how to access the values? I read the reference manual but realize that it lacks examples for my purpose.

 

 

Can someone help me?

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

541 次查看
miduo
NXP Employee
NXP Employee

Attached is an old sample code for ADC, the DEMOEM software includes an ADC16 driver with calibration functions. It was based on CW6.3, quite old but the sample itself is a good reference.

0 项奖励
回复