FRDM-KL27 ADC DEMO

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

FRDM-KL27 ADC DEMO

1,485 Views
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 Reply

1,354 Views
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