FRDM-KL27 ADC DEMO

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FRDM-KL27 ADC DEMO

1,497 次查看
profitt
Contributor I

I am using the frdm-kl27z with adc16 interrupt driver demo to test ADC.
In the debug serial output, when I hold any key, the sample value increased slowly and at last reached 4095.
I changed the sample channel to temp sensor got the same result.
What is the problem in my test. THANKS!

1 回复

1,366 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Mel,

I suppose that you do not connect the ADC ananlog pin to a GND or VDD or a divider, you have the ADC analog pin float, which leads to the ADC sample indeterminate.

Pls connect the analog ADC pin to GND or VDD or to a divider, have a try.

If you still have issue, pls post your code so that we have a review.

Hope it can help you

BR

Xiangjun Rong