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
Solved! Go to Solution.
Hi
If you are using FRDM-KL03Z board, please pay attention to the R26.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
If you are using FRDM-KL03Z board, please pay attention to the R26.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for help, I remove R26, The ADC read value is correct.