MC9S12XDP512-ADC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC9S12XDP512-ADC

Jump to solution
1,329 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Solution
448 Views
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

View solution in original post

0 Kudos
3 Replies
448 Views
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 Kudos
448 Views
admin
Specialist II

Hello,

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

0 Kudos
449 Views
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 Kudos