MC9S12XDP512-ADC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,249件の閲覧回数
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 解決策
1,368件の閲覧回数
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 返答(返信)
1,368件の閲覧回数
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 件の賞賛
返信
1,368件の閲覧回数
admin
Specialist II

Hello,

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

0 件の賞賛
返信
1,369件の閲覧回数
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 件の賞賛
返信