ADC count issue for XS128 controller

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

ADC count issue for XS128 controller

542 Views
vishaka_maithil
Contributor I

Dear friends,

 

I am using mc9s12xs128 controller (16-bit)  and the crystal is  at 16Mhz .I have an analog input for which i'm monitoring  ADC count. Here, i clocked ADC for 2Mhz . The problem is I cannot observe the count value properly as it varies too much. My count should be a stable one as I'm generating a CAN message with  this count  value. If such fluctuations happen, my CAN message will aslo vary leading to the publishing of error messages. Any one who can help me out with this issue?

 

Thankyou in advance. 

Labels (1)
0 Kudos
1 Reply

380 Views
kef
Specialist I
0 Kudos