MC9S12XDP512-ADC

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

MC9S12XDP512-ADC

跳至解决方案
1,357 次查看
admin
Specialist II

Hello there,

   I want to program my Controller for analog to digital conversion. The controller I am using has a background  mode feature so I do not need to use polling in my program. What I want to ask is I want to input a value and see the output as a voltage level on the calibrator.. This is possible but how should I go with the program? Can anyone help me with the program step wise? I shall be greatful to get the response as soon as possible..

 

Manasa

标签 (1)
标记 (1)
0 项奖励
1 解答
476 次查看
J2MEJediMaster
Specialist I

It is understood that you have to write the code. But it will save you time and accelerate your inderstanding of how to program the device's registers by looking at working code. That's why there are some many example programs available, to help developers get a handle on how to program the parts.

 

---Tom

在原帖中查看解决方案

0 项奖励
3 回复数
476 次查看
CrasyCat
Specialist III

Hello

 

Did you consider creating a project with Processor Expert enabled and adding an ADC bean in there.

 

After you configure your ADC bean according to your need, this should generate some code showing how to program the ADC device.

 

CrasyCat

0 项奖励
476 次查看
admin
Specialist II

Hello,

no no, i am supposed to write a code...

0 项奖励
477 次查看
J2MEJediMaster
Specialist I

It is understood that you have to write the code. But it will save you time and accelerate your inderstanding of how to program the device's registers by looking at working code. That's why there are some many example programs available, to help developers get a handle on how to program the parts.

 

---Tom

0 项奖励