P Manasa

ADC count issue for XS128 controller

Discussion created by P Manasa on Apr 15, 2011
Latest reply on Apr 15, 2011 by kef

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.