AnsweredAssumed Answered

KL03 ADC Issue - the ADC 12 bit value only have 5 bit  work , it means 0V (ADC value 0xfe1) , 3V (ADC Value 0xfff) , Which parameter I need to modify ?

Question asked by Tiger Lo on Apr 10, 2017
Latest reply on Apr 11, 2017 by Tiger Lo

KL03 ADC Issue - the ADC 12 bit value only have 5 bit  work , it means 0V (ADC value 0xfe1) , 3V (ADC Value 0xfff) , Which parameter I need to modify ?

 

Dear sir,

  KL03 ADC Issue - the ADC 12 bit value seem only 5 bit can work , it means 0V (ADC value 0xfe1) , 3V (ADC Value 0xfff) , Which parameter I need to modify ?

 

  The attach file is ADC16 example.

  1. Use uV5.21.1.0 , KL03 standard development board

  2. ADC input pin use KL03 PTA12/ADC0_SE0 , input voltage 0 ~ 3V.

  3. When ADC input 0V the ADC  will translate the value to 0xFE1 , why it is not 0 ?

  4. When ADC input 3V the ADC  will translate the value to 0xFFF , this is OK.

 

Where & How can I modify the code as attach file that can use total 12 bit resolution.

Original Attachment has been moved to: adc16.zip

Outcomes